biz.onixs.fix.engine.storage
Class TimingStorageRepository
java.lang.Object
biz.onixs.fix.engine.storage.TimingStorageRepository
- All Implemented Interfaces:
- StorageRepository
public class TimingStorageRepository
- extends Object
- implements StorageRepository
Method Summary |
SessionStorage |
create(SessionId sessionId,
boolean cleanStart)
Creates session storage from scratch or restores from its previous state. |
long |
getMaxStorageSize()
Returns the maximum size of the storage in messages. |
void |
setMaxStorageSize(long maxStorageSize)
Sets the maximum size of the storage in messages. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TimingStorageRepository
public TimingStorageRepository(StorageRepository repository)
create
public SessionStorage create(SessionId sessionId,
boolean cleanStart)
- Description copied from interface:
StorageRepository
- Creates session storage from scratch or restores from its previous state.
- Specified by:
create
in interface StorageRepository
- Parameters:
sessionId
- session idcleanStart
- clean previous session state if any
- Returns:
- session storage
getMaxStorageSize
public long getMaxStorageSize()
- Description copied from interface:
StorageRepository
- Returns the maximum size of the storage in messages.
- Specified by:
getMaxStorageSize
in interface StorageRepository
- Returns:
- maximum size of the message storage
setMaxStorageSize
public void setMaxStorageSize(long maxStorageSize)
- Description copied from interface:
StorageRepository
- Sets the maximum size of the storage in messages.
- Specified by:
setMaxStorageSize
in interface StorageRepository
- Parameters:
maxStorageSize
- maximum size of the message storage
Copyright © 2005-2012 Onix Solutions. All Rights Reserved.