Package edu.vt.rt.hyflow.core.tm.control.vote

Examples of edu.vt.rt.hyflow.core.tm.control.vote.VoteResult


      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();
        }
    }
View Full Code Here

TOP

Related Classes of edu.vt.rt.hyflow.core.tm.control.vote.VoteResult

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.