|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.s4.comm.udp.UDPEmitter
public class UDPEmitter
UDP based emitter.
Constructor Summary | |
---|---|
UDPEmitter(Cluster topology)
|
Method Summary | |
---|---|
void |
close()
|
long |
getMessageDropInQueueCount()
|
int |
getPartitionCount()
|
void |
onChange()
|
boolean |
send(int partitionId,
EventMessage eventMessage)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
@Inject public UDPEmitter(Cluster topology)
Method Detail |
---|
public long getMessageDropInQueueCount()
public boolean send(int partitionId, EventMessage eventMessage)
send
in interface Emitter
partitionId
- - destination partitioneventMessage
- - message payload that needs to be sent
public int getPartitionCount()
getPartitionCount
in interface Emitter
public void onChange()
onChange
in interface ClusterChangeListener
public void close()
close
in interface Emitter
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |