Package com.levigo.jadice.document
Interface SourceID
- All Superinterfaces:
StreamSourceID
A
SourceID
uniquely identifies a page using a tuple of information collected during the
reading process:
- the read-ID of the read operation during which the page segment was read
- the index of the stream within the read operation from which the page segment was read
- the index of the page within the stream from which the page segment was read
Page
object.
Implementors of this interface are required to provide useful hashCode() and equals() methods.
-
Method Summary
Modifier and TypeMethodDescriptionint
Get the index of the page within the stream from which the page segment was read.Methods inherited from interface com.levigo.jadice.document.StreamSourceID
getReadID, getStreamIndex
-
Method Details
-
getStreamPageIndex
int getStreamPageIndex()Get the index of the page within the stream from which the page segment was read.- Returns:
- the zero-based page index
-