Package org.infinispan.client.hotrod
Interface CacheTopologyInfo
-
public interface CacheTopologyInfo
Contains information about cache topology including servers and owned segments.- Since:
- 8.0
- Author:
- gustavonalle
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getNumSegments()
java.util.Map<java.net.SocketAddress,java.util.Set<java.lang.Integer>>
getSegmentsPerServer()
java.lang.Integer
getTopologyId()
-
-
-
Method Detail
-
getNumSegments
int getNumSegments()
- Returns:
- The number of configured segments for the cache.
-
getSegmentsPerServer
java.util.Map<java.net.SocketAddress,java.util.Set<java.lang.Integer>> getSegmentsPerServer()
- Returns:
- Segments owned by each server.
-
getTopologyId
java.lang.Integer getTopologyId()
-
-