if(!result)
handler.rollback(txnId);
handler.release(txnId);
}
Logger.debug(txnId + ":sending... " + ((Set<Address>)metadata[NEIGHBOR_TREE_INDEX]));
VoteResult resultMessage = new VoteResult(txnId, result);
for(Address neighbor: ((Set<Address>)metadata[NEIGHBOR_TREE_INDEX])){
Logger.debug(neighbor.toString());
if(!neighbor.equals(from))
try {
resultMessage.send(neighbor);
Logger.debug(txnId + ": Sent ---------------------------------------->" + neighbor);
} catch (IOException e) {
e.printStackTrace();
}
}