Examples of release()


Examples of org.rstudio.core.client.Barrier.Token.release()

      {
         eventBus_.fireEvent(new LastChanceSaveEvent(barrier));
      }
      finally
      {
         token.release();
     
   }
  
  
   private void init(PresentationState state)
View Full Code Here

Examples of org.scale7.cassandra.pelops.pool.IThriftPool.IPooledConnection.release()

                {
                    IPooledConnection connection = getConnection();
                    org.apache.cassandra.thrift.Cassandra.Client thriftClient = connection.getAPI();
                    List<KeySlice> ks = thriftClient.get_range_slices(new ColumnParent(m.getTableName()),
                            slicePredicate, Selector.newKeyRange("", "", maxResult), getConsistencyLevel());
                    connection.release();
                    entities = onCounterColumn(m, isRelation, relations, ks);
                }
                catch (InvalidRequestException irex)
                {
                    log.error("Error during executing find, Caused by: .", irex);
View Full Code Here

Examples of org.snmp4j.agent.agentx.master.index.AgentXIndexRegistry.IndexRegistryEntry.release()

    }
    else {
      if (entry.getIndexType().getSyntax() != vb.getSyntax()) {
        return AgentXProtocol.AGENTX_INDEX_NOT_ALLOCATED;
      }
      return entry.release(sessionID, vb.getVariable(), testOnly);
    }
  }

  public void release(int sessionID) {
    synchronized (indexes) {
View Full Code Here

Examples of org.sonatype.aether.SyncContext.release()

                        }
                    }
                }
                finally
                {
                    syncContext.release();
                }
            }
        }
        catch ( Exception e )
        {
View Full Code Here

Examples of org.springframework.beans.factory.access.BeanFactoryReference.release()

    // nobody used the reference
   
    BeanFactoryReference ref1;
    try {
      ref1 = locator1.useBeanFactory(INSTANCE_1);
      ref1.release();
      BeanFactoryReference ref2 = locator2.useBeanFactory(INSTANCE_2);
      ref2.release();

    }
    catch (IllegalArgumentException e) {
View Full Code Here

Examples of org.tmatesoft.hg.internal.CompleteRepoLock.release()

      }
      return new Outcome(Kind.Success, "Commit ok");
    } catch (HgRuntimeException ex) {
      throw new HgLibraryFailureException(ex);
    } finally {
      repoLock.release();
    }
  }

  public Nodeid getCommittedRevision() {
    if (newRevision == null) {
View Full Code Here

Examples of org.tmatesoft.hg.repo.HgRepositoryLock.release()

        throw ex;
      }
    } catch (HgRuntimeException ex) {
      throw new HgLibraryFailureException(ex);
    } finally {
      wdLock.release();
    }
  }

  private void initHeadsAndAncestor(int csetIndexB) throws HgBadArgumentException {
    firstCset = secondCset = ancestorCset = BAD_REVISION;
View Full Code Here

Examples of org.voltdb.dtxn.UndoAction.release()

        for (final ListIterator<UndoAction> iterator = undoLog.listIterator(undoLog.size()); iterator.hasPrevious();) {
            final UndoAction action = iterator.previous();
            if (undo)
                action.undo();
            else
                action.release();
        }
    }

    private void setLastCommittedSpHandle(long spHandle)
    {
View Full Code Here

Examples of org.voltdb.jni.ExecutionEngine.release()

        assertEquals(eehash, javahash);
        assertNotSame(0, eehash);
        assertTrue(eehash < partitionCount);
        assertTrue(eehash >= 0);

        try { ee.release(); } catch (Exception e) {}
    }

    @Test
    public void testSameLongHash1() throws Exception {
        int partitionCount = 2;
View Full Code Here

Examples of org.voltdb.jni.ExecutionEngineJNI.release()

        assertEquals(eehash, javahash);
        assertNotSame(0, eehash);
        assertTrue(eehash < partitionCount);
        assertTrue(eehash >= 0);

        try { ee.release(); } catch (Exception e) {}
    }

    @Test
    public void testSameLongHash1() throws Exception {
        int partitionCount = 2;
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.