public interface FCPublisher
| Modifier and Type | Method and Description |
|---|---|
FCPublisher |
batchOnLimit(boolean doBatch)
decides wether to start batching once rate limit is reached.
|
void |
flush() |
int |
getPacketRateLimit() |
int |
getTopicId() |
boolean |
isBatchOnLimit(boolean doBatch) |
boolean |
offer(String receiverNodeId,
byte[] b,
int start,
int len,
boolean doFlush) |
boolean |
offer(String subscriberNodeId,
org.nustaq.offheap.bytez.ByteSource msg,
boolean doFlush) |
boolean |
offer(String receiverNodeId,
org.nustaq.offheap.bytez.ByteSource msg,
long start,
int len,
boolean doFlush) |
void |
setPacketRateLimit(int limit) |
boolean offer(String receiverNodeId, byte[] b, int start, int len, boolean doFlush)
receiverNodeId - - null for all subscribers of topic, a nodeId for a specific subscriber (unicast)msg - start - len - doFlush - boolean offer(String receiverNodeId, org.nustaq.offheap.bytez.ByteSource msg, long start, int len, boolean doFlush)
boolean offer(String subscriberNodeId, org.nustaq.offheap.bytez.ByteSource msg, boolean doFlush)
int getTopicId()
void flush()
void setPacketRateLimit(int limit)
int getPacketRateLimit()
FCPublisher batchOnLimit(boolean doBatch)
doBatch - boolean isBatchOnLimit(boolean doBatch)
Copyright © 2014. All rights reserved.