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  ListContainerStrategy listContainer
           
protected  Logger logger
           
protected  Long maxTime
          maximum duration of an blob Request
protected  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 Logger logger

listContainer

protected final ListContainerStrategy listContainer

retryHandler

protected final BackoffLimitedRetryHandler retryHandler

connection

protected final AsyncBlobStore connection

maxTime

@Inject(optional=true)
@Named(value="jclouds.request-timeout")
protected Long maxTime
maximum duration of an blob Request

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-2011 jclouds. All Rights Reserved.