summaryrefslogtreecommitdiff
path: root/eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/api/storage/ITransactionStorage.java
diff options
context:
space:
mode:
Diffstat (limited to 'eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/api/storage/ITransactionStorage.java')
-rw-r--r--eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/api/storage/ITransactionStorage.java20
1 files changed, 10 insertions, 10 deletions
diff --git a/eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/api/storage/ITransactionStorage.java b/eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/api/storage/ITransactionStorage.java
index b8438a79..15215b3e 100644
--- a/eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/api/storage/ITransactionStorage.java
+++ b/eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/api/storage/ITransactionStorage.java
@@ -40,7 +40,7 @@ public interface ITransactionStorage {
* @param key Key, which identifies a data object
* @return true if key is found, otherwise false
*/
- public boolean containsKey(String key);
+ boolean containsKey(String key);
/**
* Store a data object with a key to transaction storage.
@@ -51,7 +51,7 @@ public interface ITransactionStorage {
* @param timeoutMs Defines the period of time a data object is kept within the storage
* @throws EaafStorageException In case of store operation failed
*/
- public void put(String key, Object value, int timeoutMs) throws EaafException;
+ void put(String key, Object value, int timeoutMs) throws EaafException;
/**
* Get a data object from transaction storage.
@@ -60,7 +60,7 @@ public interface ITransactionStorage {
* @return The transaction-data object, or null
* @throws EaafStorageException In case of load operation failed
*/
- public Object get(String key) throws EaafException;
+ Object get(String key) throws EaafException;
/**
* Get a data object from transaction storage.
@@ -70,7 +70,7 @@ public interface ITransactionStorage {
* @return The transaction-data object from type class, or null
* @throws EaafStorageException In case of load operation failed
*/
- public <T> T get(String key, final Class<T> clazz) throws EaafException;
+ <T> T get(String key, final Class<T> clazz) throws EaafException;
/**
* Get a data object from transaction storage.
@@ -81,7 +81,7 @@ public interface ITransactionStorage {
* @return The transaction-data object from type class, or null
* @throws EaafStorageException In case of load operation failed
*/
- public <T> T get(String key, final Class<T> clazz, long dataTimeOut) throws EaafException;
+ <T> T get(String key, final Class<T> clazz, long dataTimeOut) throws EaafException;
/**
@@ -92,14 +92,14 @@ public interface ITransactionStorage {
* @param value Data object which should be stored
* @throws EaafStorageException In case of store operation failed
*/
- public void changeKey(String oldKey, String newKey, Object value) throws EaafException;
+ void changeKey(String oldKey, String newKey, Object value) throws EaafException;
/**
* Remove a data object from transaction storage.
*
* @param key Id which identifiers the data object
*/
- public void remove(String key);
+ void remove(String key);
/**
* Get all entries for Clean-up the transaction storage.
@@ -108,7 +108,7 @@ public interface ITransactionStorage {
* @param dataTimeOut Data-object timeout in [ms]
* @return List of entry-keys which as a timeout
*/
- public List<String> clean(Date now, long dataTimeOut);
+ List<String> clean(Date now, long dataTimeOut);
/**
@@ -119,7 +119,7 @@ public interface ITransactionStorage {
* @throws EaafException In case of a storage error
*/
@Nullable
- public Object getRaw(String key) throws EaafException;
+ Object getRaw(String key) throws EaafException;
/**
@@ -129,7 +129,7 @@ public interface ITransactionStorage {
* @param element Object to store
* @throws EaafException In case of a storage error
*/
- public void putRaw(@Nonnull String key, @Nonnull Object element) throws EaafException;
+ void putRaw(@Nonnull String key, @Nonnull Object element) throws EaafException;
}