com.epam.fixengine.storage
Class SlicedFileStorageFactory

java.lang.Object
  extended by com.epam.fixengine.storage.FilesystemStorageFactory
      extended by com.epam.fixengine.storage.SlicedFileStorageFactory
All Implemented Interfaces:
StorageFactory

public class SlicedFileStorageFactory
extends FilesystemStorageFactory


Field Summary
 
Fields inherited from class com.epam.fixengine.storage.FilesystemStorageFactory
backupIncomingLogFileLocator, backupOutgoingLogFileLocator, config, incomingLogFileLocator, outgoingLogFileLocator, propertyFileLocator, queueFileLocator
 
Constructor Summary
SlicedFileStorageFactory(Configuration configuration)
          Creates the SlicedFileStorageFactory storage.
 
Method Summary
 MessageStorage getIncomingMessageStorage(SessionParameters sessionParameters)
          Gets incoming message storage.
 MessageStorage getOutgoingMessageStorage(SessionParameters sessionParameters)
          Gets outgoing message storage.
 
Methods inherited from class com.epam.fixengine.storage.FilesystemStorageFactory
getIncomingLogFileLocator, getOutgoingLogFileLocator, getQueue, loadSessionParameters, saveSessionParameters, setIncomingLogFileLocator, setOutgoingLogFileLocator, setPropertyFileLocator, setQueueFileLocator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SlicedFileStorageFactory

public SlicedFileStorageFactory(Configuration configuration)
Creates the SlicedFileStorageFactory storage.

Method Detail

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.