Examples of RemoteTransaction


Examples of org.infinispan.transaction.xa.RemoteTransaction

   public Object perform(InvocationContext ignored) throws Throwable {
      if (ignored != null)
         throw new IllegalStateException("Expected null context!");

      RemoteTxInvocationContext ctxt = icc.createRemoteTxInvocationContext();
      RemoteTransaction transaction = txTable.getRemoteTransaction(globalTx);

      boolean remoteTxinitiated = transaction != null;
      if (!remoteTxinitiated) {
         //create bogus modifications (we do not know modifications ahead of time)
         //todo - make a create method that does not require creation of a WriteCommand[]
View Full Code Here

Examples of org.infinispan.transaction.xa.RemoteTransaction

   public Object perform(InvocationContext ignored) throws Throwable {
      if (ignored != null)
         throw new IllegalStateException("Expected null context!");

      RemoteTxInvocationContext ctxt = icc.createRemoteTxInvocationContext();
      RemoteTransaction transaction = txTable.getRemoteTransaction(globalTx);

      if (transaction == null) {
         if (unlock) {
            if (log.isTraceEnabled()) {
               log.trace("Unlock for non-existant transaction " + globalTx + ". Not doing anything.");
View Full Code Here

Examples of org.syncany.plugins.transfer.RemoteTransaction

    this.eventBus = LocalEventBus.getInstance();   
    this.options = options;
    this.result = new UpOperationResult();
    this.localDatabase = new SqlDatabase(config);
    this.remoteTransaction = new RemoteTransaction(config, transferManager);
  }
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.