Groovy Documentation

org.linkedin.glu.agent.rest.resources
[Groovy] Class ProcessResource

java.lang.Object
  org.restlet.resource.ServerResource
      org.linkedin.glu.agent.rest.resources.BaseResource
          org.linkedin.glu.agent.rest.resources.ProcessResource

class ProcessResource
extends BaseResource

Handles resources to get info about the processes

Authors:
ypujante@linkedin.com


Field Summary
 
Fields inherited from class BaseResource
MODULE, log
 
Method Summary
Representation kill(Representation representation)

PUT: send a signal to a process

Representation ps()

GET: return information about the process(es)

 
Methods inherited from class BaseResource
addResponseHeader, doInit, getAgent, getPath, getRequestArgs, getResourceMountPoint, getResponseHeader, noException, toArgs, toArgs, toRepresentation
 

Method Detail

kill

@Put
Representation kill(Representation representation)
PUT: send a signal to a process


ps

@Get
Representation ps()
GET: return information about the process(es)


 

Groovy Documentation