Class AppProfile.MultiClusterRoutingPolicy (2.39.4)

public static class AppProfile.MultiClusterRoutingPolicy implements AppProfile.RoutingPolicy

A RoutingPolicy that tells Cloud Bigtable that it can route each request to any available cluster.

Inheritance

Object > AppProfile.MultiClusterRoutingPolicy

Static Methods

of()

public static AppProfile.MultiClusterRoutingPolicy of()

Creates a new instance of MultiClusterRoutingPolicy.

Returns
Type Description
AppProfile.MultiClusterRoutingPolicy

of(String[] clusterIds)

public static AppProfile.MultiClusterRoutingPolicy of(String[] clusterIds)

Creates a new instance of MultiClusterRoutingPolicy with specified cluster ids to route to.

Parameter
Name Description
clusterIds String[]
Returns
Type Description
AppProfile.MultiClusterRoutingPolicy

of(Set<String> clusterIds)

public static AppProfile.MultiClusterRoutingPolicy of(Set<String> clusterIds)

Creates a new instance of MultiClusterRoutingPolicy with specified cluster ids to route to.

Parameter
Name Description
clusterIds Set<String>
Returns
Type Description
AppProfile.MultiClusterRoutingPolicy

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
Name Description
o Object
Returns
Type Description
boolean
Overrides

getClusterIds()

public Set<String> getClusterIds()
Returns
Type Description
Set<String>

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides