Examples of release()


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

        }
        catch (UnknownHostException e) {
        }
        finally {
            if (selectMapedBufferResult != null) {
                selectMapedBufferResult.release();
            }
        }

        return this.callConsumer(RequestCode.CONSUME_MESSAGE_DIRECTLY, request,
            requestHeader.getConsumerGroup(), requestHeader.getClientId());
View Full Code Here

Examples of com.alkacon.geranium.client.util.TextMetrics.release()

        // measure the actual text width
        Element element = getElement();
        TextMetrics tm = TextMetrics.get(element, textMetricsKey);
        String text = element.getInnerText();
        int textWidth = tm.getWidth(text);
        tm.release();

        if (labelWidth >= textWidth) {
            updateTitle(false);
            return;
        }
View Full Code Here

Examples of com.amazonaws.internal.ResettableInputStream.release()

            return new UploadResult(artifactId);
        } catch (Throwable t) {
            publishProgress(progressListener, ProgressEventType.TRANSFER_FAILED_EVENT);
            throw failure(t);
        } finally {
            is.release();
        }
    }
}
View Full Code Here

Examples of com.cloud.network.guru.NetworkGuru.release()

                NetworkGuru guru = _networkGurus.get(network.getGuruName());
                nic.setState(Nic.State.Releasing);
                _nicDao.update(nic.getId(), nic);
                NicProfile profile = new NicProfile(nic, network, nic.getBroadcastUri(), nic.getIsolationUri(), null,
                        isSecurityGroupSupportedInNetwork(network), getNetworkTag(vmProfile.getHypervisorType(), network));
                if (guru.release(profile, vmProfile, nic.getReservationId())) {
                    applyProfileToNicForRelease(nic, profile);
                    nic.setState(Nic.State.Allocated);
                    if (originalState == Nic.State.Reserved) {
                        updateNic(nic, network.getId(), -1);
                    } else {
View Full Code Here

Examples of com.couchbase.client.deps.io.netty.handler.codec.memcache.FullMemcacheMessage.release()

            CompositeByteBuf content = (CompositeByteBuf) currentMessage.content();

            if (content.readableBytes() > getMaxContentLength() - chunk.content().readableBytes()) {
                tooLongFrameFound = true;

                currentMessage.release();
                this.currentMessage = null;

                throw new TooLongFrameException("Memcache content length exceeded " + getMaxContentLength()
                    + " bytes.");
            }
View Full Code Here

Examples of com.ericsson.ssa.sip.SipSessionManager.release()

     */
    public void destroy() throws Exception {
        super.destroy();
        SipSessionManager sipSessMgr = getSipSessionManager();
        if (sipSessMgr != null) {
            sipSessMgr.release();
            sipSessMgr = null;
        }
        sipSessionManager = null; // required to release sessionmanager.
        lifecycle = null; // required to release servletdispatcher.
        pipeline = null; // required to release servletdispatcher.
View Full Code Here

Examples of com.esotericsoftware.kryo.io.ByteBufferInput.release()

      ByteBufferOutput outputBuffer = new ByteBufferOutput(bufAddress, 4096);
      outputBuffer.writeInt(10);

      ByteBufferInput inputBuffer = new ByteBufferInput(outputBuffer.getByteBuffer());
      inputBuffer.readInt();
      inputBuffer.release();

      outputBuffer.release();
      outputBuffer = new UnsafeMemoryOutput(bufAddress, 4096);
      outputBuffer.writeInt(10);
View Full Code Here

Examples of com.esotericsoftware.kryo.io.ByteBufferOutput.release()

      ByteBufferInput inputBuffer = new ByteBufferInput(outputBuffer.getByteBuffer());
      inputBuffer.readInt();
      inputBuffer.release();

      outputBuffer.release();
      outputBuffer = new UnsafeMemoryOutput(bufAddress, 4096);
      outputBuffer.writeInt(10);

      inputBuffer = new UnsafeMemoryInput(outputBuffer.getByteBuffer());
      inputBuffer.readInt();
View Full Code Here

Examples of com.eviware.soapui.impl.rest.support.XmlBeansRestParamsTestPropertyHolder.release()

        httpRequest.setEndpoint( HttpUtils.ensureEndpointStartsWithProtocol( dialog.getValue( Form.ENDPOINT ) ) );
        httpRequest.setMethod( dialog.getValue( Form.HTTPMETHOD ) );
        XmlBeansRestParamsTestPropertyHolder tempParams = new XmlBeansRestParamsTestPropertyHolder( testCase,
            httpRequest.addNewParameters() );
        tempParams.addParameters( params );
        tempParams.release();

        TestStepConfig testStep = TestStepConfig.Factory.newInstance();
        testStep.setType( HTTPREQUEST_TYPE );
        testStep.setConfig( httpRequest );
        testStep.setName( dialog.getValue( Form.STEPNAME ) );
View Full Code Here

Examples of com.eviware.soapui.impl.wsdl.mock.dispatch.MockOperationDispatcher.release()

        }

        getConfig().setDispatchStyle(MockOperationDispatchStyleConfig.Enum.forString(dispatchStyle));

        if (dispatcher != null) {
            dispatcher.release();
        }

        setDispatcher(MockOperationDispatchRegistry.buildDispatcher(dispatchStyle, this));

        notifyPropertyChanged(DISPATCH_STYLE_PROPERTY, old, dispatchStyle);
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.