Package com.epam.fixengine.storage
Class SlicedFileStorageFactory
java.lang.Object
com.epam.fixengine.storage.FilesystemStorageFactory
com.epam.fixengine.storage.SlicedFileStorageFactory
- All Implemented Interfaces:
StorageFactory
-
Field Summary
Fields inherited from class com.epam.fixengine.storage.FilesystemStorageFactory
backupIncomingLogFileLocator, backupOutgoingLogFileLocator, config, incomingLogFileLocator, outgoingLogFileLocator, propertyFileLocator, queueFileLocator, stateFileLocator
-
Constructor Summary
ConstructorsConstructorDescriptionSlicedFileStorageFactory
(com.epam.fixengine.configuration.Configuration configuration) Creates theSlicedFileStorageFactory
storage. -
Method Summary
Modifier and TypeMethodDescriptiongetIncomingMessageStorage
(SessionParameters sessionParameters) Gets incoming message storage.getOutgoingMessageStorage
(SessionParameters sessionParameters) Gets outgoing message storage.Methods inherited from class com.epam.fixengine.storage.FilesystemStorageFactory
checkDirectories, createLocators, getBackupIncomingLogFileLocator, getBackupOutgoingLogFileLocator, getIncomingLogFileLocator, getOutgoingLogFileLocator, getPropertyFileLocator, getQueue, getQueueFileLocator, getStateFileLocator, loadSessionParameters, saveSessionParameters, setBackupIncomingLogFileLocator, setBackupOutgoingLogFileLocator, setIncomingLogFileLocator, setOutgoingLogFileLocator, setPropertyFileLocator, setQueueFileLocator, setStateFileLocator
-
Constructor Details
-
SlicedFileStorageFactory
public SlicedFileStorageFactory(com.epam.fixengine.configuration.Configuration configuration) Creates theSlicedFileStorageFactory
storage.
-
-
Method Details
-
getIncomingMessageStorage
Gets incoming message storage. If parameterincomingStorageIndexed
configured, the message storage will beSlicedIndexedMessageStorage
, otherwiseSlicedFileMessageStorage
- Specified by:
getIncomingMessageStorage
in interfaceStorageFactory
- Overrides:
getIncomingMessageStorage
in classFilesystemStorageFactory
- Parameters:
sessionParameters
- the session parameters- Returns:
- the incoming message storage
- See Also:
-
getOutgoingMessageStorage
Gets outgoing message storage. If parameteroutgoingStorageIndexed
configured, the message storage will beSlicedIndexedMessageStorage
, otherwiseSlicedFileMessageStorage
- Specified by:
getOutgoingMessageStorage
in interfaceStorageFactory
- Overrides:
getOutgoingMessageStorage
in classFilesystemStorageFactory
- Parameters:
sessionParameters
- the session parameters- Returns:
- the outgoing message storage
-