public void complete() { try { clientRequest.complete(); Object result = clientRequest.getResult(); invokeCallback(result, (System.nanoTime() - startNs) / Time.NS_PER_MS); } catch (Exception e) { invokeCallback(e, (System.nanoTime() - startNs) / Time.NS_PER_MS); } finally { pool.checkin(destination, clientRequestExecutor); isComplete = true; } }
public T getResult() throws VoldemortException, IOException { return clientRequest.getResult(); }