@Path(value="/v1/cluster") public class ClusterStatsResource extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ClusterStatsResource.ClusterStats |
| Constructor and Description |
|---|
ClusterStatsResource(NodeSchedulerConfig nodeSchedulerConfig,
InternalNodeManager nodeManager,
QueryManager queryManager,
ClusterMemoryManager clusterMemoryManager) |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
getClusterMemoryPoolInfo() |
ClusterStatsResource.ClusterStats |
getClusterStats() |
javax.ws.rs.core.Response |
getWorkerMemoryInfo() |
@Inject public ClusterStatsResource(NodeSchedulerConfig nodeSchedulerConfig, InternalNodeManager nodeManager, QueryManager queryManager, ClusterMemoryManager clusterMemoryManager)
@GET @Produces(value="application/json") public ClusterStatsResource.ClusterStats getClusterStats()
@GET @Path(value="memory") public javax.ws.rs.core.Response getClusterMemoryPoolInfo()
@GET @Path(value="workerMemory") public javax.ws.rs.core.Response getWorkerMemoryInfo()
Copyright © 2012–2019. All rights reserved.