Package zmq.socket.pubsub
Class Mtrie
- java.lang.Object
-
- zmq.socket.pubsub.Mtrie
-
class Mtrie extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceMtrie.IMtrieHandler
-
Constructor Summary
Constructors Constructor Description Mtrie()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanadd(Msg msg, Pipe pipe)private booleanaddHelper(Msg msg, int start, int size, Pipe pipe)(package private) booleanaddOnTop(Pipe pipe)private booleanisRedundant()voidmatch(java.nio.ByteBuffer data, int size, Mtrie.IMtrieHandler func, XPub pub)private Mtrie[]realloc(Mtrie[] table, int size, boolean ended)booleanrm(Msg msg, Pipe pipe)booleanrm(Pipe pipe, Mtrie.IMtrieHandler func, XPub pub)private booleanrmHelper(Msg msg, int start, int size, Pipe pipe)private booleanrmHelper(Pipe pipe, byte[] buff, int buffsize, int maxBuffSize, Mtrie.IMtrieHandler func, XPub pub)
-
-
-
Method Detail
-
addOnTop
final boolean addOnTop(Pipe pipe)
-
rm
public boolean rm(Pipe pipe, Mtrie.IMtrieHandler func, XPub pub)
-
rmHelper
private boolean rmHelper(Pipe pipe, byte[] buff, int buffsize, int maxBuffSize, Mtrie.IMtrieHandler func, XPub pub)
-
match
public void match(java.nio.ByteBuffer data, int size, Mtrie.IMtrieHandler func, XPub pub)
-
isRedundant
private boolean isRedundant()
-
-