public class RestartingMemberIterator extends Object implements Iterator<Member>, ChainingFuture.ExceptionHandler
It can be used from multiple threads, but not concurrently.
| Constructor and Description |
|---|
RestartingMemberIterator(ClusterService clusterService,
int maxRetries) |
| Modifier and Type | Method and Description |
|---|---|
int |
getRetryCount() |
<T extends Throwable> |
handle(T throwable) |
boolean |
hasNext() |
Member |
next() |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic RestartingMemberIterator(ClusterService clusterService, int maxRetries)
public <T extends Throwable> void handle(T throwable) throws T extends Throwable
handle in interface ChainingFuture.ExceptionHandlerT extends Throwablepublic int getRetryCount()
Copyright © 2020 Hazelcast, Inc.. All Rights Reserved.