org.jclouds.blobstore.strategy.internal
Class DeleteAllKeysInList

java.lang.Object
  extended by 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

Author:
Adrian Cole

Field Summary
protected  AsyncBlobStore connection
           
protected  org.jclouds.logging.Logger logger
           
protected  int maxErrors
          Maximum times to retry an operation.
protected  long maxTime
          Maximum duration in milliseconds of a request.
protected  org.jclouds.http.handlers.BackoffLimitedRetryHandler retryHandler
           
 
Method Summary
 void execute(String containerName)
           
 void execute(String containerName, ListContainerOptions options)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

@Named(value="jclouds.blobstore")
protected org.jclouds.logging.Logger logger

retryHandler

protected final org.jclouds.http.handlers.BackoffLimitedRetryHandler retryHandler

connection

protected final AsyncBlobStore connection

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 interface ClearContainerStrategy

execute

public void execute(String containerName,
                    ListContainerOptions options)
Specified by:
execute in interface ClearListStrategy


Copyright © 2009-2013 jclouds. All Rights Reserved.