Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
12c (12.2.1.4.0)
E90869-02
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: 12.2.1.4014 (12.2.1.4014)

Syntax

C#
public int Next(
	int nPartition
)

Parameters

nPartition
Type: System..::..Int32
The partition to start checking from (inclusive).

Return Value

The next marked partition, or -1 if no next marked partition exists in the set

Exceptions

ExceptionCondition
System..::..IndexOutOfRangeException If the specified partition is invalid.

See Also