Examples of abort()


Examples of edu.brown.hstore.estimators.TransactionEstimator.abort()

                    }
                    break;
                case ABORT_USER:
                    if (t_estimator != null) {
                        if (trace.val) LOG.trace("Telling the TransactionEstimator to ABORT " + ts);
                        t_estimator.abort(t_state, status);
                    }
                    if (hstore_conf.site.txn_counters)
                        TransactionCounter.ABORTED.inc(catalog_proc);
                    break;
                case ABORT_MISPREDICT:
View Full Code Here

Examples of entagged.listing.gui.ListingProgressDialog.abort()

      if (lpc.getLastSeriouseException() != null) {
        // Throw it, this blocks exception catch diplays the error.
        throw lpc.getLastSeriouseException();
      }
      // If not aborted, display results
      if (!lpd.abort()) {
        /*
         * Now some statistics must be refreshed if the directory pattern
         * contains a bitrate.
         * If the bitrate pattern is replaced by its value it may
         * be possible a conflict arises.
View Full Code Here

Examples of freenet.io.xfer.PartiallyReceivedBlock.abort()

      final long tStart = System.currentTimeMillis();
      final BlockReceiver br = new BlockReceiver(node.usm, next, uid, prb, this, node.getTicker(), true, realTimeFlag, myTimeoutHandler, true);
     
      if(failNow) {
        if(logMINOR) Logger.minor(this, "Terminating forked transfer on "+this+" from "+next);
        prb.abort(RetrievalException.CANCELLED_BY_RECEIVER, "Cancelling fork", true);
        br.receive(new BlockReceiverCompletion() {

        @Override
        public void blockReceived(byte[] buf) {
            if(!wasFork)
View Full Code Here

Examples of freenet.node.NewPacketFormatKeyContext.AddedAcks.abort()

      }
    }
   
    if(!mustSend) {
      if(moved != null) {
        moved.abort();
      }
      return null;
    }
   
    boolean sendStatsBulk = false, sendStatsRT = false;
View Full Code Here

Examples of freenet.support.io.PrependLengthOutputStream.abort()

            oos = null;
        } catch (Throwable e) {
            Logger.error(this, "Unable to write recovery data for "+req+" : "+e, e);
            System.err.println("Unable to write recovery data for "+req+" : "+e);
            e.printStackTrace();
            oos.abort();
        } finally {
            if(oos != null) oos.close();
        }
    }
   
View Full Code Here

Examples of helma.objectmodel.db.Transactor.abort()

     */
    public void rollback() throws Exception {
        Transactor tx = Transactor.getInstance();
        if (tx != null) {
            String tname = tx.getTransactionName();
            tx.abort();
            tx.begin(tname);
        }
    }

    /**
 
View Full Code Here

Examples of hudson.BulkChange.abort()

            f.get(30, TimeUnit.SECONDS); // if it's taking too long, abort.

            // since there's only one job, we expect there to be just one slave
            assertEquals(1,cloud.numProvisioned);
        } finally {
            bc.abort();
        }
    }

    /**
     * Scenario: we got a lot of jobs all of the sudden, and we need to fire up a few nodes.
View Full Code Here

Examples of hudson.util.AtomicFileWriter.abort()

            // if everything went well, commit this new version
            out.commit();
            SaveableListener.fireOnChange(this, getConfigFile());
        } finally {
            out.abort(); // don't leave anything behind
        }
    }
   

    /* (non-Javadoc)
 
View Full Code Here

Examples of javax.security.auth.spi.LoginModule.abort()

                       state, _options);

      try {
        login.login();
      } catch (Exception e) {
        login.abort();
      }

      login.commit();

      Set<Principal> principals = subject.getPrincipals();
View Full Code Here

Examples of net.jini.core.transaction.Transaction.abort()

        space.write(jce, txn, Lease.FOREVER);
        //destroyJobService(jce);
      } catch(Exception ex) {
        System.out.println("--RMServer- Deleting job service aborted "
                           + ex);
        txn.abort();
      }
      txn.commit();
    } catch(Exception e) {
      System.out.println("--RMServer- Deleting job service aborted "
                         + e);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.