Package ch.ethz.vs.rowa.job

Examples of ch.ethz.vs.rowa.job.CommitJob


   * Execute 2PC on all involved replicas.
   * @throws MiddlewareException
   */
  public void commitTransaction(UUID uuid) throws MiddlewareException
  {
    CommitJob commitJob = new CommitJob(uuid,this);
    synchronized(waitingJobList){
      ClientRequests crequest = waitingJobList.get(uuid);
      //System.out.println("running commit: "+crequest.isRunning());
      synchronized (crequest) {
        if(crequest.isRunning()){
View Full Code Here


   * Execute 2PC on all involved replicas.
   * @throws MiddlewareException
   */
  public void commitTransaction(UUID uuid) throws MiddlewareException
  {
    CommitJob commitJob = new CommitJob(uuid,this);
    synchronized(waitingJobList){
      ClientRequests crequest = waitingJobList.get(uuid);
      //System.out.println("running commit: "+crequest.isRunning());
      synchronized (crequest) {
        if(crequest.isRunning()){
View Full Code Here

TOP

Related Classes of ch.ethz.vs.rowa.job.CommitJob

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.