Package org.onosproject.store.flow.impl
Class BackupOperation
- java.lang.Object
-
- org.onosproject.store.flow.impl.BackupOperation
-
public class BackupOperation extends java.lang.ObjectIdentifier representing a backup of a distinct bucket to a specific node.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intbucket()Returns the bucket identifier.booleanequals(java.lang.Object other)inthashCode()org.onosproject.cluster.NodeIdnodeId()Returns the node identifier.java.lang.StringtoString()
-
-
-
Method Detail
-
nodeId
public org.onosproject.cluster.NodeId nodeId()
Returns the node identifier.- Returns:
- the node identifier
-
bucket
public int bucket()
Returns the bucket identifier.- Returns:
- the bucket identifier
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-