Package org.apache.storm.daemon.nimbus
Class TimedWritableByteChannel
java.lang.Object
org.apache.storm.metric.timed.Timed<T>
org.apache.storm.metric.timed.TimedResource<WritableByteChannel>
org.apache.storm.daemon.nimbus.TimedWritableByteChannel
- All Implemented Interfaces:
- Closeable,- AutoCloseable,- Channel,- WritableByteChannel,- TimerDecorated
public class TimedWritableByteChannel
extends TimedResource<WritableByteChannel>
implements WritableByteChannel
- 
Constructor SummaryConstructorsConstructorDescriptionTimedWritableByteChannel(WritableByteChannel measured, com.codahale.metrics.Timer timer) 
- 
Method SummaryMethods inherited from class org.apache.storm.metric.timed.TimedgetMeasured, stopTimingMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.storm.metric.timed.TimerDecoratedstopTiming
- 
Constructor Details- 
TimedWritableByteChannel
 
- 
- 
Method Details- 
write- Specified by:
- writein interface- WritableByteChannel
- Throws:
- IOException
 
- 
isOpenpublic boolean isOpen()
- 
close- Specified by:
- closein interface- AutoCloseable
- Specified by:
- closein interface- Channel
- Specified by:
- closein interface- Closeable
- Specified by:
- closein interface- TimerDecorated
- Overrides:
- closein class- TimedResource<WritableByteChannel>
- Throws:
- IOException
 
 
-