Package db.buffers
Interface RemoteBufferFileHandle
- All Superinterfaces:
BufferFileHandle
,Remote
RemoteBufferFileHandle
facilitates access to a remote BufferFile
via RMI.
Methods from BufferFileHandle
must 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 to
RemoteObjectInvocationHandler
.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
close()
boolean
delete()
void
dispose()
get
(int index) int
int[]
int
Provides local access to an input block stream.Get an input block stream handle which will facilitate access to a remote InputBlockStream.getOutputBlockStream
(int blockCount) Provides local access to an output block stream.getOutputBlockStreamHandle
(int blockCount) Get an output block stream handle which will facilitate access to a remote InputBlockStream.int
getParameter
(String name) String[]
boolean
void
put
(DataBuffer buf, int index) void
setFreeIndexes
(int[] indexes) void
setParameter
(String name, int value) boolean
-
Method Details
-
isReadOnly
- Specified by:
isReadOnly
in interfaceBufferFileHandle
- Throws:
IOException
- See Also:
-
setReadOnly
- Specified by:
setReadOnly
in interfaceBufferFileHandle
- Throws:
IOException
- See Also:
-
getParameter
- Specified by:
getParameter
in interfaceBufferFileHandle
- Throws:
NoSuchElementException
IOException
- See Also:
-
setParameter
- Specified by:
setParameter
in interfaceBufferFileHandle
- Throws:
IOException
- See Also:
-
clearParameters
- Specified by:
clearParameters
in interfaceBufferFileHandle
- Throws:
IOException
- See Also:
-
getParameterNames
- Specified by:
getParameterNames
in interfaceBufferFileHandle
- Throws:
IOException
- See Also:
-
getBufferSize
- Specified by:
getBufferSize
in interfaceBufferFileHandle
- Throws:
IOException
- See Also:
-
getIndexCount
- Specified by:
getIndexCount
in interfaceBufferFileHandle
- Throws:
IOException
- See Also:
-
getFreeIndexes
- Specified by:
getFreeIndexes
in interfaceBufferFileHandle
- Throws:
IOException
- See Also:
-
setFreeIndexes
- Specified by:
setFreeIndexes
in interfaceBufferFileHandle
- Throws:
IOException
- See Also:
-
close
- Specified by:
close
in interfaceBufferFileHandle
- Throws:
IOException
- See Also:
-
delete
- Specified by:
delete
in interfaceBufferFileHandle
- Throws:
IOException
- See Also:
-
get
- Specified by:
get
in interfaceBufferFileHandle
- Throws:
IOException
- See Also:
-
put
- Specified by:
put
in interfaceBufferFileHandle
- Throws:
IOException
- See Also:
-
dispose
- Specified by:
dispose
in interfaceBufferFileHandle
- Throws:
IOException
- See Also:
-
getInputBlockStream
Description copied from interface:BufferFileHandle
Provides local access to an input block stream. This method should only be used if the associatedBufferFileAdapter.isRemote()
is false.- Specified by:
getInputBlockStream
in interfaceBufferFileHandle
- Throws:
IOException
- See Also:
-
getOutputBlockStream
Description copied from interface:BufferFileHandle
Provides local access to an output block stream. This method should only be used if the associatedBufferFileAdapter.isRemote()
is false.- Specified by:
getOutputBlockStream
in interfaceBufferFileHandle
- Throws:
IOException
- See Also:
-
getInputBlockStreamHandle
Description copied from interface:BufferFileHandle
Get 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:
getInputBlockStreamHandle
in interfaceBufferFileHandle
- Throws:
IOException
- See Also:
-
getOutputBlockStreamHandle
Description copied from interface:BufferFileHandle
Get 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:
getOutputBlockStreamHandle
in interfaceBufferFileHandle
- Throws:
IOException
- See Also:
-