Package org.apache.jackrabbit.oak.fixture.OakFixture

Examples of org.apache.jackrabbit.oak.fixture.OakFixture.SegmentFixture


    @Override
    protected void tearDown(RepositoryFixture fixture) throws IOException {
        if (fixture instanceof OakRepositoryFixture) {
            OakFixture oakFixture = ((OakRepositoryFixture) fixture).getOakFixture();
            if(oakFixture instanceof SegmentFixture){
                SegmentFixture sf = (SegmentFixture) oakFixture;
                long size = sf.getStores()[0].size();

                if(sf.getBlobStoreFixtures().length > 0) {
                    size = sf.getBlobStoreFixtures()[0].size();
                }

                File indexDir = indexDirs.get(fixture);
                if(indexDir != null){
                    size += FileUtils.sizeOfDirectory(indexDir);
View Full Code Here

TOP

Related Classes of org.apache.jackrabbit.oak.fixture.OakFixture.SegmentFixture

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.