Class HeapMessageStore

java.lang.Object
org.nustaq.kontraktor.remoting.base.messagestore.HeapMessageStore
All Implemented Interfaces:
MessageStore

public class HeapMessageStore
extends java.lang.Object
implements MessageStore
Created by ruedi on 13/04/15. writes/reads on-heap. must be single threaded per queue
  • Constructor Summary

    Constructors 
    Constructor Description
    HeapMessageStore​(int maxStoreLength)  
  • Method Summary

    Modifier and Type Method Description
    void confirmMessage​(java.lang.CharSequence queueId, long sequence)  
    java.lang.Object getMessage​(java.lang.CharSequence queueId, long sequence)  
    void killQueue​(java.lang.CharSequence queueId)  
    void putMessage​(java.lang.CharSequence queueId, long sequence, java.lang.Object message)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait