@Path(value="/active")
public class ActiveResource
extends java.lang.Object
implements com.aol.micro.server.auto.discovery.CommonRestResource, com.aol.micro.server.auto.discovery.SingletonRestResource, com.aol.micro.server.reactive.Reactive
| Constructor and Description |
|---|
ActiveResource(java.util.List<RequestsBeingExecuted> activeQueries,
JobsBeingExecuted activeJobs) |
| Modifier and Type | Method and Description |
|---|---|
void |
activeJobs(javax.ws.rs.container.AsyncResponse asyncResponse) |
void |
activeRequests(javax.ws.rs.container.AsyncResponse asyncResponse,
java.lang.String type) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait@Autowired public ActiveResource(java.util.List<RequestsBeingExecuted> activeQueries, JobsBeingExecuted activeJobs)
@GET
@Produces(value="application/json")
@Path(value="/requests")
public void activeRequests(@Suspended
javax.ws.rs.container.AsyncResponse asyncResponse,
@QueryParam(value="type")
java.lang.String type)
@GET
@Produces(value="application/json")
@Path(value="/jobs")
public void activeJobs(@Suspended
javax.ws.rs.container.AsyncResponse asyncResponse)