Class InMemoryMessageStore<K,​M extends PMessage<M>>

  • All Implemented Interfaces:
    MessageReadOnlyStore<K,​M>, MessageStore<K,​M>, ReadOnlyStore<K,​M>, ReadWriteStore<K,​M>

    public class InMemoryMessageStore<K,​M extends PMessage<M>>
    extends InMemoryStore<K,​M>
    implements MessageStore<K,​M>
    Simple in-memory storage of providence messages. Uses a local hash map for storing the instances. The store is thread safe through using re-entrant read-write mutex handling, so reading can happen in parallel.
    • Constructor Detail

      • InMemoryMessageStore

        public InMemoryMessageStore()