|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
com.bankframe.serives.cache package instead
public interface Cache
Caching interface for the host system requests.
| Method Summary | |
|---|---|
boolean |
checkPrimaryKeyInCache(DataPacket primaryKeyOfEntity,
long timeOutValue)
Deprecated. This method checks to see if the specified key is in the cache. |
void |
close()
Deprecated. Closes the connection to the database. |
void |
open()
Deprecated. Opens the connection to the database. |
Vector |
remove(Vector pkOfEntitiesToRemove)
Deprecated. Equivalent to remove(pks, false) |
Vector |
remove(Vector pkOfEntitiesToRemove,
boolean persistanceTableToo)
Deprecated. Removes all the entries of the Vector in the Cache. |
DataPacket |
retrieve(DataPacket primaryKeyOfEntity)
Deprecated. Retrieve a response from the cache by primary key. |
void |
store(Map pkOfEntitiesToDataPacketResponses)
Deprecated. Equivalent to store(pk, false) |
void |
store(Map pkOfEntitiesToDataPacketResponses,
boolean persistent)
Deprecated. Store many entries in the cache at once. |
| Methods inherited from interface com.bankframe.ei.txnhandler.hostcache.Profile |
|---|
maxDbCacheSize, maxMemCacheSize, numberEntriesInDbCache, numberEntriesInMemCache |
| Method Detail |
|---|
boolean checkPrimaryKeyInCache(DataPacket primaryKeyOfEntity,
long timeOutValue)
throws ProcessingErrorException
primaryKeyOfEntity - The primary key of the entity to check against.timeOutValue - The maximum time a cache entry can be valid.
ProcessingErrorException - If there was an exception thrown in the execution of the method.
void close()
throws ProcessingErrorException
ProcessingErrorException - If there was an exception thrown in the execution of the method.
void open()
throws ProcessingErrorException
ProcessingErrorException - If there was an exception thrown in the execution of the method.
Vector remove(Vector pkOfEntitiesToRemove)
throws ProcessingErrorException
pkOfEntitiesToRemove - The entries to remove.
ProcessingErrorException - If there was an exception thrown in the execution of the method.
Vector remove(Vector pkOfEntitiesToRemove,
boolean persistanceTableToo)
throws ProcessingErrorException
pkOfEntitiesToRemove - The entries to remove.persistanceTableToo - If true the entry will be purged from the persistance table.
ProcessingErrorException - If there was an exception thrown in the execution of the method.
DataPacket retrieve(DataPacket primaryKeyOfEntity)
throws ProcessingErrorException
primaryKeyOfEntity - The primary key of the cached entity to be retrieved.
ProcessingErrorException - If there was an exception thrown in the execution of the method.
void store(Map pkOfEntitiesToDataPacketResponses)
throws ProcessingErrorException
pkOfEntitiesToDataPacketResponses - Self explanatory.
ProcessingErrorException - If there was an exception thrown in the execution of the method.
void store(Map pkOfEntitiesToDataPacketResponses,
boolean persistent)
throws ProcessingErrorException
pkOfEntitiesToDataPacketResponses - Self explanitory.persistent - If this is true the pair will be written to the database and upon restart it will be availiable again.
ProcessingErrorException - If there was an exception thrown in the execution of the method.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||