|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xwiki.observation.remote.internal.jgroups.JGroupsNetworkAdapter
@Component @Named(value="jgroups") @Singleton public class JGroupsNetworkAdapter
JGroups based implementation of NetworkAdapter.
| Field Summary | |
|---|---|
static java.lang.String |
CONFIGURATION_PATH
Relative path where to find jgroups channels configurations. |
| Constructor Summary | |
|---|---|
JGroupsNetworkAdapter()
|
|
| Method Summary | |
|---|---|
void |
send(RemoteEventData remoteEvent)
Send serializable event to the network depending of the implementation. |
void |
startChannel(java.lang.String channelId)
Start a channel. |
void |
stopAllChannels()
Stop all running channels. |
void |
stopChannel(java.lang.String channelId)
Stop a running channel. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String CONFIGURATION_PATH
| Constructor Detail |
|---|
public JGroupsNetworkAdapter()
| Method Detail |
|---|
public void send(RemoteEventData remoteEvent)
send in interface NetworkAdapterremoteEvent - the serializable event to sendNetworkAdapter.send(org.xwiki.observation.remote.RemoteEventData)
public void startChannel(java.lang.String channelId)
throws RemoteEventException
startChannel in interface NetworkAdapterchannelId - the identifier of the channel to start
RemoteEventException - error when trying to start a channelNetworkAdapter.startChannel(java.lang.String)
public void stopChannel(java.lang.String channelId)
throws RemoteEventException
stopChannel in interface NetworkAdapterchannelId - the identifier of the channel to stop
RemoteEventException - error when trying to stop a running channelNetworkAdapter.stopChannel(java.lang.String)
public void stopAllChannels()
throws RemoteEventException
stopAllChannels in interface NetworkAdapterRemoteEventException - error when trying to stop a running channelNetworkAdapter.stopAllChannels()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||