Package com.oracle.coherence.client
Class RemoteKeySet.KeysAdvancer
- java.lang.Object
-
- com.oracle.coherence.client.RemoteKeySet.KeysAdvancer
-
- All Implemented Interfaces:
com.tangosol.util.PagedIterator.Advancer
- Enclosing class:
- RemoteKeySet<K,V>
protected static class RemoteKeySet.KeysAdvancer extends Object implements com.tangosol.util.PagedIterator.Advancer
AnPagedIterator.Advancerto support aPagedIteratorover this key set.
-
-
Field Summary
Fields Modifier and Type Field Description protected AsyncNamedCacheClient<?,?>f_clientThe client to use to send gRPC requests.protected com.google.protobuf.BytesValuem_cookieThe opaque cookie used by the server to maintain the page location.protected booleanm_fExhaustedA flag indicating whether this advancer has exhausted all of the pages.
-
Constructor Summary
Constructors Modifier Constructor Description protectedKeysAdvancer(AsyncNamedCacheClient<?,?> client)Constructs a newKeysAdvancer.
-
-
-
Field Detail
-
f_client
protected final AsyncNamedCacheClient<?,?> f_client
The client to use to send gRPC requests.
-
m_fExhausted
protected boolean m_fExhausted
A flag indicating whether this advancer has exhausted all of the pages.
-
m_cookie
protected com.google.protobuf.BytesValue m_cookie
The opaque cookie used by the server to maintain the page location.
-
-
Constructor Detail
-
KeysAdvancer
protected KeysAdvancer(AsyncNamedCacheClient<?,?> client)
Constructs a newKeysAdvancer.- Parameters:
client- theAsyncNamedCacheClient
-
-
Method Detail
-
remove
public void remove(Object o)
- Specified by:
removein interfacecom.tangosol.util.PagedIterator.Advancer
-
nextPage
public Collection nextPage()
- Specified by:
nextPagein interfacecom.tangosol.util.PagedIterator.Advancer
-
-