|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use StoreClosedException | |
---|---|
org.magnos.data | |
org.magnos.data.store |
Uses of StoreClosedException in org.magnos.data |
---|
Methods in org.magnos.data that throw StoreClosedException | |
---|---|
int |
Store.capacity(int newCapacity)
Sets the stores size or capacity in bytes. |
void |
Store.flush()
Explicitly writes the data to the store. |
void |
Store.get(int location,
byte[] bytes)
Reads an array of bytes from the store at the given location. |
void |
Store.get(int location,
byte[] bytes,
int offset,
int length)
Reads from the store and puts it in a section in the array of bytes. |
void |
Store.get(int location,
java.nio.ByteBuffer buffer)
Reads a ByteBuffer to the store at the given location. |
byte[] |
Store.get(int location,
int size)
Returns an array of bytes read from the store at the given location. |
void |
Store.load()
Explicitly loads the data from the store into memory. |
void |
Store.put(int location,
byte[] bytes)
Writes the array of bytes to the store at the given location. |
void |
Store.put(int location,
byte[] bytes,
int offset,
int length)
Writes a section in the array of bytes to the store at the given location. |
void |
Store.put(int location,
java.nio.ByteBuffer buffer)
Writes a ByteBuffer to the store at the given location. |
Uses of StoreClosedException in org.magnos.data.store |
---|
Methods in org.magnos.data.store that throw StoreClosedException | |
---|---|
protected void |
AbstractStore.validate()
Validates an action by checking if the store is closed. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |