public class MMFMessageStorage extends FlatFileMessageStorage
buffer, channelLength, channelPosition, dateFormattedBuffer, DELTA, maxBufferSize, maxStorageGrowSize, storageGrowSize, timestamp, timestampsInLogs, WRITE_BUFFER_LENGTH_DEF
accessFile, channel, configuration, isForcedFlush, maskedTags, NEW_LINE, storageTimestamp
Constructor and Description |
---|
MMFMessageStorage(com.epam.fixengine.configuration.Configuration config) |
Modifier and Type | Method and Description |
---|---|
long |
appendMessageInternal(byte[] timestampFormatted,
byte[] message,
int offset,
int length) |
void |
close()
Close the storage.
|
long |
initialize()
Initialize the storage.
|
appendMessage, appendMessage, appendMessageInternal, getNextSequenceNumber, isEnabledTimestamp, openStorageFile, retrieveMessages, retrieveSequenceNumber
appendMessage, appendMessage, appendMessageInternal, backupFile, backupStorage, backupStorageFile, deleteFile, deleteStorageFile, getFile, getFormatLength, getPrefixFormat, initialized, isClosed, openStorage, retrieveMessage, setBackupFileLocator, setFile, setFileLocator
public MMFMessageStorage(com.epam.fixengine.configuration.Configuration config)
public long initialize() throws IOException
AbstractFileMessageStorage
initialize
in interface MessageStorage
initialize
in class AbstractFileMessageStorage
IOException
- - if I/O error occurredpublic long appendMessageInternal(byte[] timestampFormatted, byte[] message, int offset, int length) throws IOException
appendMessageInternal
in class FlatFileMessageStorage
IOException
AbstractFileMessageStorage.appendMessageInternal(long, byte[], int, int)
public void close() throws IOException
AbstractFileMessageStorage
close
in interface MessageStorage
close
in class AbstractFileMessageStorage
IOException
- - if I/O error occurredCopyright © 2000–2022 EPAM Systems. All rights reserved.