Class BasePollingStrategy
java.lang.Object
org.jclouds.glacier.blobstore.strategy.internal.BasePollingStrategy
- All Implemented Interfaces:
PollingStrategy
This implementation waits a fixed amount of time before start polling.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final long
static final long
-
Constructor Summary
ConstructorsConstructorDescriptionBasePollingStrategy
(GlacierClient client) BasePollingStrategy
(GlacierClient client, long initialWait, long timeBetweenPolls) -
Method Summary
-
Field Details
-
DEFAULT_INITIAL_WAIT
public static final long DEFAULT_INITIAL_WAIT -
DEFAULT_TIME_BETWEEN_POLLS
public static final long DEFAULT_TIME_BETWEEN_POLLS
-
-
Constructor Details
-
BasePollingStrategy
-
BasePollingStrategy
-
-
Method Details
-
waitForSuccess
- Specified by:
waitForSuccess
in interfacePollingStrategy
- Throws:
InterruptedException
-