Interface SwiftAccount
-
- All Superinterfaces:
ModelEntity,Serializable
- All Known Implementing Classes:
SwiftAccountImpl
public interface SwiftAccount extends ModelEntity
An Account representation for OpenStack Object Storage (Swift)- Author:
- Jeremy Unruh
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetBytesUsed()The total number of bytes that are stored in storage for the account.longgetContainerCount()Map<String,String>getMetadata()The custom account metadata maplonggetObjectCount()The total number of objects that are stored in storage for the account.StringgetTemporaryUrlKey()The secret key value for temporary URLs.
-
-
-
Method Detail
-
getContainerCount
long getContainerCount()
-
getObjectCount
long getObjectCount()
The total number of objects that are stored in storage for the account.- Returns:
- total number of objects
-
getBytesUsed
long getBytesUsed()
The total number of bytes that are stored in storage for the account.- Returns:
- total number of bytes
-
getTemporaryUrlKey
String getTemporaryUrlKey()
The secret key value for temporary URLs. If not set (null), this header is not returned by this operation.- Returns:
- the secret key value or null
-
-