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