|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.tangosol.net.RefreshableAddressProvider.CircularIterator
protected class RefreshableAddressProvider.CircularIterator
An Iterator implementation that can be converted into circular mode
to allow the remaining addresses and previously skipped addresses to be used; typically set once an address has been accepted
.
Field Summary | |
---|---|
protected boolean |
m_fCircular Whether this Iterator is currently in a circular mode. |
protected java.util.Iterator |
m_iterator The iterator used to implement the AddressProvider interface. |
Constructor Summary | |
---|---|
protected |
RefreshableAddressProvider.CircularIterator() |
Method Summary | |
---|---|
protected java.util.Iterator |
ensureIterator() Return the cache iterator. |
boolean |
hasNext() |
java.lang.Object |
next() |
protected void |
refreshIterator() Set the value of m_iterator to a new iterator from the address list, and ensure the address list is refreshed. |
void |
remove() |
void |
setCircular(boolean fCircular) Set whether the Iterator should operate in a circular mode. |
Field Detail |
---|
protected boolean m_fCircular
protected java.util.Iterator m_iterator
Constructor Detail |
---|
protected RefreshableAddressProvider.CircularIterator()
Method Detail |
---|
public boolean hasNext()
hasNext
in interface java.util.Iterator
public java.lang.Object next()
next
in interface java.util.Iterator
public void remove()
remove
in interface java.util.Iterator
public void setCircular(boolean fCircular)
fCircular
- whether the Iterator should operate in a circular modeprotected java.util.Iterator ensureIterator()
protected void refreshIterator()
m_iterator
to a new iterator from the address list, and ensure the address list is refreshed.
|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |