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
ByteBufferStorageException
public void clear() throws ByteBufferStorageException
IByteBufferStorage
clear
in interface IByteBufferStorage
ByteBufferStorageException
public void close()
IByteBufferStorage
close
in interface IByteBufferStorage
public File getFile()
public IByteBufferStorageCursor getCursor() throws ByteBufferStorageException
getCursor
in interface IByteBufferStorage
ByteBufferStorageException
public String getName()
getName
in interface IByteBufferStorage
Copyright © GigaSpaces.