@Service(name="requesttracing-service") @RunLevel(value=10) public class RequestTracingService extends Object implements EventListener, org.jvnet.hk2.config.ConfigListener
EventListener.Event<T>| Constructor and Description |
|---|
RequestTracingService() |
| Modifier and Type | Method and Description |
|---|---|
void |
bootstrapNotifierList() |
void |
bootstrapRequestTracingService() |
org.jvnet.hk2.config.UnprocessedChangeEvents |
changed(PropertyChangeEvent[] events) |
void |
endTrace() |
void |
event(EventListener.Event event) |
UUID |
getConversationID()
Retrieves the current Conversation ID
|
RequestTracingExecutionOptions |
getExecutionOptions() |
Long |
getThresholdValueInNanos() |
boolean |
isRequestTracingEnabled() |
boolean |
isTraceInProgress() |
void |
setConversationID(UUID newID)
Reset the conversation ID
This is especially useful for trace propagation across threads when
the event tracer can receive the conversation ID propagated to it
|
UUID |
startTrace() |
void |
traceRequestEvent(RequestEvent requestEvent) |
public void event(EventListener.Event event)
event in interface EventListenerpublic void bootstrapRequestTracingService()
public void bootstrapNotifierList()
public UUID getConversationID()
public void setConversationID(UUID newID)
newID - public boolean isTraceInProgress()
public UUID startTrace()
public void traceRequestEvent(RequestEvent requestEvent)
public void endTrace()
public Long getThresholdValueInNanos()
public boolean isRequestTracingEnabled()
public RequestTracingExecutionOptions getExecutionOptions()
public org.jvnet.hk2.config.UnprocessedChangeEvents changed(PropertyChangeEvent[] events)
changed in interface org.jvnet.hk2.config.ConfigListenerCopyright © 2017. All rights reserved.