public abstract class ContentAddressableStorageAbstract extends Object implements ContentAddressableStorage
| Modifier and Type | Field and Description |
|---|---|
static int |
LISTING_MAX_RESULTS
Max result for listing option TODO: have to be configurable ?
|
| Modifier | Constructor and Description |
|---|---|
protected |
ContentAddressableStorageAbstract(StorageConfiguration configuration) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
cacheExistsContainer(String containerName,
boolean exists)
This handle cache already existing container
Prevent handling an i/o check container exists
Do only memory check if the container is already exists
|
protected String |
computeObjectDigest(String containerName,
String objectName,
DigestType algo) |
static void |
disableContainerCaching() |
StorageConfiguration |
getConfiguration() |
protected boolean |
isExistingContainerInCache(String containerName)
Determines if a container exists in cache
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateContainer, createReadOrderRequest, deleteObject, getContainerInformation, getObject, getObjectDigest, getObjectMetadata, isExistingContainer, isExistingObject, listContainer, listContainerNext, putObject, removeReadOrderRequestclosepublic static final int LISTING_MAX_RESULTS
protected ContentAddressableStorageAbstract(StorageConfiguration configuration)
public StorageConfiguration getConfiguration()
protected String computeObjectDigest(String containerName, String objectName, DigestType algo) throws ContentAddressableStorageException
protected boolean isExistingContainerInCache(String containerName)
containerName - name of containerContentAddressableStorageServerException - Thrown when internal server error happensprotected void cacheExistsContainer(String containerName, boolean exists)
containerName - exists - public static void disableContainerCaching()
Copyright © 2019 Vitam. All rights reserved.