Package db.buffers
Interface ManagedBufferFileHandle
- 
- All Superinterfaces:
 BufferFileHandle
- All Known Subinterfaces:
 RemoteManagedBufferFileHandle
public interface ManagedBufferFileHandle extends BufferFileHandle
ManagedBufferFileHandlefacilitates access to a ManagedBufferFile 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancanSave()longgetCheckinID()byte[]getForwardModMapData(int oldVersion)InputBlockStreamgetInputBlockStream(byte[] changeMapData)Provides local access to an input block stream for a given change map.BlockStreamHandle<InputBlockStream>getInputBlockStreamHandle(byte[] changeMapData)Get an input block stream handle, for a given change map, which will facilitate access to a remote InputBlockStream.BufferFileHandlegetNextChangeDataFile(boolean getFirst)BufferFileHandlegetSaveChangeDataFile()ManagedBufferFileHandlegetSaveFile()voidsaveCompleted(boolean commit)voidsetVersionComment(java.lang.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 Detail
- 
getSaveFile
ManagedBufferFileHandle getSaveFile() throws java.io.IOException
- Throws:
 java.io.IOException- See Also:
 ManagedBufferFile.getSaveFile()
 
- 
saveCompleted
void saveCompleted(boolean commit) throws java.io.IOException- Throws:
 java.io.IOException- See Also:
 ManagedBufferFile.saveCompleted(boolean)
 
- 
canSave
boolean canSave() throws java.io.IOException- Throws:
 java.io.IOException- See Also:
 ManagedBufferFile.canSave()
 
- 
setVersionComment
void setVersionComment(java.lang.String comment) throws java.io.IOException- Throws:
 java.io.IOException- See Also:
 ManagedBufferFile.setVersionComment(java.lang.String)
 
- 
getNextChangeDataFile
BufferFileHandle getNextChangeDataFile(boolean getFirst) throws java.io.IOException
- Throws:
 java.io.IOException- See Also:
 ManagedBufferFile.getNextChangeDataFile(boolean)
 
- 
getSaveChangeDataFile
BufferFileHandle getSaveChangeDataFile() throws java.io.IOException
- Throws:
 java.io.IOException- See Also:
 ManagedBufferFile.getSaveChangeDataFile()
 
- 
getCheckinID
long getCheckinID() throws java.io.IOException- Throws:
 java.io.IOException- See Also:
 ManagedBufferFile.getCheckinID()
 
- 
getForwardModMapData
byte[] getForwardModMapData(int oldVersion) throws java.io.IOException- Throws:
 java.io.IOException- See Also:
 ManagedBufferFile.getForwardModMapData(int)
 
- 
getInputBlockStream
InputBlockStream getInputBlockStream(byte[] changeMapData) throws java.io.IOException
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:
 java.io.IOException- See Also:
 ManagedBufferFileAdapter.getInputBlockStream(byte[])
 
- 
getInputBlockStreamHandle
BlockStreamHandle<InputBlockStream> getInputBlockStreamHandle(byte[] changeMapData) throws java.io.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:
 java.io.IOException- See Also:
 ManagedBufferFileAdapter.getInputBlockStream(byte[])
 
 - 
 
 -