Package io.moquette.broker
Class AbstractSessionMessageQueue<T>
- java.lang.Object
-
- io.moquette.broker.AbstractSessionMessageQueue<T>
-
- All Implemented Interfaces:
SessionMessageQueue<T>
- Direct Known Subclasses:
InMemoryQueue
public abstract class AbstractSessionMessageQueue<T> extends Object implements SessionMessageQueue<T>
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanclosed
-
Constructor Summary
Constructors Constructor Description AbstractSessionMessageQueue()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcheckDequeuePreconditions()protected voidcheckEnqueuePreconditions(T t)protected voidcheckIsEmptyPreconditions()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.moquette.broker.SessionMessageQueue
closeAndPurge, dequeue, enqueue, isEmpty
-
-
-
-
Method Detail
-
checkEnqueuePreconditions
protected void checkEnqueuePreconditions(T t)
-
checkDequeuePreconditions
protected void checkDequeuePreconditions()
-
checkIsEmptyPreconditions
protected void checkIsEmptyPreconditions()
-
-