Examples of release()


Examples of org.hsqldb.navigator.RowSetNavigator.release()

        RowSetNavigator navigator = result.getNavigator();
        boolean         next      = navigator.next();

        if (!next) {
            navigator.release();

            return Long.valueOf(0);
        }

        Object[] data = navigator.getCurrent();
View Full Code Here

Examples of org.hsqldb.persist.PersistentStore.release()

            clearAllData(session);

            if (cache != null) {
                database.logger.closeTextCache(this);
                store.release();
            }

            // everything is in order here.
            // At this point table should either have a valid (old) data
            // source and cache or have an empty source and null cache.
View Full Code Here

Examples of org.hsqldb_voltpatches.navigator.RowIterator.release()

                        lookupStore, ValuePool.getInt(currentRow.getPos()),
                        OpTypes.EQUAL);

                result = !lookupIterator.hasNext();

                lookupIterator.release();

                if (result) {
                    currentData = currentRow.getData();

                    if (rangeVar.nonIndexWhereCondition != null
View Full Code Here

Examples of org.hsqldb_voltpatches.persist.PersistentStore.release()

            clearAllData(session);

            if (cache != null) {
                database.logger.closeTextCache(this);
                store.release();
            }

            // everything is in order here.
            // At this point table should either have a valid (old) data
            // source and cache or have an empty source and null cache.
View Full Code Here

Examples of org.huihoo.workflow.store.persistent.UserTransaction.release()

      {
        if (userTransaction != null)
        {
          try
          {
            userTransaction.release();
          }
          catch (TransactionException e)
          {
            ;
          }
View Full Code Here

Examples of org.infinispan.transaction.totalorder.TotalOrderManager.release()

                  resp = new ExceptionResponse(new CacheException("Problems invoking command.", throwable));
               }
               //the ResponseGenerated is null in this case because the return value is a Response
               reply(response, resp);
               if (resp instanceof ExceptionResponse) {
                  totalOrderManager.release(state);
               }
               afterResponseSent(cmd, resp);
            }
         });
      } else {
View Full Code Here

Examples of org.jasig.portal.concurrency.IEntityLock.release()

            ? EntityLockService.instance().newWriteLock(groupType, key, owner)
            : EntityLockService.instance().newWriteLock(groupType, key, owner, secs);

        ILockableEntityGroup group = groupFactory.findLockable(key);
        if ( group == null )
           { lock.release(); }
        else
            { group.setLock(lock); }

        return group;
    }
View Full Code Here

Examples of org.jboss.aerogear.io.netty.handler.codec.sockjs.protocol.CloseFrame.release()

    @Test
    public void content() {
        final CloseFrame closeFrame = new CloseFrame(3000, "Go away!");
        assertThat(closeFrame.content().toString(CharsetUtil.UTF_8), equalTo("c[3000,\"Go away!\"]"));
        closeFrame.release();
    }

}
View Full Code Here

Examples of org.jboss.aerogear.io.netty.handler.codec.sockjs.protocol.Frame.release()

            if (maxBytesLimit(frame.content().readableBytes())) {
                logger.debug("max bytesSize limit reached [{}]", config.maxStreamingBytesSize());
                ctx.writeAndFlush(LastHttpContent.EMPTY_LAST_CONTENT).addListener(ChannelFutureListener.CLOSE);
            }
            frame.release();
        } else {
            ctx.writeAndFlush(ReferenceCountUtil.retain(msg), promise);
        }
    }
View Full Code Here

Examples of org.jboss.aerogear.io.netty.handler.codec.sockjs.protocol.MessageFrame.release()

    public void messages() {
        final String[] messages = {"one", "two", "three"};
        final MessageFrame messageFrame = new MessageFrame(messages);
        assertThat(messageFrame.messages().size(), CoreMatchers.is(3));
        assertThat(messageFrame.messages(), CoreMatchers.hasItems("one", "two", "three"));
        messageFrame.release();
    }

    @Test
    public void createWithNullTerminatedArray() {
        final String[] nullTerminated = {"one", "two", null, "three"};
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.