| Auszug |
|---|
|
Nuclos client info server: NuclosClientThreadContextHolder, stack trace, DEV mode, round trip, SQL, 3.14, analysis. |
Language: Deutsch · English
Analyze client call sites on the server – DEV mode and NuclosClientThreadContextHolder.
| Status |
|---|
| colour | Green |
|---|
| title | Updated: Jul 2026 |
|---|
|
| Status |
|---|
| colour | Grey |
|---|
| title | applies to Nuclos 4.2026.x |
|---|
|
| Hinweis |
|---|
|
Intended purely for testing, e.g. to analyze unnecessary round trips and SQL queries. |
From version 3.14, the client's call sites can be processed on the server. The client must be started in DEV mode; then its thread stack trace is sent to the server.
| Codeblock |
|---|
|
try {
NuclosClientThreadContextHolder holder = SpringApplicationContextHolder.getBean(NuclosClientThreadContextHolder.class);
if(holder.isSupported()) {
LOG.info(holder.getNuclosStackTraceElement().toString());
}
} catch(Exception e) {
// handle Exception here
} |
NuclosClientThreadContextHolder.getNuclosStackTraceElement() returns all elements with nuclos in the package name.
Related pages