1 #ifndef INCLUDE_INFINISPAN_HOTROD_CACHETOPOLOGYINFO_H_ 2 #define INCLUDE_INFINISPAN_HOTROD_CACHETOPOLOGYINFO_H_ 10 class CacheTopologyInfo {
11 std::map<transport::InetSocketAddress,std::vector<int> > segmentPerServers;
16 CacheTopologyInfo(std::map<transport::InetSocketAddress,std::vector<int> > segmentPerServers_,
int numSegment_,
int topologyId_)
17 : segmentPerServers(segmentPerServers_), numSegment(numSegment_), topologyId(topologyId_) {}
18 int getNumSegment() {
return numSegment; }
19 int getTopologyId() {
return topologyId; }
20 std::map<transport::InetSocketAddress, std::vector<int> > getSegmentPerServer() {
return segmentPerServers; }
21 virtual ~CacheTopologyInfo() { }
Definition: AuthenticationConfiguration.h:10