Package org.apache.spark.storage
Class CountingWritableChannel
Object
org.apache.spark.storage.CountingWritableChannel
- All Implemented Interfaces:
Closeable,AutoCloseable,Channel,WritableByteChannel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()longgetCount()booleanisOpen()intwrite(ByteBuffer src)
-
Constructor Details
-
CountingWritableChannel
-
-
Method Details
-
close
public void close() -
getCount
public long getCount() -
isOpen
public boolean isOpen() -
write
- Specified by:
writein interfaceWritableByteChannel
-