Class PartialListClustersException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.google.cloud.bigtable.admin.v2.models.PartialListClustersException
All Implemented Interfaces:
Serializable

public class PartialListClustersException extends RuntimeException
Exception thrown when some zones are unavailable and listClusters is unable to return a full cluster list. This exception can be inspected to get a partial list.
See Also:
  • Constructor Details

    • PartialListClustersException

      @InternalApi public PartialListClustersException(List<String> unavailableZones, List<Cluster> clusters)
      This method is considered an internal implementation detail and not meant to be used by applications.
  • Method Details

    • getUnavailableZones

      public List<String> getUnavailableZones()
      A list of zones, whose unavailability caused this error.
    • getClusters

      public List<Cluster> getClusters()
      A partial list of clusters that were found in the available zones.