Package com.priint.pubserver.tracing
Class Tracer
java.lang.Object
com.priint.pubserver.tracing.Tracer
Deprecated, for removal: This API element is subject to removal in a future version.
Tracer for writing trace messages into a persistent data store.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDeprecated, for removal: This API element is subject to removal in a future version. -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Create a Tracer object.Deprecated, for removal: This API element is subject to removal in a future version.Create a Tracer object. -
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated, for removal: This API element is subject to removal in a future version.voidDeprecated, for removal: This API element is subject to removal in a future version.voidDeprecated, for removal: This API element is subject to removal in a future version.booleanDeprecated, for removal: This API element is subject to removal in a future version.booleanisTraceModeActive(String sessionId) Deprecated, for removal: This API element is subject to removal in a future version.voidDeprecated, for removal: This API element is subject to removal in a future version.voidDeprecated, for removal: This API element is subject to removal in a future version.voidDeprecated, for removal: This API element is subject to removal in a future version.
-
Field Details
-
SESSION_TRACE_ACTIVE_PROPERTY
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
-
Constructor Details
-
Tracer
Deprecated, for removal: This API element is subject to removal in a future version.Create a Tracer object.- Parameters:
clazz- Class that calls the Tracer
-
Tracer
Deprecated, for removal: This API element is subject to removal in a future version.Create a Tracer object.- Parameters:
clazz- Class that calls the Tracersource- Source of Tracer (like plug-in name and / or method name)
-
-
Method Details
-
info
@Deprecated(since="4.6.0", forRemoval=true) public void info(String source, String hint, String message, Object... argArray) Deprecated, for removal: This API element is subject to removal in a future version.Write an INFO trace message for a session. Analogous to a call to logger.info().For information on the arguments see
TracerMessage.- Parameters:
source-hint-message-argArray-
-
error
@Deprecated(since="4.6.0", forRemoval=true) public void error(String source, String hint, String message, Object... argArray) Deprecated, for removal: This API element is subject to removal in a future version.Write an ERROR trace message for a session. Analogous to a call to logger.error().For information on the arguments see
TracerMessage.- Parameters:
source-hint-message-argArray-
-
warning
@Deprecated(since="4.6.0", forRemoval=true) public void warning(String source, String hint, String message, Object... argArray) Deprecated, for removal: This API element is subject to removal in a future version.Write an WARNING trace message for a session. Analogous to a call to logger.warn().For information on the arguments see
TracerMessage.- Parameters:
source-hint-message-argArray-
-
isTraceModeActive
Deprecated, for removal: This API element is subject to removal in a future version.Returns true if trace mode is active for the current session.- Returns:
- true is tracing is on
-
isTraceModeActive
Deprecated, for removal: This API element is subject to removal in a future version.Is trace mode for session active- Parameters:
sessionId-- Returns:
- true if tracing is active
-
apiCall
@Deprecated(since="4.6.0", forRemoval=true) public void apiCall(String source, String hint, String message, Object... values) Deprecated, for removal: This API element is subject to removal in a future version.Write an APICALL trace message to trace method calling (e.g. rest calls).- Parameters:
source- code source generating this eventhint- optional text describing measures to be taken, when this event occursmessage- executed commandvalues- array of parameter values as array of Object (optional)
-
methodCall
@Deprecated(since="4.6.0", forRemoval=true) public void methodCall(String source, String hint, Class<?> methodClass, String methodName, Object... values) Deprecated, for removal: This API element is subject to removal in a future version.Write an INFO trace message to trace method calling.- Parameters:
source- code source generating this eventhint- optional text describing measures to be taken, when this event occursmethodClass- Class containing a method to executemethodName- name of the method (without bracket and parameters)values- array of parameter values as array of Object
-
methodResult
@Deprecated(since="4.6.0", forRemoval=true) public void methodResult(String source, String hint, Object result, Class<?> methodClass, String methodName) Deprecated, for removal: This API element is subject to removal in a future version.Write an INFO trace message with method result.- Parameters:
source- code source generating this eventhint- optional text describing measures to be taken, when this event occursresult- result of the method to tracemethodClass- Class containing a method to executemethodName- name of the method (without bracket and parameters)
-