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