azure-docs-sdk-java/docs-ref-autogen/com.microsoft.azure.elastic...

215 строки
9.4 KiB
YAML

### YamlMime:ManagedReference
items:
- uid: com.microsoft.azure.elasticdb.shard.recovery._recovery_token
id: _recovery_token
parent: com.microsoft.azure.elasticdb.shard.recovery
children:
- com.microsoft.azure.elasticdb.shard.recovery._recovery_token.equals(Object)
- com.microsoft.azure.elasticdb.shard.recovery._recovery_token.equals(RecoveryToken)
- com.microsoft.azure.elasticdb.shard.recovery._recovery_token.hashCode()
- com.microsoft.azure.elasticdb.shard.recovery._recovery_token.RecoveryToken()
- com.microsoft.azure.elasticdb.shard.recovery._recovery_token.toString()
href: com.microsoft.azure.elasticdb.shard.recovery._recovery_token.yml
langs:
- java
name: RecoveryToken
nameWithType: RecoveryToken
fullName: com.microsoft.azure.elasticdb.shard.recovery.RecoveryToken
type: Class
source:
remote: &o0
path: elastic-db-tools/src/main/java/com/microsoft/azure/elasticdb/shard/recovery/RecoveryToken.java
branch: master
repo: https://github.com/Microsoft/elastic-db-tools-for-java
path: elastic-db-tools/src/main/java/com/microsoft/azure/elasticdb/shard/recovery/RecoveryToken.java
startLine: 15
package: com.microsoft.azure.elasticdb.shard.recovery
summary: <p>Recovery token generated and used by methods of the <xref uid="com.microsoft.azure.elasticdb.shard.recovery._recovery_manager" data-throw-if-not-resolved="false">RecoveryManager</xref> to perform conflict detection and resolution for shard maps. </p>
syntax: &o1
content: public class RecoveryToken
inheritance:
- java.lang.Object
- uid: com.microsoft.azure.elasticdb.shard.recovery._recovery_token.equals(Object)
id: equals(Object)
parent: com.microsoft.azure.elasticdb.shard.recovery._recovery_token
href: com.microsoft.azure.elasticdb.shard.recovery._recovery_token.yml
langs:
- java
name: equals(Object obj)
nameWithType: RecoveryToken.equals(Object obj)
fullName: com.microsoft.azure.elasticdb.shard.recovery.RecoveryToken.equals(Object obj)
overload: com.microsoft.azure.elasticdb.shard.recovery._recovery_token.equals*
type: Method
source:
remote: *o0
path: elastic-db-tools/src/main/java/com/microsoft/azure/elasticdb/shard/recovery/RecoveryToken.java
startLine: 65
package: com.microsoft.azure.elasticdb.shard.recovery
summary: >-
<p>Determines whether the specified Object is equal to the current Object.</p>
<p></p>
syntax:
content: public boolean equals(Object obj)
parameters:
- id: obj
type: "79317049"
description: <p>The object to compare with the current object. </p>
return:
type: 4fc6e284
description: <p>True if the specified object is equal to the current object; otherwise, false. </p>
- uid: com.microsoft.azure.elasticdb.shard.recovery._recovery_token.equals(RecoveryToken)
id: equals(RecoveryToken)
parent: com.microsoft.azure.elasticdb.shard.recovery._recovery_token
href: com.microsoft.azure.elasticdb.shard.recovery._recovery_token.yml
langs:
- java
name: equals(RecoveryToken other)
nameWithType: RecoveryToken.equals(RecoveryToken other)
fullName: com.microsoft.azure.elasticdb.shard.recovery.RecoveryToken.equals(RecoveryToken other)
overload: com.microsoft.azure.elasticdb.shard.recovery._recovery_token.equals*
type: Method
source:
remote: *o0
path: elastic-db-tools/src/main/java/com/microsoft/azure/elasticdb/shard/recovery/RecoveryToken.java
startLine: 79
package: com.microsoft.azure.elasticdb.shard.recovery
summary: >-
<p>Performs equality comparison with another given RecoveryToken.</p>
<p></p>
syntax:
content: public boolean equals(RecoveryToken other)
parameters:
- id: other
type: com.microsoft.azure.elasticdb.shard.recovery._recovery_token
description: <p>RecoveryToken to compare with. </p>
return:
type: 4fc6e284
description: <p>True if same locations, false otherwise. </p>
- uid: com.microsoft.azure.elasticdb.shard.recovery._recovery_token.hashCode()
id: hashCode()
parent: com.microsoft.azure.elasticdb.shard.recovery._recovery_token
href: com.microsoft.azure.elasticdb.shard.recovery._recovery_token.yml
langs:
- java
name: hashCode()
nameWithType: RecoveryToken.hashCode()
fullName: com.microsoft.azure.elasticdb.shard.recovery.RecoveryToken.hashCode()
overload: com.microsoft.azure.elasticdb.shard.recovery._recovery_token.hashCode*
type: Method
source:
remote: *o0
path: elastic-db-tools/src/main/java/com/microsoft/azure/elasticdb/shard/recovery/RecoveryToken.java
startLine: 53
package: com.microsoft.azure.elasticdb.shard.recovery
summary: >-
<p>Calculates the hash code for this instance.</p>
<p></p>
syntax:
content: public int hashCode()
return:
type: f75371fa
description: <p>Hash code for the object. </p>
- uid: com.microsoft.azure.elasticdb.shard.recovery._recovery_token.RecoveryToken()
id: RecoveryToken()
parent: com.microsoft.azure.elasticdb.shard.recovery._recovery_token
href: com.microsoft.azure.elasticdb.shard.recovery._recovery_token.yml
langs:
- java
name: RecoveryToken()
nameWithType: RecoveryToken.RecoveryToken()
fullName: com.microsoft.azure.elasticdb.shard.recovery.RecoveryToken.RecoveryToken()
overload: com.microsoft.azure.elasticdb.shard.recovery._recovery_token.RecoveryToken*
type: Constructor
source:
remote: *o0
path: elastic-db-tools/src/main/java/com/microsoft/azure/elasticdb/shard/recovery/RecoveryToken.java
startLine: 25
package: com.microsoft.azure.elasticdb.shard.recovery
summary: <p>Parameter less constructor to generate a new unique token for shard map conflict detection and resolution. </p>
syntax:
content: public RecoveryToken()
- uid: com.microsoft.azure.elasticdb.shard.recovery._recovery_token.toString()
id: toString()
parent: com.microsoft.azure.elasticdb.shard.recovery._recovery_token
href: com.microsoft.azure.elasticdb.shard.recovery._recovery_token.yml
langs:
- java
name: toString()
nameWithType: RecoveryToken.toString()
fullName: com.microsoft.azure.elasticdb.shard.recovery.RecoveryToken.toString()
overload: com.microsoft.azure.elasticdb.shard.recovery._recovery_token.toString*
type: Method
source:
remote: *o0
path: elastic-db-tools/src/main/java/com/microsoft/azure/elasticdb/shard/recovery/RecoveryToken.java
startLine: 43
package: com.microsoft.azure.elasticdb.shard.recovery
summary: >-
<p>Converts the object to its string representation.</p>
<p></p>
syntax:
content: public String toString()
return:
type: "26831127"
description: <p>String representation of the object. </p>
references:
- uid: com.microsoft.azure.elasticdb.shard.recovery._recovery_token.RecoveryToken*
name: RecoveryToken
nameWithType: RecoveryToken.RecoveryToken
fullName: com.microsoft.azure.elasticdb.shard.recovery.RecoveryToken.RecoveryToken
package: com.microsoft.azure.elasticdb.shard.recovery
- uid: "26831127"
spec.java:
- name: String
fullName: String
- uid: com.microsoft.azure.elasticdb.shard.recovery._recovery_token.toString*
name: toString
nameWithType: RecoveryToken.toString
fullName: com.microsoft.azure.elasticdb.shard.recovery.RecoveryToken.toString
package: com.microsoft.azure.elasticdb.shard.recovery
- uid: f75371fa
spec.java:
- name: int
fullName: int
- uid: com.microsoft.azure.elasticdb.shard.recovery._recovery_token.hashCode*
name: hashCode
nameWithType: RecoveryToken.hashCode
fullName: com.microsoft.azure.elasticdb.shard.recovery.RecoveryToken.hashCode
package: com.microsoft.azure.elasticdb.shard.recovery
- uid: "79317049"
spec.java:
- name: Object
fullName: Object
- uid: 4fc6e284
spec.java:
- name: boolean
fullName: boolean
- uid: com.microsoft.azure.elasticdb.shard.recovery._recovery_token.equals*
name: equals
nameWithType: RecoveryToken.equals
fullName: com.microsoft.azure.elasticdb.shard.recovery.RecoveryToken.equals
package: com.microsoft.azure.elasticdb.shard.recovery
- uid: com.microsoft.azure.elasticdb.shard.recovery._recovery_token
parent: com.microsoft.azure.elasticdb.shard.recovery
href: com.microsoft.azure.elasticdb.shard.recovery._recovery_token.yml
name: RecoveryToken
nameWithType: RecoveryToken
fullName: com.microsoft.azure.elasticdb.shard.recovery.RecoveryToken
type: Class
summary: <p>Recovery token generated and used by methods of the <xref uid="com.microsoft.azure.elasticdb.shard.recovery._recovery_manager" data-throw-if-not-resolved="false">RecoveryManager</xref> to perform conflict detection and resolution for shard maps. </p>
syntax: *o1
- uid: com.microsoft.azure.elasticdb.shard.recovery._recovery_manager
parent: com.microsoft.azure.elasticdb.shard.recovery
href: com.microsoft.azure.elasticdb.shard.recovery._recovery_manager.yml
name: RecoveryManager
nameWithType: RecoveryManager
fullName: com.microsoft.azure.elasticdb.shard.recovery.RecoveryManager
type: Class
summary: <p>Manages various recovery related tasks for a shard map manager. It helps resolving data corruption issues between shard map information stored locally on the shards and in the global shard map manager database. It also helps with certain 'oops' recovery scenarios where reconstruction of shard maps from database backups or database copies is necessary. Note that some of the recovery methods can cause unrecoverable data loss when not used properly. It is recommend to take backups or copies of all databases that participate in recovery operations. </p>
syntax:
content: public class RecoveryManager