public interface Escape
ByteBuffers (often externally).| Modifier and Type | Method and Description |
|---|---|
void |
commit(long handle)
The previous blocks saved by
save(long, java.lang.String, java.lang.String, java.nio.ByteBuffer) method should be commited. |
void |
drop(long handle)
The previous blocks saved by
save(long, java.lang.String, java.lang.String, java.nio.ByteBuffer) method should be forgotten. |
long |
save(long handle,
ByteBuffer buf)
Save the consequent buffer related to a stream of the key.
|
long |
save(long id,
String key,
String contentType,
ByteBuffer buf)
Save the very first buffer related to a stream of the key.
|
void |
shutdown()
Closes (shuts down) this interface.
|
long save(long id,
String key,
String contentType,
ByteBuffer buf)
throws IOException
IOExceptionlong save(long handle,
ByteBuffer buf)
throws IOException
IOExceptionvoid drop(long handle) throws IOException
save(long, java.lang.String, java.lang.String, java.nio.ByteBuffer) method should be forgotten.IOExceptionvoid commit(long handle)
throws IOException
save(long, java.lang.String, java.lang.String, java.nio.ByteBuffer) method should be commited.IOExceptionvoid shutdown()
Copyright © 2016 Egothor. All Rights Reserved.