Class MemberName
java.lang.Object
org.opendaylight.controller.cluster.access.concepts.MemberName
- All Implemented Interfaces:
Serializable
,Comparable<MemberName>
,Identifier
,Immutable
,WritableIdentifier
,WritableObject
Type-safe encapsulation of a cluster member name.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionint
compareTo
(MemberName obj) boolean
static @NonNull MemberName
@NonNull String
getName()
int
hashCode()
static @NonNull MemberName
toString()
@NonNull MemberName
toYang()
void
writeTo
(DataOutput out)
-
Method Details
-
forName
-
readFrom
- Throws:
IOException
-
writeTo
- Specified by:
writeTo
in interfaceWritableObject
- Throws:
IOException
-
getName
-
toYang
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfaceIdentifier
- Overrides:
hashCode
in classObject
-
equals
- Specified by:
equals
in interfaceIdentifier
- Overrides:
equals
in classObject
-
compareTo
- Specified by:
compareTo
in interfaceComparable<MemberName>
-
toString
- Specified by:
toString
in interfaceIdentifier
- Overrides:
toString
in classObject
-