// Wait for termination and return response public HankResponse getResponse() { try { this.get(); } catch (Exception e) { String errMsg = "Exception while executing future GET: " + e.getMessage(); LOG.error(errMsg, e); return HankResponse.xception(HankException.internal_error(errMsg)); } return runnable.getResponse(); }
@Override protected HankBulkResponse getBulkCore(int domain_id, List<ByteBuffer> keys) throws TException { return HankBulkResponse.xception(HankException.internal_error("Internal Error")); }
@Override protected HankResponse getCore(int domain_id, ByteBuffer key) throws TException { return HankResponse.xception(HankException.internal_error("Internal Error")); }