Package org.voltdb.types

Examples of org.voltdb.types.AntiCacheDBType.ordinal()


        if (debug.val) {
            LOG.debug("Initializing anti-cache feature at partition " + this.executor.getPartitionId());
            LOG.debug("****************");
            LOG.debug(String.format("Partition #%d AntiCache Directory: %s",
                      this.executor.getPartitionId(), dbDir.getAbsolutePath()));
            LOG.debug(String.format("AntiCacheDBType: %d", dbtype.ordinal()));
        }
     
        final int errorCode = nativeAntiCacheInitialize(this.pointer, dbDir.getAbsolutePath(), blockSize, dbtype.ordinal());
        checkErrorCode(errorCode);
        m_anticache = true;
View Full Code Here


            LOG.debug(String.format("Partition #%d AntiCache Directory: %s",
                      this.executor.getPartitionId(), dbDir.getAbsolutePath()));
            LOG.debug(String.format("AntiCacheDBType: %d", dbtype.ordinal()));
        }
     
        final int errorCode = nativeAntiCacheInitialize(this.pointer, dbDir.getAbsolutePath(), blockSize, dbtype.ordinal());
        checkErrorCode(errorCode);
        m_anticache = true;
    }
   
    @Override
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.