|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.bankframe.serives.cache
package instead
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. |
java.util.Vector |
remove(java.util.Vector pkOfEntitiesToRemove)
Deprecated. Equivalent to remove(pks, false) |
java.util.Vector |
remove(java.util.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(java.util.Map pkOfEntitiesToDataPacketResponses)
Deprecated. Equivalent to store(pk, false) |
void |
store(java.util.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 |
public 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.public void close() throws ProcessingErrorException
ProcessingErrorException
- If there was an exception thrown in the execution of the method.public void open() throws ProcessingErrorException
ProcessingErrorException
- If there was an exception thrown in the execution of the method.public java.util.Vector remove(java.util.Vector pkOfEntitiesToRemove) throws ProcessingErrorException
pkOfEntitiesToRemove
- The entries to remove.
ProcessingErrorException
- If there was an exception thrown in the execution of the method.public java.util.Vector remove(java.util.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.public 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.public void store(java.util.Map pkOfEntitiesToDataPacketResponses) throws ProcessingErrorException
pkOfEntitiesToDataPacketResponses
- Self explanatory.
ProcessingErrorException
- If there was an exception thrown in the execution of the method.public void store(java.util.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 |