public interface TraceAnalyzer
TraceAnalyzer
object represents a tracing analyzer
used to monitor events on a socket. Its primary responsibilities
are to create Trace
objects that are attached to a
specific socket channel. When any event occurs on that channel the
trace is notified and can forward the details on for analysis.
An analyzer implementation must make sure that it does not affect the performance of the server. If there are delays creating a trace or within the trace itself it will have an impact on performance.
Trace
Modifier and Type | Method and Description |
---|---|
Trace |
attach(SelectableChannel channel)
This method is used to attach a trace to the specified channel.
|
void |
stop()
This is used to stop the agent and clear all trace information.
|
Trace attach(SelectableChannel channel)
channel
- this is the channel to associate with the tracevoid stop()
Copyright © 2021. All rights reserved.