at.gv.egiz.eaaf.core.api.storage.ITransactionStorage
@Repository @Transactional("sessionTransactionManager") public class DBTransactionStorage extends Object implements at.gv.egiz.eaaf.core.api.storage.ITransactionStorage
Constructor | Description |
---|---|
DBTransactionStorage() |
Modifier and Type | Method | Description |
---|---|---|
void |
changeKey(String oldKey,
String newKey,
Object value) |
|
List<String> |
clean(Date now,
long dataTimeOut) |
|
boolean |
containsKey(String key) |
|
Object |
get(String key) |
|
<T> T |
get(String key,
Class<T> clazz) |
|
<T> T |
get(String key,
Class<T> clazz,
long dataTimeOut) |
|
Object |
getRaw(String key) |
|
void |
put(String key,
Object value,
int timeout_ms) |
|
void |
putRaw(String key,
Object element) |
|
void |
remove(String key) |
public boolean containsKey(String key)
containsKey
in interface at.gv.egiz.eaaf.core.api.storage.ITransactionStorage
public void changeKey(String oldKey, String newKey, Object value) throws at.gv.egovernment.moa.id.commons.db.ex.MOADatabaseException
changeKey
in interface at.gv.egiz.eaaf.core.api.storage.ITransactionStorage
at.gv.egovernment.moa.id.commons.db.ex.MOADatabaseException
public void put(String key, Object value, int timeout_ms) throws at.gv.egovernment.moa.id.commons.db.ex.MOADatabaseException
put
in interface at.gv.egiz.eaaf.core.api.storage.ITransactionStorage
at.gv.egovernment.moa.id.commons.db.ex.MOADatabaseException
public <T> T get(String key, Class<T> clazz) throws at.gv.egovernment.moa.id.commons.db.ex.MOADatabaseException
get
in interface at.gv.egiz.eaaf.core.api.storage.ITransactionStorage
at.gv.egovernment.moa.id.commons.db.ex.MOADatabaseException
public Object get(String key) throws at.gv.egovernment.moa.id.commons.db.ex.MOADatabaseException
get
in interface at.gv.egiz.eaaf.core.api.storage.ITransactionStorage
at.gv.egovernment.moa.id.commons.db.ex.MOADatabaseException
public <T> T get(String key, Class<T> clazz, long dataTimeOut) throws at.gv.egovernment.moa.id.commons.db.ex.MOADatabaseException, AuthenticationException
get
in interface at.gv.egiz.eaaf.core.api.storage.ITransactionStorage
at.gv.egovernment.moa.id.commons.db.ex.MOADatabaseException
AuthenticationException
public List<String> clean(Date now, long dataTimeOut)
clean
in interface at.gv.egiz.eaaf.core.api.storage.ITransactionStorage
public void remove(String key)
remove
in interface at.gv.egiz.eaaf.core.api.storage.ITransactionStorage
public Object getRaw(String key) throws at.gv.egovernment.moa.id.commons.db.ex.MOADatabaseException
getRaw
in interface at.gv.egiz.eaaf.core.api.storage.ITransactionStorage
at.gv.egovernment.moa.id.commons.db.ex.MOADatabaseException
Copyright © 2019. All rights reserved.