com.rackspacecloud.client.cloudfiles
Class FilesAccountInfo

java.lang.Object
  extended by com.rackspacecloud.client.cloudfiles.FilesAccountInfo

public class FilesAccountInfo
extends java.lang.Object


Constructor Summary
FilesAccountInfo(long bytes, int containers)
           
 
Method Summary
 long getBytesUsed()
          Returns the total number of bytes used by all objects in a given account.
 int getContainerCount()
          The number of containers in a given account.
 void setBytesUsed(long bytesUsed)
           
 void setContainerCount(int containerCount)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilesAccountInfo

public FilesAccountInfo(long bytes,
                        int containers)
Method Detail

getBytesUsed

public long getBytesUsed()
Returns the total number of bytes used by all objects in a given account.

Returns:
the bytesUsed

setBytesUsed

public void setBytesUsed(long bytesUsed)
Parameters:
bytesUsed - The number of bytes in the account

getContainerCount

public int getContainerCount()
The number of containers in a given account.

Returns:
the containerCount

setContainerCount

public void setContainerCount(int containerCount)
Parameters:
containerCount - the containerCount to set