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.IOExceptionvoid onResume(ClientContext context) throws ResumeFailedException
ResumeFailedExceptionvoid storeTo(java.io.DataOutputStream dos)
throws java.io.IOException
java.io.IOExceptionboolean equals(java.lang.Object o)
equals in class java.lang.Objectint hashCode()
hashCode in class java.lang.Object