com.epam.fixengine.storage
Class SlicedFileStorageFactory
java.lang.Object
com.epam.fixengine.storage.FilesystemStorageFactory
com.epam.fixengine.storage.SlicedFileStorageFactory
- All Implemented Interfaces:
- StorageFactory
public class SlicedFileStorageFactory
- extends FilesystemStorageFactory
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SlicedFileStorageFactory
public SlicedFileStorageFactory(Configuration configuration)
- Creates the
SlicedFileStorageFactory storage.
getIncomingMessageStorage
public MessageStorage getIncomingMessageStorage(SessionParameters sessionParameters)
- Gets incoming message storage.
If parameter
incomingStorageIndexed configured,
the message storage will be SlicedIndexedMessageStorage,
otherwise SlicedFileMessageStorage
- Specified by:
getIncomingMessageStorage in interface StorageFactory- Overrides:
getIncomingMessageStorage in class FilesystemStorageFactory
- Parameters:
sessionParameters - the session parameters
- Returns:
- the incoming message storage
- See Also:
StorageFactory
getOutgoingMessageStorage
public MessageStorage getOutgoingMessageStorage(SessionParameters sessionParameters)
- Gets outgoing message storage.
If parameter
outgoingStorageIndexed configured,
the message storage will be SlicedIndexedMessageStorage,
otherwise SlicedFileMessageStorage
- Specified by:
getOutgoingMessageStorage in interface StorageFactory- Overrides:
getOutgoingMessageStorage in class FilesystemStorageFactory
- Parameters:
sessionParameters - the session parameters
- Returns:
- the outgoing message storage
Copyright © 2000-2014 EPAM Systems. All Rights Reserved.