public class SimpleTraceAnalyzer extends Object implements org.simpleframework.transport.trace.TraceAnalyzer
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.Constructor and Description |
---|
SimpleTraceAnalyzer()
Creates an asynchronous trace event logger.
|
Modifier and Type | Method and Description |
---|---|
org.simpleframework.transport.trace.Trace |
attach(SelectableChannel channel) |
boolean |
isActive() |
void |
start()
Begin logging trace events to the underlying logger.
|
void |
stop() |
public SimpleTraceAnalyzer()
public boolean isActive()
public org.simpleframework.transport.trace.Trace attach(SelectableChannel channel)
attach
in interface org.simpleframework.transport.trace.TraceAnalyzer
public void start()
public void stop()
stop
in interface org.simpleframework.transport.trace.TraceAnalyzer
Copyright © 2007-2021, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.