Package db.buffers
Interface RemoteBufferFileHandle
-
- All Superinterfaces:
BufferFileHandle,java.rmi.Remote
public interface RemoteBufferFileHandle extends BufferFileHandle, java.rmi.Remote
RemoteBufferFileHandlefacilitates access to a remote BufferFile via RMI.Methods from
BufferFileHandlemust be re-declared here so they may be properly marshalled for remote invocation via RMI. This became neccessary with an OpenJDK 11.0.6 change made toRemoteObjectInvocationHandler.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Change Modifier and Type Method Description NEW voidclearParameters()NEW voidclose()NEW booleandelete()NEW voiddispose()NEW DataBufferget(int index)NEW intgetBufferSize()NEW int[]getFreeIndexes()NEW intgetIndexCount()NEW InputBlockStreamgetInputBlockStream()Provides local access to an input block stream.NEW BlockStreamHandle<InputBlockStream>getInputBlockStreamHandle()Get an input block stream handle which will facilitate access to a remote InputBlockStream.NEW OutputBlockStreamgetOutputBlockStream(int blockCount)Provides local access to an output block stream.NEW BlockStreamHandle<OutputBlockStream>getOutputBlockStreamHandle(int blockCount)Get an output block stream handle which will facilitate access to a remote InputBlockStream.NEW intgetParameter(java.lang.String name)NEW java.lang.String[]getParameterNames()NEW booleanisReadOnly()NEW voidput(DataBuffer buf, int index)voidsetFreeIndexes(int[] indexes)NEW voidsetParameter(java.lang.String name, int value)NEW booleansetReadOnly()
-
-
-
Method Detail
-
isReadOnly NEW
boolean isReadOnly() throws java.io.IOException- Specified by:
isReadOnlyin interfaceBufferFileHandle- Throws:
java.io.IOException- See Also:
BufferFile.isReadOnly()
-
setReadOnly NEW
boolean setReadOnly() throws java.io.IOException- Specified by:
setReadOnlyin interfaceBufferFileHandle- Throws:
java.io.IOException- See Also:
BufferFile.setReadOnly()
-
getParameter NEW
int getParameter(java.lang.String name) throws java.util.NoSuchElementException, java.io.IOException- Specified by:
getParameterin interfaceBufferFileHandle- Throws:
java.util.NoSuchElementExceptionjava.io.IOException- See Also:
BufferFile.getParameter(java.lang.String)
-
setParameter NEW
void setParameter(java.lang.String name, int value) throws java.io.IOException- Specified by:
setParameterin interfaceBufferFileHandle- Throws:
java.io.IOException- See Also:
BufferFile.setParameter(java.lang.String, int)
-
clearParameters NEW
void clearParameters() throws java.io.IOException- Specified by:
clearParametersin interfaceBufferFileHandle- Throws:
java.io.IOException- See Also:
BufferFile.clearParameters()
-
getParameterNames NEW
java.lang.String[] getParameterNames() throws java.io.IOException- Specified by:
getParameterNamesin interfaceBufferFileHandle- Throws:
java.io.IOException- See Also:
BufferFile.getParameterNames()
-
getBufferSize NEW
int getBufferSize() throws java.io.IOException- Specified by:
getBufferSizein interfaceBufferFileHandle- Throws:
java.io.IOException- See Also:
BufferFile.getBufferSize()
-
getIndexCount NEW
int getIndexCount() throws java.io.IOException- Specified by:
getIndexCountin interfaceBufferFileHandle- Throws:
java.io.IOException- See Also:
BufferFile.getIndexCount()
-
getFreeIndexes NEW
int[] getFreeIndexes() throws java.io.IOException- Specified by:
getFreeIndexesin interfaceBufferFileHandle- Throws:
java.io.IOException- See Also:
BufferFile.getFreeIndexes()
-
setFreeIndexes NEW
void setFreeIndexes(int[] indexes) throws java.io.IOException- Specified by:
setFreeIndexesin interfaceBufferFileHandle- Throws:
java.io.IOException- See Also:
BufferFile.setFreeIndexes(int[])
-
close NEW
void close() throws java.io.IOException- Specified by:
closein interfaceBufferFileHandle- Throws:
java.io.IOException- See Also:
BufferFile.close()
-
delete NEW
boolean delete() throws java.io.IOException- Specified by:
deletein interfaceBufferFileHandle- Throws:
java.io.IOException- See Also:
}
-
get NEW
DataBuffer get(int index) throws java.io.IOException
- Specified by:
getin interfaceBufferFileHandle- Throws:
java.io.IOException- See Also:
BufferFile.get(DataBuffer, int)
-
put NEW
void put(DataBuffer buf, int index) throws java.io.IOException
- Specified by:
putin interfaceBufferFileHandle- Throws:
java.io.IOException- See Also:
BufferFile.put(DataBuffer, int)
-
dispose NEW
void dispose() throws java.io.IOException- Specified by:
disposein interfaceBufferFileHandle- Throws:
java.io.IOException- See Also:
BufferFile.dispose()
-
getInputBlockStream NEW
InputBlockStream getInputBlockStream() throws java.io.IOException
Description copied from interface:BufferFileHandleProvides local access to an input block stream. This method should only be used if the associatedBufferFileAdapter.isRemote()is false.- Specified by:
getInputBlockStreamin interfaceBufferFileHandle- Throws:
java.io.IOException- See Also:
BufferFileAdapter.getInputBlockStream()
-
getOutputBlockStream NEW
OutputBlockStream getOutputBlockStream(int blockCount) throws java.io.IOException
Description copied from interface:BufferFileHandleProvides local access to an output block stream. This method should only be used if the associatedBufferFileAdapter.isRemote()is false.- Specified by:
getOutputBlockStreamin interfaceBufferFileHandle- Throws:
java.io.IOException- See Also:
BufferFileAdapter.getOutputBlockStream(int)
-
getInputBlockStreamHandle NEW
BlockStreamHandle<InputBlockStream> getInputBlockStreamHandle() throws java.io.IOException
Description copied from interface:BufferFileHandleGet an input block stream handle 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.- Specified by:
getInputBlockStreamHandlein interfaceBufferFileHandle- Throws:
java.io.IOException- See Also:
BufferFileAdapter.getInputBlockStream()
-
getOutputBlockStreamHandle NEW
BlockStreamHandle<OutputBlockStream> getOutputBlockStreamHandle(int blockCount) throws java.io.IOException
Description copied from interface:BufferFileHandleGet an output block stream handle 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.- Specified by:
getOutputBlockStreamHandlein interfaceBufferFileHandle- Throws:
java.io.IOException- See Also:
BufferFileAdapter.getOutputBlockStream(int)
-
-