Interface Trace
-
public interface Trace
TheTrace
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.- Author:
- Niall Gallagher
- See Also:
TraceAnalyzer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
trace(java.lang.Object event)
This method is used to accept an event that occurred on the socket associated with this trace.void
trace(java.lang.Object event, java.lang.Object value)
This method is used to accept an event that occurred on the socket associated with this trace.
-
-
-
Method Detail
-
trace
void trace(java.lang.Object event)
This method is used to accept an event that occurred on the socket associated with this trace. Typically the event is a symbolic description of the event such as an enum or a string.- Parameters:
event
- this is the event that occurred on the socket
-
trace
void trace(java.lang.Object event, java.lang.Object value)
This method is used to accept an event that occurred on the socket associated with this trace. Typically the event is a symbolic description of the event such as an enum or a string.- Parameters:
event
- this is the event that occurred on the socketvalue
- provides additional information such as an exception
-
-