Examples of release()


Examples of org.apache.roller.business.Roller.release()

                    mLogger.debug(
                            MessageFormat.format("Indexed entry {0}: {1}",
                            new Object[] {entry.getPubTime(), entry.getAnchor()}));
                }
                // release the database connection
                roller.release();
            }
        } catch (Exception e) {
            mLogger.error("ERROR adding doc to index", e);
        } finally {
            endWriting();
View Full Code Here

Examples of org.apache.roller.model.Roller.release()

            mLogger.error("ERROR adding doc to index", e);
        }
        finally
        {
            endWriting();
            if (roller != null) roller.release();
        }

        Date end = new Date();
        double length = (end.getTime() - start.getTime()) / (double) 1000;
View Full Code Here

Examples of org.apache.roller.weblogger.business.Weblogger.release()

                        "Job = "+this.job.getClass().getName(), t);
            }
           
            // since this is a thread we have to make sure that we tidy up ourselves
            Weblogger roller = WebloggerFactory.getWeblogger();
            roller.release();
        }
       
    }
   
   
View Full Code Here

Examples of org.apache.sling.commons.threads.ThreadPoolManager.release()

                this.logger.debug(PREFIX + "stopped.");
            }
        }
        final ThreadPoolManager tpm = this.threadPoolManager;
        if ( tpm != null && this.threadPool != null ) {
            tpm.release(this.threadPool);
        }
        this.threadPool = null;
    }

View Full Code Here

Examples of org.apache.sling.discovery.impl.setup.WithholdingAppender.release()

        } finally {
            if (withholdingAppender!=null) {
                if (failure) {
                    logger.info("doTest("+size+","+loopCnt+"): writing muted log output due to failure...");
                }
                withholdingAppender.release(failure);
                if (!failure) {
                    logger.info("doTest("+size+","+loopCnt+"): not writing muted log output due to success...");
                }
            }
            logger.info("doTest("+size+","+loopCnt+"): unmuted log output.");
View Full Code Here

Examples of org.apache.struts.chain.contexts.ActionContext.release()

            // Execute the exception processing chain??
            throw new ServletException(e);
        }

        // Release the context.
        context.release();
    }

    /**
     * <p>Provide the initialized <code>ActionContext</code> instance which
     * will be used by this request. Internally, this simply calls
View Full Code Here

Examples of org.apache.synapse.commons.util.TemporaryData.release()

        TemporaryData serialized =
                (TemporaryData) msgContext.getProperty(NhttpConstants.SERIALIZED_BYTES);
        try {
            serialized.writeTo(out);
        } finally {
            serialized.release();
        }
    }

    /**
     * Determine the HttpStatusCodedepending on the message type processed <br>
View Full Code Here

Examples of org.apache.synapse.util.jaxp.SourceBuilder.release()

           
            try {
                transformer.transform(sourceBuilder.getSource((OMElement)sourceNode),
                                      resultBuilder.getResult());
            } finally {
                sourceBuilder.release();
            }

            synLog.traceOrDebug("Transformation completed - processing result");

            // get the result OMElement
View Full Code Here

Examples of org.apache.tomcat.lite.http.HttpRequest.release()

        HttpRequest aclient = HttpClient.newClient().request(url);
        aclient.send();
        aclient.readAll(out,
                //Long.MAX_VALUE);//
                2000000);
        aclient.release(); // return connection to pool
        return out;
    }

    public static BBuffer getUrl(String path) throws IOException {
        BBuffer out = BBuffer.allocate();
View Full Code Here

Examples of org.apache.tomcat.lite.io.BBucket.release()

                bucket = body.popLen((int) bodys.remaining);
                out.queue(bucket);
                while (bucket != null) {
                    bucket = body.popFirst();
                    if (bucket != null) {
                        bucket.release();
                    }
                }

                // forced close
                //close();
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.