public interface RestoreRedundancyOperation
CompletableFuture that returns
RestoreRedundancyResults.| Modifier and Type | Method and Description |
|---|---|
RestoreRedundancyOperation |
excludeRegions(Set<String> regions)
Exclude specific regions from the restore redundancy operation.
|
RestoreRedundancyOperation |
includeRegions(Set<String> regions)
Specify which regions to include in the restore redundancy operation.
|
RestoreRedundancyResults |
redundancyStatus()
Determines the current redundancy status for the partitioned regions associated with this
operation.
|
RestoreRedundancyOperation |
shouldReassignPrimaries(boolean shouldReassign)
Set whether the restore redundancy operation should reassign primary buckets.
|
CompletableFuture<RestoreRedundancyResults> |
start()
Asynchronously starts a new restore redundancy operation.
|
RestoreRedundancyOperation includeRegions(Set<String> regions)
null, means all regions should be included. Includes take precedence over
excludes.regions - A set containing the names of regions to include.RestoreRedundancyOperationRestoreRedundancyOperation excludeRegions(Set<String> regions)
null, means don't exclude any regions.regions - A set containing the names of regions to exclude.RestoreRedundancyOperationRestoreRedundancyOperation shouldReassignPrimaries(boolean shouldReassign)
true, will result in primary buckets being reassigned for better load balancing
across members.shouldReassign - A boolean indicating whether or not the operation created by this
class should reassign primary bucket hosts.RestoreRedundancyOperationCompletableFuture<RestoreRedundancyResults> start()
CompletableFuture which will return the results of the restore redundancy
operation started by this method.RestoreRedundancyResults redundancyStatus()
RestoreRedundancyResults containing the redundancy information for each
included region.