Examples of transferBuffers()


Examples of xbird.util.nio.RemoteMemoryMappedFile.transferBuffers()

        final long pageOffset = toPageOffset(pageId);
        final int[] newPage;
        if(_transfered) {
            RemoteMemoryMappedFile remoteMM = (RemoteMemoryMappedFile) _mmfile;
            newPage = remoteMM.transferBuffers(pageOffset, LOGICAL_PAGE_LENGTH, _pool);
        } else {
            newPage = _mmfile.transferBuffer(pageOffset, LOGICAL_PAGE_LENGTH);
        }
        cacheSlot.setValue(newPage);
        cacheSlot.unpin();
View Full Code Here

Examples of xbird.util.nio.RemoteMemoryMappedFile.transferBuffers()

        final long pageOffset = toPageOffset(pageId);
        final int[] newPage;
        if(_transfered) {
            RemoteMemoryMappedFile remoteMM = (RemoteMemoryMappedFile) _mmfile;
            newPage = remoteMM.transferBuffers(pageOffset, LOGICAL_PAGE_LENGTH, _pool);
        } else {
            newPage = _mmfile.transferBuffer(pageOffset, LOGICAL_PAGE_LENGTH);
        }
        cacheSlot.setValue(newPage);
        cacheSlot.unpin();
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.