Class FrontendIdentifier
- java.lang.Object
-
- org.opendaylight.controller.cluster.access.concepts.FrontendIdentifier
-
- All Implemented Interfaces:
Serializable,Identifier,Immutable,MutationBehaviour<Immutable>,WritableIdentifier,WritableObject
@Beta public final class FrontendIdentifier extends Object implements WritableIdentifier
A cluster-wide unique identifier of a frontend type located at a cluster member.- Author:
- Robert Varga
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static @NonNull FrontendIdentifiercreate(MemberName memberName, FrontendType clientType)booleanequals(Object obj)@NonNull FrontendTypegetClientType()@NonNull MemberNamegetMemberName()inthashCode()static @NonNull FrontendIdentifierreadFrom(DataInput in)@NonNull StringtoPersistentId()StringtoString()voidwriteTo(DataOutput out)
-
-
-
Method Detail
-
create
public static @NonNull FrontendIdentifier create(MemberName memberName, FrontendType clientType)
-
readFrom
public static @NonNull FrontendIdentifier readFrom(DataInput in) throws IOException
- Throws:
IOException
-
writeTo
public void writeTo(DataOutput out) throws IOException
- Specified by:
writeToin interfaceWritableObject- Throws:
IOException
-
getClientType
public @NonNull FrontendType getClientType()
-
getMemberName
public @NonNull MemberName getMemberName()
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfaceIdentifier- Overrides:
hashCodein classObject
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfaceIdentifier- Overrides:
equalsin classObject
-
toPersistentId
public @NonNull String toPersistentId()
-
toString
public String toString()
- Specified by:
toStringin interfaceIdentifier- Overrides:
toStringin classObject
-
-