static class Elections.RetryPredicate extends java.lang.Object implements Proposer.RetryPredicate
Constructor and Description |
---|
Elections.RetryPredicate(RepNode repNode,
int maxRetries,
java.util.concurrent.CountDownLatch electionLatch) |
Elections.RetryPredicate(RepNode repNode, int maxRetries, java.util.concurrent.CountDownLatch electionLatch)
public boolean retry() throws java.lang.InterruptedException
retry
in interface Proposer.RetryPredicate
java.lang.InterruptedException
public int retries()
retries
in interface Proposer.RetryPredicate
Copyright (c) 2004-2012 Oracle. All rights reserved.