Class NaruTaskInboxImpl
java.lang.Object
net.thevpc.naru.impl.engine.scheduler.NaruTaskInboxImpl
- All Implemented Interfaces:
NaruTaskInbox,net.thevpc.nuts.elem.NToElement
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconsume(long seq) drainMatching(NaruEventFilter filter) booleanisEmpty()voidload(net.thevpc.nuts.elem.NObjectElement inbox1) peek(NaruEventFilter filter) voidpush(long seq) intsize()net.thevpc.nuts.elem.NElementlong
-
Constructor Details
-
NaruTaskInboxImpl
-
-
Method Details
-
size
public int size()- Specified by:
sizein interfaceNaruTaskInbox
-
isEmpty
public boolean isEmpty() -
push
public void push(long seq) - Specified by:
pushin interfaceNaruTaskInbox
-
peek
- Specified by:
peekin interfaceNaruTaskInbox
-
consume
- Specified by:
consumein interfaceNaruTaskInbox
-
drainMatching
- Specified by:
drainMatchingin interfaceNaruTaskInbox
-
watermark
public long watermark()- Specified by:
watermarkin interfaceNaruTaskInbox
-
toElement
public net.thevpc.nuts.elem.NElement toElement()- Specified by:
toElementin interfacenet.thevpc.nuts.elem.NToElement
-
load
public void load(net.thevpc.nuts.elem.NObjectElement inbox1)
-