Package com.rpl.rama

Interface RamaClusterManager

All Superinterfaces:
AutoCloseable, Closeable, ClusterManagerBase

public interface RamaClusterManager extends ClusterManagerBase
API for connecting to a Rama cluster and getting clients for depots, PStates, and query topologies. Use static methods on this class to create an instance.
See Also:
  • Method Details

    • open

      static RamaClusterManager open()
      Create a RamaClusterManager instance using configuration in rama.yaml file on classpath. Configuration must contain Conductor connection information. If separate external and internal hostnames are configured, uses external hostnames.
      See Also:
    • open

      static RamaClusterManager open(Map<String,Object> config)
      Create a RamaClusterManager instance using provided configuration. The configuration must contain Conductor connection information in the same form as for rama.yaml. If separate external and internal hostnames are configured, uses external hostnames.
      Parameters:
      config - Explicit configuration map
      See Also:
    • openInternal

      static RamaClusterManager openInternal()
      Create a RamaClusterManager instance using configuration in rama.yaml file on classpath. Configuration must contain Conductor connection information. If separate external and internal hostnames are configured, uses internal hostnames.
      See Also:
    • openInternal

      static RamaClusterManager openInternal(Map<String,Object> config)
      Create a RamaClusterManager instance using provided configuration. The configuration must contain Conductor connection information in the same form as for rama.yaml If separate external and internal hostnames are configured, uses internal hostnames.
      Parameters:
      config - Explicit configuration map
      See Also:
    • getModuleStatus

      rpl.rama.generated.ModuleStatus getModuleStatus(String moduleName)
      Get status of a launched module
      Parameters:
      moduleName - Name of module
      Returns:
      Module status