Examples of BufferStats


Examples of com.liveramp.cascading_ext.operation.BufferStats

import com.liveramp.cascading_ext.util.OperationStatsUtils;

public class EveryStats extends SubAssembly {

  private static Buffer decorateBuffer(Buffer buffer) {
    return new BufferStats(OperationStatsUtils.getStackPosition(2), buffer);
  }
View Full Code Here

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

Examples of org.exist.storage.BufferStats

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

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

Examples of org.exist.storage.BufferStats

    }

    public BufferStats getDataBufferStats() {
        if (dataCache == null)
            {return null;}
        return new BufferStats(dataCache.getBuffers(), dataCache.getUsedBuffers(),
            dataCache.getHits(), dataCache.getFails());
    }
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.