Package com.hp.hpl.jena.tdb.base.file

Examples of com.hp.hpl.jena.tdb.base.file.BufferAllocatorDirect


    {
        Context context = txn.getBaseDataset().getContext() ;
        String mode = (null != context) ? (String) context.get(TDB.transactionJournalWriteBlockMode, "") : "" ;
        if ("direct".equalsIgnoreCase(mode))
        {
            writeBlockBufferAllocator = new BufferAllocatorDirect() ;
        }
        else if ("mapped".equalsIgnoreCase(mode))
        {
            writeBlockBufferAllocator = new BufferAllocatorMapped(SystemTDB.BlockSize) ;
        }
View Full Code Here


    {
        Context context = txn.getBaseDataset().getContext() ;
        String mode = (null != context) ? (String) context.get(TDB.transactionJournalWriteBlockMode, "") : "" ;
        if ("direct".equalsIgnoreCase(mode))
        {
            writeBlockBufferAllocator = new BufferAllocatorDirect() ;
        }
        else if ("mapped".equalsIgnoreCase(mode))
        {
            writeBlockBufferAllocator = new BufferAllocatorMapped(SystemTDB.BlockSize) ;
        }
View Full Code Here

TOP

Related Classes of com.hp.hpl.jena.tdb.base.file.BufferAllocatorDirect

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.