Examples of release()


Examples of aleph.dir.DirectoryManager.release()

        DirectoryManager locator = HyFlow.getLocator();
        for(AbstractDistinguishable distinguishable:acquiredObjects){
          if(incrementVersion)
            ((AbstractLoggableObject)distinguishable).__incVersion();
          ((AbstractLoggableObject)distinguishable).__release();
          locator.release(distinguishable);
          Logger.debug("Release :" + distinguishable.getId());
        }
      } finally {
        if(clear){
          Logger.debug(txnId + ": Remove from registery");
View Full Code Here

Examples of anvil.database.PooledConnection.release()

      _zone.log().error("Operation failed", e);
      e.fillInStackTrace();
      throw e;
     
    } finally {
      impl.release();
    }
   
  }

View Full Code Here

Examples of bm.db.RowSet.release()

                                            ) ).intValue()
                            );
                            break;

                        case RELEASE:
                            rowSet.release();
                            break;
                    }
                }
                catch( Exception e )
                {
View Full Code Here

Examples of brooklyn.location.docker.DockerHostLocation.release()

        DockerHostLocation hostLoc = dockerHost.getDynamicLocation();

        DockerContainerLocation containerLoc = hostLoc.obtain();
        DockerContainer container = (DockerContainer) Iterables.getOnlyElement(dockerHost.getDockerContainerList());
        assertNotNull(container);
        hostLoc.release(containerLoc);
        assertTrue(dockerHost.getDockerContainerList().isEmpty(), "containers="+dockerHost.getDockerContainerList());
        //assertMembersEqualEventually(dockerInfrastructure.getContainerFabric(), ImmutableSet.<Entity>of());
    }

    private void assertMembersEqualEventually(final Group group, final Iterable<? extends Entity> entities) {
View Full Code Here

Examples of com.aelitis.net.udp.uc.PRUDPReleasablePacketHandler.release()

    }finally{

      packet_handler.setExplicitBindAddress( null );

      handler.release();
    }
  }

  protected void
  preProcessReply(
View Full Code Here

Examples of com.alibaba.dubbo.common.bytecode.ClassGenerator.release()

    {
      throw new RuntimeException(e.getMessage());
    }
    finally
    {
      cg.release();
    }
  }

  private static Builder<?> newObjectBuilder(final Class<?> c)
  {
View Full Code Here

Examples of com.alibaba.otter.canal.common.zookeeper.running.ServerRunningMonitor.release()

    private void stopCanalInstanceIfNecessary(ClientIdentity clientIdentity) {
        List<ClientIdentity> clientIdentitys = embededServer.listAllSubscribe(clientIdentity.getDestination());
        if (clientIdentitys != null && clientIdentitys.size() == 1 && clientIdentitys.contains(clientIdentity)) {
            ServerRunningMonitor runningMonitor = ServerRunningMonitors.getRunningMonitor(clientIdentity.getDestination());
            if (runningMonitor.isStart()) {
                runningMonitor.release();
            }
        }
    }

    private TimeUnit convertTimeUnit(int unit) {
View Full Code Here

Examples of com.alibaba.rocketmq.remoting.common.SemaphoreReleaseOnlyOnce.release()

            final SemaphoreReleaseOnlyOnce once = new SemaphoreReleaseOnlyOnce(this.semaphoreOneway);
            try {
                channel.writeAndFlush(request).addListener(new ChannelFutureListener() {
                    @Override
                    public void operationComplete(ChannelFuture f) throws Exception {
                        once.release();
                        if (!f.isSuccess()) {
                            plog.warn("send a request command to channel <" + channel.remoteAddress()
                                    + "> failed.");
                            plog.warn(request.toString());
                        }
View Full Code Here

Examples of com.alibaba.rocketmq.store.GetMessageResult.release()

                            new ManyMessageTransfer(response.encodeHeader(getMessageResult
                                .getBufferTotalSize()), getMessageResult);
                    channel.writeAndFlush(fileRegion).addListener(new ChannelFutureListener() {
                        @Override
                        public void operationComplete(ChannelFuture future) throws Exception {
                            getMessageResult.release();
                            if (!future.isSuccess()) {
                                log.error(
                                    "transfer many message by pagecache failed, " + channel.remoteAddress(),
                                    future.cause());
                            }
View Full Code Here

Examples of com.alibaba.rocketmq.store.QueryMessageResult.release()

                        new QueryMessageTransfer(response.encodeHeader(queryMessageResult
                            .getBufferTotalSize()), queryMessageResult);
                ctx.channel().writeAndFlush(fileRegion).addListener(new ChannelFutureListener() {
                    @Override
                    public void operationComplete(ChannelFuture future) throws Exception {
                        queryMessageResult.release();
                        if (!future.isSuccess()) {
                            log.error("transfer query message by pagecache failed, ", future.cause());
                        }
                    }
                });
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.