Package com.j_spaces.kernel.list
Class ExternallyLockedStoredList.StoredListIterator<T>
java.lang.Object
com.gigaspaces.internal.utils.threadlocal.AbstractResource
com.j_spaces.kernel.list.ExternallyLockedStoredList.StoredListIterator<T>
- All Implemented Interfaces:
IStoredListIterator<T>
- Enclosing class:
- ExternallyLockedStoredList<T>
public static class ExternallyLockedStoredList.StoredListIterator<T>
extends AbstractResource
implements IStoredListIterator<T>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanprotected voidclean()intGets the subject pointed to by the cursor's scan.voidsetBackwardsScan(boolean backward) voidsetCurrentOI(ExternallyLockedStoredList.ObjectInfo<T> currentOI) voidsetPivotOI(ExternallyLockedStoredList.ObjectInfo<T> pivotOI) intsetScanLimit(int scanLimit) voidsetSubject(T subject) Sets the subject pointed to by the cursor's scan.voidsetTryForwardScan(boolean tryFwdScan) booleanMethods inherited from class com.gigaspaces.internal.utils.threadlocal.AbstractResource
isAvaliable, release, setAvaliableMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.j_spaces.kernel.IStoredListIterator
release
-
Constructor Details
-
StoredListIterator
public StoredListIterator()
-
-
Method Details
-
clean
protected void clean()- Specified by:
cleanin classAbstractResource
-
setCurrentOI
- Parameters:
currentOI- The currentOI to set.
-
getCurrentOI
- Returns:
- Returns the currentOI.
-
setPivotOI
- Parameters:
pivotOI- The pivotOI to set.
-
getPivotOI
- Returns:
- Returns the pivotOI.
-
setSubject
Description copied from interface:IStoredListIteratorSets the subject pointed to by the cursor's scan.- Specified by:
setSubjectin interfaceIStoredListIterator<T>- Parameters:
subject- The subject to set.
-
getSubject
Description copied from interface:IStoredListIteratorGets the subject pointed to by the cursor's scan.- Specified by:
getSubjectin interfaceIStoredListIterator<T>- Returns:
- Returns the subject.
-
setTryForwardScan
public void setTryForwardScan(boolean tryFwdScan) - Parameters:
tryFwdScan- The tryFwdScan to set.
-
tryForwardScan
public boolean tryForwardScan()- Returns:
- Returns the tryFwdScan.
-
setBackwardsScan
public void setBackwardsScan(boolean backward) - Parameters:
backward- The backward to set.
-
backwardsScan
public boolean backwardsScan()- Returns:
- Returns the backward.
-
setScanLimit
public int setScanLimit(int scanLimit) - Parameters:
scanLimit- The scanLimit to set.
-
getScanLimit
public int getScanLimit()- Returns:
- Returns the scanLimit.
-