public class JGroupsClusterConnection extends Object implements IClusterConnection
Constructor and Description |
---|
JGroupsClusterConnection() |
Modifier and Type | Method and Description |
---|---|
void |
close()
Methode zum schließen einer Verbindung.
|
static IClusterConnection |
create()
Methode zum Erstellen einer JGroups-basierten
IClusterConnection -Implementierung |
void |
disconnect()
Methode zum beabsichtigten entfernen eines Knoten aus dem Cluster.
|
IClusterChannelStateObserver |
getChannelObserver() |
ICluster |
getCluster() |
String |
getClusterName() |
IClusterMessageObserver |
getMessageObserver() |
String |
getNodeName() |
IClusterTopologyObserver |
getTopologyObserver() |
void |
open()
Methode zum Öffnen der Verbindung.
|
public static IClusterConnection create()
IClusterConnection
-ImplementierungClusterManager#ClusterConnectionManager(IClusterConnection)
public void open() throws ClusterOpenException
IClusterConnection
open
in interface IClusterConnection
ClusterOpenException
public void close()
IClusterConnection
close
in interface IClusterConnection
close
in interface Closeable
close
in interface AutoCloseable
public void disconnect()
IClusterConnection
IClusterConnection.open()
wieder dem Cluster beitreten.disconnect
in interface IClusterConnection
public IClusterTopologyObserver getTopologyObserver()
getTopologyObserver
in interface IClusterConnection
public IClusterChannelStateObserver getChannelObserver()
getChannelObserver
in interface IClusterConnection
public IClusterMessageObserver getMessageObserver()
getMessageObserver
in interface IClusterConnection
public String getClusterName()
public String getNodeName()
public ICluster getCluster()
getCluster
in interface IClusterConnection
Copyright © 2019 XIMA MEDIA GmbH. All rights reserved.