Class DeleteAllKeysInList
- java.lang.Object
-
- org.jclouds.blobstore.strategy.internal.DeleteAllKeysInList
-
- All Implemented Interfaces:
ClearContainerStrategy
,ClearListStrategy
@Singleton public class DeleteAllKeysInList extends Object implements ClearListStrategy, ClearContainerStrategy
Deletes all keys in the container
-
-
Field Summary
Fields Modifier and Type Field Description protected BlobStore
blobStore
protected Logger
logger
protected int
maxErrors
Maximum times to retry an operation.protected long
maxTime
Maximum duration in milliseconds of a request.protected BackoffLimitedRetryHandler
retryHandler
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(String containerName)
void
execute(String containerName, ListContainerOptions listOptions)
-
-
-
Field Detail
-
logger
@Named("jclouds.blobstore") protected Logger logger
-
retryHandler
protected final BackoffLimitedRetryHandler retryHandler
-
blobStore
protected final BlobStore blobStore
-
maxTime
protected long maxTime
Maximum duration in milliseconds of a request.
-
maxErrors
protected int maxErrors
Maximum times to retry an operation.
-
-
Method Detail
-
execute
public void execute(String containerName)
- Specified by:
execute
in interfaceClearContainerStrategy
-
execute
public void execute(String containerName, ListContainerOptions listOptions)
- Specified by:
execute
in interfaceClearListStrategy
-
-