RecoveryToken Class
- java.
lang. Object - com.
microsoft. azure. elasticdb. shard. recovery. RecoveryToken
- com.
public class RecoveryToken
Recovery token generated and used by methods of the RecoveryManager to perform conflict detection and resolution for shard maps.
Constructor Summary
Constructor | Description |
---|---|
RecoveryToken() |
Parameter less constructor to generate a new unique token for shard map conflict detection and resolution. |
Method Summary
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Determines whether the specified Object is equal to the current Object. |
boolean |
equals(RecoveryToken other)
Performs equality comparison with another given RecoveryToken. |
int |
hashCode()
Calculates the hash code for this instance. |
String |
toString()
Converts the object to its string representation. |
Constructor Details
RecoveryToken
public RecoveryToken()
Parameter less constructor to generate a new unique token for shard map conflict detection and resolution.
Method Details
equals
public boolean equals(Object obj)
Determines whether the specified Object is equal to the current Object.
Parameters:
Returns:
equals
public boolean equals(RecoveryToken other)
Performs equality comparison with another given RecoveryToken.
Parameters:
Returns:
hashCode
public int hashCode()
Calculates the hash code for this instance.
Returns:
toString
public String toString()
Converts the object to its string representation.
Returns:
Applies to
Azure SDK for Java