public class HashContainerMetadata extends Object
| Constructor and Description |
|---|
HashContainerMetadata(String containerName,
HashFileSystemHelper fsHelper)
Default constructor .
|
HashContainerMetadata(String containerName,
HashFileSystemHelper fsHelper,
boolean existingContainer)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
String |
getContainerName() |
long |
getNbObjects() |
long |
getUsedBytes() |
void |
updateAndMarshall(long diffNbObjects,
long diffUsedBytes)
Synchronized method to update the object
|
public HashContainerMetadata(String containerName, HashFileSystemHelper fsHelper)
containerName - fsHelper - public HashContainerMetadata(String containerName, HashFileSystemHelper fsHelper, boolean existingContainer)
containerName - fsHelper - existingContainer - : boolean to indicate if it is a new container or an existing containerpublic void updateAndMarshall(long diffNbObjects,
long diffUsedBytes)
diffNbObjects - diffUsedBytes - public String getContainerName()
public long getNbObjects()
public long getUsedBytes()
Copyright © 2018 Vitam. All rights reserved.