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, wait
forEachRemaining
public RestartingMemberIterator(ClusterService clusterService, int maxRetries)
public <T extends Throwable> void handle(T throwable) throws T extends Throwable
handle
in interface ChainingFuture.ExceptionHandler
T extends Throwable
public int getRetryCount()
Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.