@InterfaceAudience.Private public class MetricsREST extends Object
Constructor and Description |
---|
MetricsREST() |
Modifier and Type | Method and Description |
---|---|
MetricsRESTSource |
getSource() |
void |
incrementFailedAppendRequests(int inc) |
void |
incrementFailedDeleteRequests(int inc) |
void |
incrementFailedGetRequests(int inc) |
void |
incrementFailedIncrementRequests(int inc) |
void |
incrementFailedPutRequests(int inc) |
void |
incrementFailedScanRequests(int inc) |
void |
incrementRequests(int inc) |
void |
incrementSucessfulAppendRequests(int inc) |
void |
incrementSucessfulDeleteRequests(int inc) |
void |
incrementSucessfulGetRequests(int inc) |
void |
incrementSucessfulIncrementRequests(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.public void incrementSucessfulAppendRequests(int inc)
inc
- How much to add to sucessfulAppendCount.public void incrementFailedAppendRequests(int inc)
inc
- How much to add to failedAppendCount.public void incrementSucessfulIncrementRequests(int inc)
inc
- How much to add to sucessfulIncrementCount.public void incrementFailedIncrementRequests(int inc)
inc
- How much to add to failedIncrementCount.Copyright © 2007–2019 Cloudera. All rights reserved.