diff options
author | Christian Maierhofer <cmaierhofer@iaik.tugraz.at> | 2016-04-21 08:30:09 +0200 |
---|---|---|
committer | Christian Maierhofer <cmaierhofer@iaik.tugraz.at> | 2016-04-21 08:30:09 +0200 |
commit | fa7f69cffc2c9b8d89ecc63f2dce72fffe1b671a (patch) | |
tree | bc4e9011f0200194a2db97bc067557e5a4b7e4a3 /id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/storage/ITransactionStorage.java | |
parent | 3acbee93bd61ffba7b192282f534dc614d1cc280 (diff) | |
download | moa-id-spss-fa7f69cffc2c9b8d89ecc63f2dce72fffe1b671a.tar.gz moa-id-spss-fa7f69cffc2c9b8d89ecc63f2dce72fffe1b671a.tar.bz2 moa-id-spss-fa7f69cffc2c9b8d89ecc63f2dce72fffe1b671a.zip |
Added RedisTransaction storage
Diffstat (limited to 'id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/storage/ITransactionStorage.java')
-rw-r--r-- | id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/storage/ITransactionStorage.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/storage/ITransactionStorage.java b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/storage/ITransactionStorage.java index 493f24ee8..4651566fc 100644 --- a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/storage/ITransactionStorage.java +++ b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/storage/ITransactionStorage.java @@ -48,9 +48,10 @@ public interface ITransactionStorage { * @param key Id which identifiers the data object * @param value Data object which should be stored. * This data must implement the <code>java.io.Serializable</code> interface + * @param timeout_ms Defines the period of time a data object is kept within the storage * @throws MOADatabaseException In case of store operation failed */ - public void put(String key, Object value) throws MOADatabaseException; + public void put(String key, Object value, int timeout_ms) throws MOADatabaseException; /** * Get a data object from transaction storage |