.NET API Reference for Oracle® Coherence Community Edition
(14.1.1.0)
E55634-01
Return an index of the first marked partition that is greater than or
equal to the specified partition. If no such partition exists then -1 is
returned.
This method could be used to iterate over all marked partitions:
for (int i = ps.Next(0); i >= 0; i = ps.Next(i+1))
{
// process partition
}
Namespace:
Tangosol.Net.Partition
Assembly:
Coherence (in Coherence.dll) Version: 14.1.1.1 (14.1.1.1)
Syntaxpublic int Next(
int nPartition
)
Parameters
- nPartition
- Type: SystemInt32
The partition to start checking from (inclusive).
Return Value
Type:
Int32
The next marked partition, or -1 if no next marked partition
exists in the set
Exceptions
See Also