Package org.exist.storage

Examples of org.exist.storage.BrokerPool.available()


                    (String) conf.getProperty(BrokerPool.PROPERTY_DATA_DIR) +
                    "</td></tr>" );
                output.println( "<tr><td>Active instances:</td><td>" +
                    pool.countActiveBrokers() + "</td></tr>" );
                output.println( "<tr><td>Available instances:</td><td>" +
                    pool.available() + "</td></tr>" );
                output.println( "</table>" );
            }
            output.print( "<p><form action=\"" );
            output.print( response.encodeURL( request.getRequestURI() ) );
            output.println( "\" method=\"GET\">" );
View Full Code Here


            addValue("page-size", String.valueOf(instance.getConfiguration().getInteger("db-connection.page-size")));
            addValue("collection-cache-mem", String.valueOf(instance.getConfiguration().getInteger("db-connection.collection-cache-mem")));
            this.contentHandler.startElement(NAMESPACE, "pool", PREFIX + ":pool", atts);
            addValue("max", String.valueOf(instance.getMax()));
            addValue("active", String.valueOf(instance.countActiveBrokers()));
            addValue("available", String.valueOf(instance.available()));
            this.contentHandler.endElement(NAMESPACE, "pool", PREFIX + ":pool");
            genBufferStatus(instance);
            this.contentHandler.endElement(NAMESPACE, "database-instance",
                PREFIX + ":database-instance");
        }
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.