public class ConcurrentBroadcastCommandDispatcherFactory extends Object implements BroadcastCommandDispatcherFactory
BroadcastCommandDispatcherFactory that returns the same CommandDispatcher instance for a given identifier.| Constructor and Description |
|---|
ConcurrentBroadcastCommandDispatcherFactory(CommandDispatcherFactory factory) |
| Modifier and Type | Method and Description |
|---|---|
<C> org.wildfly.clustering.dispatcher.CommandDispatcher<C> |
createCommandDispatcher(Object id,
C context) |
org.wildfly.clustering.group.Group |
getGroup() |
void |
receive(byte[] data)
Receives the specified broadcast data.
|
org.wildfly.clustering.Registration |
register(BroadcastReceiver receiver) |
public ConcurrentBroadcastCommandDispatcherFactory(CommandDispatcherFactory factory)
public void receive(byte[] data)
BroadcastReceiverreceive in interface BroadcastReceiverdata - broadcast datapublic org.wildfly.clustering.Registration register(BroadcastReceiver receiver)
register in interface org.wildfly.clustering.Registrar<BroadcastReceiver>public org.wildfly.clustering.group.Group getGroup()
getGroup in interface org.wildfly.clustering.dispatcher.CommandDispatcherFactorypublic <C> org.wildfly.clustering.dispatcher.CommandDispatcher<C> createCommandDispatcher(Object id, C context)
createCommandDispatcher in interface org.wildfly.clustering.dispatcher.CommandDispatcherFactoryCopyright © 2022 JBoss by Red Hat. All rights reserved.