Class SimpleTaskRetryLooper
java.lang.Object
org.opendaylight.openflowplugin.common.wait.SimpleTaskRetryLooper
Created by mirehak on 4/28/15.
-
Constructor Summary
ConstructorDescriptionSimpleTaskRetryLooper
(long tick, int maxRetries) It retries the task passed to its method loopUntilNoException a number of times (maxRetries). -
Method Summary
-
Constructor Details
-
SimpleTaskRetryLooper
public SimpleTaskRetryLooper(long tick, int maxRetries) It retries the task passed to its method loopUntilNoException a number of times (maxRetries).- Parameters:
tick
- sleep between steps in milisecondsmaxRetries
- retries limit
-
-
Method Details
-
loopUntilNoException
- Throws:
Exception
-