Class NoClusterMemberInfo
- java.lang.Object
-
- org.opendaylight.infrautils.diagstatus.spi.NoClusterMemberInfo
-
- All Implemented Interfaces:
ClusterMemberInfo
public class NoClusterMemberInfo extends Object implements ClusterMemberInfo
ClusterMemberInfo implementation when there is no cluster, suitable e.g. for tests.- Author:
- Michael Vorburger
-
-
Constructor Summary
Constructors Constructor Description NoClusterMemberInfo()
NoClusterMemberInfo(InetAddress selfInetAddress)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<InetAddress>
getClusterMembers()
InetAddress
getSelfAddress()
boolean
isLocalAddress(InetAddress isLocalIpAddress)
-
-
-
Constructor Detail
-
NoClusterMemberInfo
public NoClusterMemberInfo()
-
NoClusterMemberInfo
public NoClusterMemberInfo(InetAddress selfInetAddress)
-
-
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 isLocalIpAddress)
- Specified by:
isLocalAddress
in interfaceClusterMemberInfo
-
-