| Package | Description |
|---|---|
| gr.uoa.di.madgik.commons.state.store.data | |
| gr.uoa.di.madgik.commons.state.store.registry |
| Modifier and Type | Method and Description |
|---|---|
String |
StateStoreData.GetAlphanumeric(StateStoreRegistryKey Key)
Retrieves the actual payload referenced by the provided metadata entry and returns it
as the expected type.
|
byte[] |
StateStoreData.GetByteArray(StateStoreRegistryKey Key)
Retrieves the actual payload referenced by the provided metadata entry and returns it
as the expected type.
|
File |
StateStoreData.GetFile(StateStoreRegistryKey Key)
Retrieves the actual payload referenced by the provided metadata entry and returns it
as the expected type.
|
ISerializable |
StateStoreData.GetISerializable(StateStoreRegistryKey Key)
Retrieves the actual payload referenced by the provided metadata entry and returns it
as the expected type.
|
Serializable |
StateStoreData.GetSerializable(StateStoreRegistryKey Key)
Retrieves the actual payload referenced by the provided metadata entry and returns it
as the expected type.
|
void |
StateStoreData.Put(StateStoreRegistryKey Key,
byte[] bytearray)
Appends the provided payload to the repository data file.
|
void |
StateStoreData.Put(StateStoreRegistryKey Key,
File file)
Appends the provided payload to the repository data file.
|
void |
StateStoreData.Put(StateStoreRegistryKey Key,
ISerializable obj)
Appends the provided payload to the repository data file.
|
void |
StateStoreData.Put(StateStoreRegistryKey Key,
Serializable obj)
Appends the provided payload to the repository data file.
|
void |
StateStoreData.Put(StateStoreRegistryKey Key,
String Alphanumeric)
Appends the provided payload to the repository data file.
|
| Modifier and Type | Method and Description |
|---|---|
File |
StateStoreData.MoveToClean(Map<String,StateStoreRegistryKey> registry)
In case of deletes and updates in the registry and data file, there will be data kept in the file that
are no longer needed but simply remain increrasing the size of the repository files.
|
| Modifier and Type | Method and Description |
|---|---|
StateStoreRegistryKey |
StateStoreRegistry.Get(String Key)
Retrieves the
StateStoreRegistryKey that is associated with the provided key from the
in memory data structure if the key is found in the structure. |
| Modifier and Type | Method and Description |
|---|---|
Map<String,StateStoreRegistryKey> |
StateStoreRegistry.GetDictionary()
Retrieved the dictionary data structure used to store the
StateStoreRegistryKey entries |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
StateStoreRegistry.Put(StateStoreRegistryKey Key,
StateStoreInfo info)
Adds a
StateStoreRegistryKey in the internal data structure. |
void |
StateStoreRegistry.StoreUpdate(StateStoreInfo info,
StateStoreRegistryKey entry,
boolean update)
This method stores a new record, or updates an existing one in the state store registry repository file.
|
Copyright © 2018. All Rights Reserved.