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 FrontendIdentifier
create(MemberName memberName, FrontendType clientType)
boolean
equals(Object obj)
@NonNull FrontendType
getClientType()
@NonNull MemberName
getMemberName()
int
hashCode()
static @NonNull FrontendIdentifier
readFrom(DataInput in)
@NonNull String
toPersistentId()
String
toString()
void
writeTo(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:
writeTo
in interfaceWritableObject
- Throws:
IOException
-
getClientType
public @NonNull FrontendType getClientType()
-
getMemberName
public @NonNull MemberName getMemberName()
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfaceIdentifier
- Overrides:
hashCode
in classObject
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfaceIdentifier
- Overrides:
equals
in classObject
-
toPersistentId
public @NonNull String toPersistentId()
-
toString
public String toString()
- Specified by:
toString
in interfaceIdentifier
- Overrides:
toString
in classObject
-
-