Class QueueBroadcastManager
java.lang.Object
org.wildfly.extension.messaging.activemq.broadcast.QueueBroadcastManager
- All Implemented Interfaces:
BroadcastManager,BroadcastReceiver
- Author:
- Paul Ferraro
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()byte[]byte[]getBroadcast(long timeout, TimeUnit unit) voidreceive(byte[] broadcast) Receives the specified broadcast data.
-
Constructor Details
-
QueueBroadcastManager
-
-
Method Details
-
receive
public void receive(byte[] broadcast) Description copied from interface:BroadcastReceiverReceives the specified broadcast data.- Specified by:
receivein interfaceBroadcastReceiver- Parameters:
broadcast- broadcast data
-
getBroadcast
- Specified by:
getBroadcastin interfaceBroadcastManager- Throws:
InterruptedException
-
getBroadcast
- Specified by:
getBroadcastin interfaceBroadcastManager- Throws:
InterruptedException
-
clear
public void clear()- Specified by:
clearin interfaceBroadcastManager
-