Package com.epam.fixengine.storage
Class ChronicleStorageFactory
java.lang.Object
com.epam.fixengine.storage.FilesystemStorageFactory
com.epam.fixengine.storage.ChronicleStorageFactory
- 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
ConstructorsConstructorDescriptionChronicleStorageFactory(com.epam.fixengine.configuration.Configuration configuration) -
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
-
ChronicleStorageFactory
public ChronicleStorageFactory(com.epam.fixengine.configuration.Configuration configuration)
-
-
Method Details
-
getIncomingMessageStorage
Description copied from class:FilesystemStorageFactoryGets incoming message storage. Method returns FlatFileMessageStorage implementation.- Specified by:
getIncomingMessageStoragein interfaceStorageFactory- Overrides:
getIncomingMessageStoragein classFilesystemStorageFactory- Parameters:
sessionParameters- the session parameters- Returns:
- the incoming message storage
- See Also:
-
getOutgoingMessageStorage
Description copied from class:FilesystemStorageFactoryGets outgoing message storage. If parameteroutgoingStorageIndexedconfigured, the message storage will beIndexedMessageStorage, otherwiseFlatFileMessageStorage- Specified by:
getOutgoingMessageStoragein interfaceStorageFactory- Overrides:
getOutgoingMessageStoragein classFilesystemStorageFactory- Parameters:
sessionParameters- the session parameters- Returns:
- the outgoing message storage
-