Class ClusterInfo
- java.lang.Object
-
- org.infinispan.client.hotrod.impl.topology.ClusterInfo
-
public class ClusterInfo extends Object
Cluster definition- Author:
- Dan Berindei
-
-
Constructor Summary
Constructors Constructor Description ClusterInfo(String clusterName, List<InetSocketAddress> servers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CompletableFuture<ClusterInfo>getClusterSwitchFuture()List<InetSocketAddress>getInitialServers()StringgetName()intgetTopologyAge()StringtoString()ClusterInfowithTopologyAge(int topologyAge)
-
-
-
Constructor Detail
-
ClusterInfo
public ClusterInfo(String clusterName, List<InetSocketAddress> servers)
-
-
Method Detail
-
withTopologyAge
public ClusterInfo withTopologyAge(int topologyAge)
-
getName
public String getName()
-
getInitialServers
public List<InetSocketAddress> getInitialServers()
-
getTopologyAge
public int getTopologyAge()
-
getClusterSwitchFuture
public CompletableFuture<ClusterInfo> getClusterSwitchFuture()
-
-