public class Cluster extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Cluster.State |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static Cluster |
fromProto(Cluster proto)
Wraps a protobuf response.
|
int |
getAutoscalingCpuPercentageTarget()
Get the cpu utilization that the Autoscaler should be trying to achieve.
|
int |
getAutoscalingMaxServeNodes()
Get the maximum number of nodes to scale up to.
|
int |
getAutoscalingMinServeNodes()
Get the minimum number of nodes to scale down to.
|
String |
getId()
Gets the cluster's id.
|
String |
getInstanceId()
Gets the instance id.
|
String |
getKmsKeyName()
Google Cloud Key Management Service (KMS) settings for a CMEK-protected Bigtable cluster.
|
int |
getServeNodes()
Get the number of nodes allocated to this cluster.
|
Cluster.State |
getState()
Gets the current state of the cluster
|
StorageType |
getStorageType()
The type of storage used by this cluster to serve its parent instance's tables, unless
explicitly overridden.
|
int |
getStorageUtilizationGibPerNode()
Get the storage utilization that the Autoscaler should be trying to achieve.
|
String |
getZone()
Get the zone where this cluster is located.
|
int |
hashCode() |
@InternalApi public static Cluster fromProto(Cluster proto)
This method is considered an internal implementation detail and not meant to be used by applications.
public String getId()
public String getInstanceId()
public String getZone()
public Cluster.State getState()
public int getServeNodes()
public int getAutoscalingMinServeNodes()
public int getAutoscalingMaxServeNodes()
public int getAutoscalingCpuPercentageTarget()
public int getStorageUtilizationGibPerNode()
public StorageType getStorageType()
public String getKmsKeyName()
Copyright © 2022 Google LLC. All rights reserved.