Class JGroupsReceiver
java.lang.Object
org.apache.activemq.artemis.api.core.jgroups.JGroupsReceiver
- All Implemented Interfaces:
org.jgroups.Receiver
This class is used to receive messages from a JGroups channel. Incoming messages are put into a queue.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidreceive(org.jgroups.Message msg) byte[]byte[]receiveBroadcast(long time, TimeUnit unit) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jgroups.Receiver
block, getState, receive, setState, unblock, viewAccepted
-
Constructor Details
-
JGroupsReceiver
public JGroupsReceiver()
-
-
Method Details
-
receive
public void receive(org.jgroups.Message msg) - Specified by:
receivein interfaceorg.jgroups.Receiver
-
receiveBroadcast
-
receiveBroadcast
-