public interface IOMonitoringContext
IOChannelStatsCollector
Modifier and Type | Method and Description |
---|---|
FileChannel |
monitorChannel(FileChannel ch,
String label)
Instruments an existing file channel with monitoring.
|
InputStream |
monitorInput(InputStream in,
String label)
Instruments an existing input stream with monitoring.
|
OutputStream |
monitorOutput(OutputStream out,
String label)
Instruments an existing input stream with monitoring.
|
IOChannelStatsCollector |
newCollector(String interfaceName,
IOChannelOperation op)
Creates a new I/O statistics collector with the specified attributes.
|
IOChannelStatsCollector newCollector(String interfaceName, IOChannelOperation op)
interfaceName
- label used to identify statisticsop
- I/O operation being monitored (reading, writing, etc.)InputStream monitorInput(InputStream in, String label)
in
- the input stream to monitorlabel
- the interface name to associate with the streamOutputStream monitorOutput(OutputStream out, String label)
out
- the output stream to monitorlabel
- the interface name to associate with the streamFileChannel monitorChannel(FileChannel ch, String label)
ch
- the channel to monitorlabel
- the interface name to associate with the channelCopyright © 2016 Actian Corporation. All rights reserved.