Interface SwiftContainer
-
- All Superinterfaces:
ModelEntity,Serializable
- All Known Implementing Classes:
SwiftContainerImpl
public interface SwiftContainer extends ModelEntity
Represents an OpenStack Swift Container which holds Objects- Author:
- Jeremy Unruh
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Map<String,String>getMetadata()The metadata for the current container.StringgetName()The name of the ContainerintgetObjectCount()The current object count for this containerlonggetTotalSize()The total size of all the objects within this contain in bytes
-
-
-
Method Detail
-
getName
String getName()
The name of the Container- Returns:
- the container name
-
getObjectCount
int getObjectCount()
The current object count for this container- Returns:
- the number of objects
-
getTotalSize
long getTotalSize()
The total size of all the objects within this contain in bytes- Returns:
- total size in bytes
-
-