public class RAFByteBufferStorage extends Object implements IByteBufferStorage
IByteBufferStorage implementation that is based on RandomAccessFile| Constructor and Description |
|---|
RAFByteBufferStorage(String fileName) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clears the storage, all writer and readers are obsolete and should be reconstructed after
this call
|
void |
close()
Close the storage, after this call the storage is no longer useable
|
IByteBufferStorageCursor |
getCursor() |
File |
getFile() |
String |
getName() |
public RAFByteBufferStorage(String fileName) throws ByteBufferStorageException
ByteBufferStorageExceptionpublic void clear()
throws ByteBufferStorageException
IByteBufferStorageclear in interface IByteBufferStorageByteBufferStorageExceptionpublic void close()
IByteBufferStorageclose in interface IByteBufferStoragepublic File getFile()
public IByteBufferStorageCursor getCursor() throws ByteBufferStorageException
getCursor in interface IByteBufferStorageByteBufferStorageExceptionpublic String getName()
getName in interface IByteBufferStorageCopyright © GigaSpaces.