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 theSlicedFileStorageFactorystorage. -
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 theSlicedFileStorageFactorystorage.
-
-
Method Details
-
getIncomingMessageStorage
Gets incoming message storage. If parameterincomingStorageIndexedconfigured, the message storage will beSlicedIndexedMessageStorage, otherwiseSlicedFileMessageStorage- Specified by:
getIncomingMessageStoragein interfaceStorageFactory- Overrides:
getIncomingMessageStoragein classFilesystemStorageFactory- Parameters:
sessionParameters- the session parameters- Returns:
- the incoming message storage
- See Also:
-
getOutgoingMessageStorage
Gets outgoing message storage. If parameteroutgoingStorageIndexedconfigured, the message storage will beSlicedIndexedMessageStorage, otherwiseSlicedFileMessageStorage- Specified by:
getOutgoingMessageStoragein interfaceStorageFactory- Overrides:
getOutgoingMessageStoragein classFilesystemStorageFactory- Parameters:
sessionParameters- the session parameters- Returns:
- the outgoing message storage
-