Class PersistentInMemoryQueue<T extends Queueable>

java.lang.Object
com.epam.fixengine.storage.queue.InMemoryQueue<T>
com.epam.fixengine.storage.queue.PersistentInMemoryQueue<T>
All Implemented Interfaces:
Queue<T>

public class PersistentInMemoryQueue<T extends Queueable> extends InMemoryQueue<T> implements Queue<T>
Persistent queue file format is the following: 1 byte record length length [n]; n bytes record length [m] m bytes record itself DELETE marker is byte == (byte)0;
See Also:
  • Field Details

    • DELETE_MARKER

      protected static final Queueable DELETE_MARKER
    • isForcedFlush

      protected boolean isForcedFlush
  • Constructor Details

    • PersistentInMemoryQueue

      @Deprecated public PersistentInMemoryQueue(String filename, QueueableFactory<T> factory)
      Deprecated.
    • PersistentInMemoryQueue

      public PersistentInMemoryQueue(String filename, QueueableFactory<T> factory, com.epam.fixengine.configuration.Configuration conf)
  • Method Details