Class ClusterMemberInfoImpl
- java.lang.Object
-
- org.opendaylight.infrautils.diagstatus.internal.ClusterMemberInfoImpl
-
- All Implemented Interfaces:
ClusterMemberInfo
@Singleton public class ClusterMemberInfoImpl extends Object implements ClusterMemberInfo
Implementation ofClusterMemberInfo
service 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()
InetAddress
getSelfAddress()
boolean
isLocalAddress(InetAddress ipAddress)
-
-
-
Method Detail
-
getSelfAddress
public InetAddress getSelfAddress()
- Specified by:
getSelfAddress
in interfaceClusterMemberInfo
-
getClusterMembers
public List<InetAddress> getClusterMembers()
- Specified by:
getClusterMembers
in interfaceClusterMemberInfo
-
isLocalAddress
public boolean isLocalAddress(InetAddress ipAddress)
- Specified by:
isLocalAddress
in interfaceClusterMemberInfo
-
-