Constructor and Description |
---|
Stats() |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
void |
error(String operation) |
int |
getErrorCount(String operation) |
List<Overseer.FailedOp> |
getFailureDetails(String operation) |
int |
getQueueLength() |
Map<String,Overseer.Stat> |
getStats() |
int |
getSuccessCount(String operation) |
void |
setQueueLength(int queueLength) |
void |
storeFailureDetails(String operation,
ZkNodeProps request,
SolrResponse resp) |
void |
success(String operation) |
com.codahale.metrics.Timer.Context |
time(String operation) |
public Map<String,Overseer.Stat> getStats()
public int getSuccessCount(String operation)
public int getErrorCount(String operation)
public void success(String operation)
public void error(String operation)
public com.codahale.metrics.Timer.Context time(String operation)
public void storeFailureDetails(String operation, ZkNodeProps request, SolrResponse resp)
public List<Overseer.FailedOp> getFailureDetails(String operation)
public int getQueueLength()
public void setQueueLength(int queueLength)
public void clear()
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.