Class ClusterMemberInfoImpl
- java.lang.Object
-
- org.opendaylight.infrautils.diagstatus.internal.ClusterMemberInfoImpl
-
- All Implemented Interfaces:
ClusterMemberInfo
@Singleton public class ClusterMemberInfoImpl extends Object implements ClusterMemberInfo
Implementation ofClusterMemberInfoservice using the JMX MBeans exposed by Akka framework used in ODL controller.- Author:
- Faseela K, Michael Vorburger converted former static utility to service (for testability)
-
-
Constructor Summary
Constructors Constructor Description ClusterMemberInfoImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<InetAddress>getClusterMembers()InetAddressgetSelfAddress()booleanisLocalAddress(InetAddress ipAddress)
-
-
-
Method Detail
-
getSelfAddress
public InetAddress getSelfAddress()
- Specified by:
getSelfAddressin interfaceClusterMemberInfo
-
getClusterMembers
public List<InetAddress> getClusterMembers()
- Specified by:
getClusterMembersin interfaceClusterMemberInfo
-
isLocalAddress
public boolean isLocalAddress(InetAddress ipAddress)
- Specified by:
isLocalAddressin interfaceClusterMemberInfo
-
-