public class

JobQueuesResource

extends ServerResource
java.lang.Object
   ↳ org.restlet.resource.Resource
     ↳ org.restlet.resource.ServerResource
       ↳ org.apache.helix.webapp.resources.JobQueuesResource

Class Overview

Class for server-side resource at "/clusters/{clusterName}/jobQueues"

  • GET list all job queues
  • POST add a new job queue

  • Summary

    Public Constructors
    JobQueuesResource()
    Public Methods
    Representation get()
    List all job queues

    Usage: curl http://{host:port}/clusters/{clusterName}/jobQueues

    Representation post(Representation entity)
    Add a new job queue

    Usage: curl -d @'{jobQueueConfig.yaml}' -H 'Content-Type: application/json' http://{host:port}/clusters/{clusterName}/jobQueues

    For jobQueueConfig.yaml, see parse(String)

    [Expand]
    Inherited Methods
    From class org.restlet.resource.ServerResource
    From class org.restlet.resource.Resource
    From class java.lang.Object

    Public Constructors

    public JobQueuesResource ()

    Public Methods

    public Representation get ()

    List all job queues

    Usage: curl http://{host:port}/clusters/{clusterName}/jobQueues

    public Representation post (Representation entity)

    Add a new job queue

    Usage: curl -d @'{jobQueueConfig.yaml}' -H 'Content-Type: application/json' http://{host:port}/clusters/{clusterName}/jobQueues

    For jobQueueConfig.yaml, see parse(String)