| Constructor and Description |
|---|
RadosBase() |
| Modifier and Type | Method and Description |
|---|---|
protected <T extends Number> |
handleReturnCode(Callable<T> callable,
String errorMsg,
Object... errorMsgArgs) |
protected final <T extends Number> T handleReturnCode(Callable<T> callable, String errorMsg, Object... errorMsgArgs) throws RadosException
T - the type of number for the return value (Integer, Long, ...)callable - to be callederrorMsg - the error message to be used if any errors occurerrorMsgArgs - the arguments for the error messageRadosException - if callable throws an exception or returns a negative valueCopyright © 2015. All rights reserved.