Interface IByteBufferStorage
- All Known Implementing Classes:
RAFByteBufferStorage
public interface IByteBufferStorage
Provide an endless byte buffer like storage, which support single writer or multi readers
concurrently interacting with it
- Since:
- 7.1
- Author:
- eitany
-
Method Summary
-
Method Details
-
getCursor
- Returns:
- a cursor over the storage, which is used to read and write data from and into the storage This does not guarantee thread safety and should be used by a single thread at anytime
- Throws:
ByteBufferStorageException
-
clear
Clears the storage, all writer and readers are obsolete and should be reconstructed after this call- Throws:
ByteBufferStorageException
-
close
void close()Close the storage, after this call the storage is no longer useable -
getName
String getName()- Returns:
- the storage name (i.e file name)
-