Package org.exist.storage

Examples of org.exist.storage.BufferStats


        {buf.append(nf1.format(dataCache.getHits()/(float)(dataCache.getFails() + dataCache.getHits())));}
        LOGSTATS.info(buf.toString());
}

    public BufferStats getDataBufferStats() {
        return new BufferStats(dataCache.getBuffers(), dataCache.getUsedBuffers(),
            dataCache.getHits(), dataCache.getFails());
    }
View Full Code Here


    public PageHeader createPageHeader() {
        return new BTreePageHeader();
    }

    public BufferStats getIndexBufferStats() {
        return new BufferStats(
            cache.getBuffers(),
            cache.getUsedBuffers(),
            cache.getHits(),
            cache.getFails());
    }
View Full Code Here

    }

    public BufferStats getDataBufferStats() {
        if (dataCache == null)
            {return null;}
        return new BufferStats(dataCache.getBuffers(), dataCache.getUsedBuffers(),
            dataCache.getHits(), dataCache.getFails());
    }
View Full Code Here

TOP

Related Classes of org.exist.storage.BufferStats

Copyright © 2018 www.massapicom. 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.