Class AppProfile.MultiClusterRoutingPolicy
java.lang.Object
com.google.cloud.bigtable.admin.v2.models.AppProfile.MultiClusterRoutingPolicy
- All Implemented Interfaces:
AppProfile.RoutingPolicy
- Enclosing class:
- AppProfile
public static class AppProfile.MultiClusterRoutingPolicy
extends Object
implements AppProfile.RoutingPolicy
A
AppProfile.RoutingPolicy that tells Cloud Bigtable that it can route each request to any
available cluster.-
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()of()Creates a new instance ofAppProfile.MultiClusterRoutingPolicy.Creates a new instance ofAppProfile.MultiClusterRoutingPolicywith specified cluster ids to route to.Creates a new instance ofAppProfile.MultiClusterRoutingPolicywith specified cluster ids to route to.Creates a new instance ofAppProfile.MultiClusterRoutingPolicy.withRowAffinity(String... clusterIds) Creates a new instance ofAppProfile.MultiClusterRoutingPolicywith row affinity enabled and specified cluster ids to route to.withRowAffinity(Set<String> clusterIds) Creates a new instance ofAppProfile.MultiClusterRoutingPolicywith specified cluster ids to route to.
-
Method Details
-
of
Creates a new instance ofAppProfile.MultiClusterRoutingPolicy. -
of
Creates a new instance ofAppProfile.MultiClusterRoutingPolicywith specified cluster ids to route to. -
of
Creates a new instance ofAppProfile.MultiClusterRoutingPolicywith specified cluster ids to route to. -
withRowAffinity
Creates a new instance ofAppProfile.MultiClusterRoutingPolicy. -
withRowAffinity
Creates a new instance ofAppProfile.MultiClusterRoutingPolicywith row affinity enabled and specified cluster ids to route to. -
withRowAffinity
Creates a new instance ofAppProfile.MultiClusterRoutingPolicywith specified cluster ids to route to. -
getClusterIds
-
equals
-
hashCode
public int hashCode()
-