org.jclouds.blobstore.strategy.internal
Class CountBlobTypeInList

java.lang.Object
  extended by org.jclouds.blobstore.strategy.internal.CountBlobTypeInList
All Implemented Interfaces:
CountListStrategy

@Singleton
public class CountBlobTypeInList
extends Object
implements CountListStrategy

counts all blobs in the blobstore at the prefix by the most efficient means possible.

Author:
Adrian Cole

Field Summary
protected  ListBlobsInContainer getAllBlobMetadata
           
 
Method Summary
 long execute(String container)
           
 long execute(String container, ListContainerOptions options)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

getAllBlobMetadata

protected final ListBlobsInContainer getAllBlobMetadata
Method Detail

execute

public long execute(String container,
                    ListContainerOptions options)
Specified by:
execute in interface CountListStrategy

execute

public long execute(String container)


Copyright © 2009-2011 jclouds. All Rights Reserved.