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()
Map<SocketAddress,Set<Integer>>
getSegmentsPerServer()
Integer
getTopologyId()
-
-
-
Method Detail
-
getNumSegments
int getNumSegments()
- Returns:
- The number of configured segments for the cache.
-
getSegmentsPerServer
Map<SocketAddress,Set<Integer>> getSegmentsPerServer()
- Returns:
- Segments owned by each server.
-
getTopologyId
Integer getTopologyId()
-
-