Send feedback
Class Cluster (2.39.5)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.39.5 keyboard_arrow_down
A cluster represents the actual Cloud Bigtable service. Each cluster belongs to a single Cloud
Bigtable instance, and an instance can have up to 2 clusters. When your application sends
requests to a Cloud Bigtable instance, those requests are actually handled by one of the clusters
in the instance.
Static Methods
fromProto(Cluster proto)
public static Cluster fromProto ( Cluster proto )
Wraps a protobuf response.
This method is considered an internal implementation detail and not meant to be used by
applications.
Parameter
Name
Description
proto
com.google.bigtable.admin.v2.Cluster
Methods
equals(Object o)
public boolean equals ( Object o )
Parameter
Name
Description
o
Object
Overrides
getAutoscalingCpuPercentageTarget()
public int getAutoscalingCpuPercentageTarget ()
Get the cpu utilization that the Autoscaler should be trying to achieve. This number is on a
scale from 0 (no utilization) to 100 (total utilization).
Returns
Type
Description
int
getAutoscalingMaxServeNodes()
public int getAutoscalingMaxServeNodes ()
Get the maximum number of nodes to scale up to.
Returns
Type
Description
int
getAutoscalingMinServeNodes()
public int getAutoscalingMinServeNodes ()
Get the minimum number of nodes to scale down to.
Returns
Type
Description
int
getId()
Returns
Type
Description
String
getInstanceId()
public String getInstanceId ()
Returns
Type
Description
String
getKmsKeyName()
public String getKmsKeyName ()
Google Cloud Key Management Service (KMS) settings for a CMEK-protected Bigtable cluster. This
returns the full resource name of the Cloud KMS key in the format
projects/{key_project_id}/locations/{location}/keyRings/{ring_name}/cryptoKeys/{key_name}
Returns
Type
Description
String
getServeNodes()
public int getServeNodes ()
Get the number of nodes allocated to this cluster. More nodes enable higher throughput and more
consistent performance.
Returns
Type
Description
int
getState()
public Cluster . State getState ()
Gets the current state of the cluster
getStorageType()
public StorageType getStorageType ()
The type of storage used by this cluster to serve its parent instance's tables, unless
explicitly overridden.
getStorageUtilizationGibPerNode()
public int getStorageUtilizationGibPerNode ()
Get the storage utilization that the Autoscaler should be trying to achieve. This number is
limited between 2560 (2.5TiB) and 5120 (5TiB) for a SSD cluster and between 8192 (8TiB) and
16384 (16TiB) for an HDD cluster; otherwise it will return INVALID_ARGUMENT error. If this
value is set to 0, it will be treated as if it were set to the default value: 2560 for SSD,
8192 for HDD.
Returns
Type
Description
int
getZone()
Get the zone where this cluster is located.
Returns
Type
Description
String
hashCode()
Returns
Type
Description
int
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-10 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?
{"lastModified": "Last updated 2024-09-10 UTC."}