|
Oracle® Coherence Java API Reference Release 12.1.2.0.3 E26043-02 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.oracle.common.collections.AbstractStableIterator
com.tangosol.net.partition.PartitionedIterator
public class PartitionedIterator
An Iterator that iterates over keys in a partition-by-partition or member-by-member manner.
Field Summary | |
---|---|
static int |
OPT_BY_MEMBER An option to iterate one member at a time. |
static int |
OPT_BY_PARTITION An option to iterate one partition at a time. |
static int |
OPT_ENTRIES An option to iterate Map Entry objects. |
static int |
OPT_KEYS An option to iterate the Map keys. |
static int |
OPT_RANDOMIZED An option to iterate the members or partitions in a randomized order. |
Constructor Summary | |
---|---|
PartitionedIterator(NamedCache cache, Filter filter, PartitionSet setPids, int nOptions) Construct PartitionedIterator that will provide iteration of the keys of the specified cache using the specified filter, but will only query one partition or one member at a time. |
Method Summary | |
---|---|
protected void |
advance() |
protected void |
remove(java.lang.Object oPrev) |
Methods inherited from class com.oracle.common.collections.AbstractStableIterator |
---|
getPrevious, hasMoreElements, hasNext, next, nextElement, remove, setNext |
Field Detail |
---|
public static final int OPT_KEYS
public static final int OPT_ENTRIES
public static final int OPT_BY_PARTITION
public static final int OPT_BY_MEMBER
public static final int OPT_RANDOMIZED
Constructor Detail |
---|
public PartitionedIterator(NamedCache cache, Filter filter, PartitionSet setPids, int nOptions)
cache
- the cache to queryfilter
- the query expressed as a FiltersetPids
- the partitions to execute the query againstnOptions
- pass a bit-or'd combination of any of the OPT_* constantsMethod Detail |
---|
protected void advance()
advance
in class com.oracle.common.collections.AbstractStableIterator
protected void remove(java.lang.Object oPrev)
remove
in class com.oracle.common.collections.AbstractStableIterator
|
Oracle® Coherence Java API Reference Release 12.1.2.0.3 E26043-02 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |