Package org.eclipse.emf.spi.cdo
Class CDOSessionProtocol.ChunkRange
java.lang.Object
org.eclipse.emf.spi.cdo.CDOSessionProtocol.ChunkRange
- Enclosing interface:
CDOSessionProtocol
A client/server-coordinate range for a collection chunk request.
- Since:
- 4.31
- Author:
- Eike Stepper
-
Constructor Summary
ConstructorsConstructorDescriptionChunkRange(int accessIndex, int fetchIndex, int fromIndex, int toIndex) Creates a client/server-coordinate range. -
Method Summary
Modifier and TypeMethodDescriptionintintintint
-
Constructor Details
-
ChunkRange
public ChunkRange(int accessIndex, int fetchIndex, int fromIndex, int toIndex) Creates a client/server-coordinate range.- Parameters:
accessIndex- the first client/access index represented by the rangefetchIndex- the corresponding first server/source indexfromIndex- the first client/access index to load, inclusivetoIndex- the last client/access index to load, inclusive
-
-
Method Details
-
getAccessIndex
public int getAccessIndex()- Returns:
- the first client/access index represented by the range
-
getFetchIndex
public int getFetchIndex()- Returns:
- the corresponding first server/source index
-
getFromIndex
public int getFromIndex()- Returns:
- the first client/access index to load, inclusive
-
getToIndex
public int getToIndex()- Returns:
- the last client/access index to load, inclusive
-