try {
try {
CommunicationManager.getManager().send(obj.getOwnerNode(), new ValidateRequest(obj.getId(), hashCode));
} catch (IOException e) {
e.printStackTrace();
throw new TransactionException();
}
Logger.debug("READSET: Wait Remote " + obj + " Validation ...");
wait();
Logger.debug(obj + " [" + clock + " < " + (remoteValidateResult & LockTable.UNLOCK) + "]");
if(clock<(remoteValidateResult & LockTable.UNLOCK)){
Logger.debug("READSET: Remote Validation failed, remote version:" + (remoteValidateResult & LockTable.UNLOCK));
throw new TransactionException();
}
Logger.debug("READSET: Remote Validation " + obj.getId() + " successeded.");
} catch (InterruptedException e) {
e.printStackTrace();
}