Package xbird.util.nio

Examples of xbird.util.nio.RemoteMemoryMappedFile$ReadRequestMessage


        }

        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


        this._blockPtr = in.readLong();
        // super members
        this._nameTable = QNameTable.read(in);
        this._strChunk = (IStringChunk) in.readObject();
        // this members
        RemoteMemoryMappedFile mmfile = RemoteMemoryMappedFile.read(in);
        PrivilegedAccessor.unsafeSetField(this, MemoryMappedDocumentTable.class, "_mmfile", mmfile);

        this._nativeByteOrder = in.readBoolean();
    }
View Full Code Here

        // super members
        out.writeLong(_blockPtr);
        _nameTable.writeExternal(out);
        out.writeObject(_strChunk);
        // this members
        RemoteMemoryMappedFile remoteMMFile = _mmfile.externalize();
        remoteMMFile.writeExternal(out);
        out.writeBoolean(_nativeByteOrder);
    }
View Full Code Here

    public String getDocumentIdentifer() {
        if(!_transfered) {
            return null;
        }
        RemoteMemoryMappedFile remoteMmFile = (RemoteMemoryMappedFile) _mmfile;
        return remoteMmFile.getFileIdentifier();
    }
View Full Code Here

        }

        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

        // super members
        this._blockPtr = in.readLong();
        this._nameTable = QNameTable.read(in);
        this._strChunk = (IStringChunk) in.readObject();
        // this members
        RemoteMemoryMappedFile mmfile = RemoteMemoryMappedFile.read(in);
        PrivilegedAccessor.unsafeSetField(this, MemoryMappedDocumentTable.class, "_mmfile", mmfile);

        this._nativeByteOrder = in.readBoolean();
    }
View Full Code Here

        // super members
        out.writeLong(_blockPtr);
        _nameTable.writeExternal(out);
        out.writeObject(_strChunk);
        // this members
        RemoteMemoryMappedFile remoteMMFile = _mmfile.externalize();
        remoteMMFile.writeExternal(out);
        out.writeBoolean(_nativeByteOrder);
    }
View Full Code Here

    public String getDocumentIdentifer() {
        if(!_transfered) {
            return null;
        }
        RemoteMemoryMappedFile remoteMmFile = (RemoteMemoryMappedFile) _mmfile;
        return remoteMmFile.getFileIdentifier();
    }
View Full Code Here

TOP

Related Classes of xbird.util.nio.RemoteMemoryMappedFile$ReadRequestMessage

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.