quickfix
Class CachedFileStoreFactory

java.lang.Object
  extended by quickfix.FileStoreFactory
      extended by quickfix.CachedFileStoreFactory
All Implemented Interfaces:
MessageStoreFactory

public class CachedFileStoreFactory
extends FileStoreFactory

Creates a message store that stores messages in a file. Compatibility note: The file formats are not compatible with QF C++/JNI. If you upgrading from the QuickFIX JNI, you must delete your old session state files.)


Field Summary
 
Fields inherited from class quickfix.FileStoreFactory
SETTING_FILE_STORE_MAX_CACHED_MSGS, SETTING_FILE_STORE_PATH, SETTING_FILE_STORE_SYNC, settings
 
Constructor Summary
CachedFileStoreFactory(SessionSettings settings)
          Create the factory with configuration in session settings.
 
Method Summary
 MessageStore create(SessionID sessionID)
          Creates a file-based message store.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CachedFileStoreFactory

public CachedFileStoreFactory(SessionSettings settings)
Create the factory with configuration in session settings.

Parameters:
settings -
Method Detail

create

public MessageStore create(SessionID sessionID)
Creates a file-based message store.

Specified by:
create in interface MessageStoreFactory
Overrides:
create in class FileStoreFactory
Parameters:
sessionID - session ID for the message store.
Returns:
the message store implementation