public interface LockableRandomAccessBuffer extends RandomAccessBuffer
Modifier and Type | Interface and Description |
---|---|
static class |
LockableRandomAccessBuffer.RAFLock |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o)
Must reimplement equals().
|
int |
hashCode()
Must reimplement hashCode() if we change equals().
|
LockableRandomAccessBuffer.RAFLock |
lockOpen()
Keep the RAF open.
|
void |
onResume(ClientContext context)
Called on resuming, i.e.
|
void |
storeTo(java.io.DataOutputStream dos)
Write enough data to reconstruct the Bucket, or throw UnsupportedOperationException.
|
LockableRandomAccessBuffer.RAFLock lockOpen() throws java.io.IOException
java.io.IOException
void onResume(ClientContext context) throws ResumeFailedException
ResumeFailedException
void storeTo(java.io.DataOutputStream dos) throws java.io.IOException
java.io.IOException
boolean equals(java.lang.Object o)
equals
in class java.lang.Object
int hashCode()
hashCode
in class java.lang.Object