Class CacheTopologyInfoImpl
java.lang.Object
org.infinispan.client.hotrod.impl.CacheTopologyInfoImpl
- All Implemented Interfaces:
CacheTopologyInfo
- Since:
- 8.0
- Author:
- gustavonalle
-
Constructor Summary
ConstructorDescriptionCacheTopologyInfoImpl
(Map<SocketAddress, Set<Integer>> segmentsByServer, Integer numSegments, Integer topologyId) -
Method Summary
-
Constructor Details
-
CacheTopologyInfoImpl
-
-
Method Details
-
getNumSegments
- Specified by:
getNumSegments
in interfaceCacheTopologyInfo
- Returns:
- The number of configured segments for the cache.
-
getTopologyId
- Specified by:
getTopologyId
in interfaceCacheTopologyInfo
-
getSegmentsPerServer
- Specified by:
getSegmentsPerServer
in interfaceCacheTopologyInfo
- Returns:
- Segments owned by each server.
-
toString
-