public class CacheTopologyInfoImpl extends Object implements CacheTopologyInfo
Constructor and Description |
---|
CacheTopologyInfoImpl(Map<SocketAddress,Set<Integer>> segmentsByServer,
Integer numSegments,
Integer topologyId) |
Modifier and Type | Method and Description |
---|---|
int |
getNumSegments() |
Map<SocketAddress,Set<Integer>> |
getSegmentsPerServer() |
Integer |
getTopologyId() |
String |
toString() |
public int getNumSegments()
getNumSegments
in interface CacheTopologyInfo
public Integer getTopologyId()
getTopologyId
in interface CacheTopologyInfo
public Map<SocketAddress,Set<Integer>> getSegmentsPerServer()
getSegmentsPerServer
in interface CacheTopologyInfo
Copyright © 2021 JBoss by Red Hat. All rights reserved.