Class TopologyInfo.Location
- java.lang.Object
-
- org.infinispan.distribution.topologyaware.TopologyInfo.Location
-
- All Implemented Interfaces:
Comparable<TopologyInfo.Location>
- Direct Known Subclasses:
TopologyInfo.Cluster
,TopologyInfo.Machine
,TopologyInfo.Node
,TopologyInfo.Rack
,TopologyInfo.Site
- Enclosing class:
- TopologyInfo
public abstract static class TopologyInfo.Location extends Object implements Comparable<TopologyInfo.Location>
Base class for locations.Implements Comparable, but locations with equal capacity are equal, so they can't be used as map keys.
-
-
Constructor Summary
Constructors Constructor Description Location()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(TopologyInfo.Location o)
Collection<String>
getChildNames()
String
toString()
-
-
-
Method Detail
-
getChildNames
public Collection<String> getChildNames()
-
compareTo
public int compareTo(TopologyInfo.Location o)
- Specified by:
compareTo
in interfaceComparable<TopologyInfo.Location>
-
-