public interface Trace
Trace
interface represents an trace log for various
connection events. A trace is not limited to low level I/O events
it can also gather event data that relates to protocol specific
events. Using a trace in this manner enables problems to be solved
with connections as they arise.
When implementing a Trace
there should be special
attention paid to its affect on the performance of the server. The
trace is used deep within the core and any delays experienced in
the trace will be reflected in the performance of the server.
TraceAnalyzer
Modifier and Type | Method and Description |
---|---|
void |
trace(Object event)
This method is used to accept an event that occurred on the socket
associated with this trace.
|
void |
trace(Object event,
Object value)
This method is used to accept an event that occurred on the socket
associated with this trace.
|
void trace(Object event)
event
- this is the event that occurred on the socketvoid trace(Object event, Object value)
event
- this is the event that occurred on the socketvalue
- provides additional information such as an exceptionCopyright © 2017. All rights reserved.