Package io.crate.blob.stats

Examples of io.crate.blob.stats.BlobStats.location()


    }

    public BlobStats blobStats() {
        final BlobStats stats = new BlobStats();

        stats.location(blobContainer().getBaseDirectory().getAbsolutePath());
        stats.availableSpace(blobContainer().getBaseDirectory().getFreeSpace());
        blobContainer().walkFiles(null, new BlobContainer.FileVisitor() {
            @Override
            public boolean visit(File file) {
                stats.totalUsage(stats.totalUsage() + file.length());
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.