public interface Escape
ByteBuffer
s (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
IOException
long save(long handle, ByteBuffer buf) throws IOException
IOException
void drop(long handle) throws IOException
save(long, java.lang.String, java.lang.String, java.nio.ByteBuffer)
method should be forgotten.IOException
void commit(long handle) throws IOException
save(long, java.lang.String, java.lang.String, java.nio.ByteBuffer)
method should be commited.IOException
void shutdown()
Copyright © 2016 Egothor. All Rights Reserved.