|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OperationResult<R>
Method Summary | |
---|---|
int |
getAttemptsCount()
Return the number of times the operation had to be retried. |
Host |
getHost()
Get the host on which the operation was performed |
long |
getLatency()
Return the length of time to perform the operation. |
long |
getLatency(TimeUnit units)
Return the length of time to perform the operation. |
R |
getResult()
Get the result data |
void |
setAttemptsCount(int count)
Set the number of attempts executing this connection |
Method Detail |
---|
Host getHost()
R getResult()
long getLatency()
long getLatency(TimeUnit units)
units
-
int getAttemptsCount()
void setAttemptsCount(int count)
count
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |