public class NodeMetricsServlet extends ServletBase
| Modifier and Type | Field and Description |
|---|---|
protected BackgroundMetricsAccessor |
_accessor |
protected AtomicBoolean |
_indent |
protected static String |
QUERY_PARAM_FULL
Query parameter to further request server to obtain full
statistics, not just cheap ones.
|
protected static String |
QUERY_PARAM_INDENT
Can also explicitly request indentation (or lack thereof)
|
protected static String |
QUERY_PARAM_REFRESH
Query parameter to request server to refresh its stats
|
_basePath, _clusterView, _timeMaster, LOG| Constructor and Description |
|---|
NodeMetricsServlet(SharedServiceStuff stuff,
BackgroundMetricsAccessor accessor) |
| Modifier and Type | Method and Description |
|---|---|
void |
handleGet(ServletServiceRequest request,
ServletServiceResponse response,
com.fasterxml.storemate.store.util.OperationDiagnostics metadata)
GET is used for simple access of cluster status
|
void |
setIndent(boolean state) |
_addStdHeaders, _trimPath, constructMetadata, constructRequest, constructResponse, doDelete, doGet, doHead, doPost, doPut, getClusterView, handleDelete, handleHead, handlePost, handlePutdoOptions, doTrace, getLastModified, service, serviceprotected static final String QUERY_PARAM_REFRESH
protected static final String QUERY_PARAM_FULL
protected static final String QUERY_PARAM_INDENT
protected final BackgroundMetricsAccessor _accessor
protected final AtomicBoolean _indent
public NodeMetricsServlet(SharedServiceStuff stuff, BackgroundMetricsAccessor accessor)
public void setIndent(boolean state)
public void handleGet(ServletServiceRequest request, ServletServiceResponse response, com.fasterxml.storemate.store.util.OperationDiagnostics metadata) throws IOException
handleGet in class ServletBaseIOExceptionCopyright © 2012-2014 fasterxml.com. All Rights Reserved.