Package org.glassfish.jersey.simple
Class SimpleTraceAnalyzer
java.lang.Object
org.glassfish.jersey.simple.SimpleTraceAnalyzer
- All Implemented Interfaces:
org.simpleframework.transport.trace.TraceAnalyzer
public class SimpleTraceAnalyzer
extends Object
implements org.simpleframework.transport.trace.TraceAnalyzer
Tracing at a very low level can be performed with a
TraceAnalyzer
. This provides much
more useful information than the conventional LoggingFilter
in that it provides details
at a very low level. This is very useful when monitoring performance interactions at the TCP
level between clients and servers.
Performance overhead for the server is minimal as events are pumped out in batches. The amount of
logging information will increase quite significantly though.- Author:
- Niall Gallagher
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.simpleframework.transport.trace.Trace
attach
(SelectableChannel channel) boolean
isActive()
void
start()
Begin logging trace events to the underlying logger.void
stop()
-
Constructor Details
-
SimpleTraceAnalyzer
public SimpleTraceAnalyzer()Creates an asynchronous trace event logger.
-
-
Method Details
-
isActive
public boolean isActive() -
attach
- Specified by:
attach
in interfaceorg.simpleframework.transport.trace.TraceAnalyzer
-
start
public void start()Begin logging trace events to the underlying logger. -
stop
public void stop()- Specified by:
stop
in interfaceorg.simpleframework.transport.trace.TraceAnalyzer
-