Class ServiceDeployment<SERVICE extends Service>

java.lang.Object
io.stargate.sdk.ServiceDeployment<SERVICE>
Type Parameters:
SERVICE - the type of the service in use

public class ServiceDeployment<SERVICE extends Service> extends Object
The http client implements: - load balancing in healthy nodes of the same datacenter - Fail-over across datacenter when no node available
  • Constructor Details

    • ServiceDeployment

      public ServiceDeployment()
      Default constructor.
    • ServiceDeployment

      @SafeVarargs public ServiceDeployment(ServiceDatacenter<SERVICE>... datacenters)
      Constructor with dcs.
      Parameters:
      datacenters - list of datacenter
  • Method Details