Package db.buffers
Interface ManagedBufferFileHandle
- All Superinterfaces:
BufferFileHandle
- All Known Subinterfaces:
RemoteManagedBufferFileHandle
ManagedBufferFileHandle
facilitates access to a ManagedBufferFile-
Method Summary
Modifier and TypeMethodDescriptionboolean
canSave()
long
byte[]
getForwardModMapData
(int oldVersion) getInputBlockStream
(byte[] changeMapData) Provides local access to an input block stream for a given change map.getInputBlockStreamHandle
(byte[] changeMapData) Get an input block stream handle, for a given change map, which will facilitate access to a remote InputBlockStream.getNextChangeDataFile
(boolean getFirst) void
saveCompleted
(boolean commit) void
setVersionComment
(String comment) Methods inherited from interface db.buffers.BufferFileHandle
clearParameters, close, delete, dispose, get, getBufferSize, getFreeIndexes, getIndexCount, getInputBlockStream, getInputBlockStreamHandle, getOutputBlockStream, getOutputBlockStreamHandle, getParameter, getParameterNames, isReadOnly, put, setFreeIndexes, setParameter, setReadOnly
-
Method Details
-
getSaveFile
- Throws:
IOException
- See Also:
-
saveCompleted
- Throws:
IOException
- See Also:
-
canSave
- Throws:
IOException
- See Also:
-
setVersionComment
- Throws:
IOException
- See Also:
-
getNextChangeDataFile
- Throws:
IOException
- See Also:
-
getSaveChangeDataFile
- Throws:
IOException
- See Also:
-
getCheckinID
- Throws:
IOException
- See Also:
-
getForwardModMapData
- Throws:
IOException
- See Also:
-
getInputBlockStream
Provides local access to an input block stream for a given change map. This method should only be used if the associatedBufferFileAdapter.isRemote()
is false.- Throws:
IOException
- See Also:
-
getInputBlockStreamHandle
BlockStreamHandle<InputBlockStream> getInputBlockStreamHandle(byte[] changeMapData) throws IOException Get an input block stream handle, for a given change map, which will facilitate access to a remote InputBlockStream. The handle will facilitate use of a remote streaming interface. This method should only be used if the associatedBufferFileAdapter.isRemote()
is true.- Throws:
IOException
- See Also:
-