@InterfaceAudience.Private public class MetricsREST extends Object
Constructor and Description |
---|
MetricsREST() |
Modifier and Type | Method and Description |
---|---|
MetricsRESTSource |
getSource() |
void |
incrementFailedDeleteRequests(int inc) |
void |
incrementFailedGetRequests(int inc) |
void |
incrementFailedPutRequests(int inc) |
void |
incrementFailedScanRequests(int inc) |
void |
incrementRequests(int inc) |
void |
incrementSucessfulDeleteRequests(int inc) |
void |
incrementSucessfulGetRequests(int inc) |
void |
incrementSucessfulPutRequests(int inc) |
void |
incrementSucessfulScanRequests(int inc) |
public MetricsRESTSource getSource()
public void incrementRequests(int inc)
inc
- How much to add to requests.public void incrementSucessfulGetRequests(int inc)
inc
- How much to add to sucessfulGetCount.public void incrementSucessfulPutRequests(int inc)
inc
- How much to add to sucessfulPutCount.public void incrementFailedPutRequests(int inc)
inc
- How much to add to failedPutCount.public void incrementFailedGetRequests(int inc)
inc
- How much to add to failedGetCount.public void incrementSucessfulDeleteRequests(int inc)
inc
- How much to add to sucessfulDeleteCount.public void incrementFailedDeleteRequests(int inc)
inc
- How much to add to failedDeleteCount.public void incrementSucessfulScanRequests(int inc)
inc
- How much to add to sucessfulScanCount.public void incrementFailedScanRequests(int inc)
inc
- How much to add to failedScanCount.Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.