Class ContentAddressableStorageAbstract

    • Field Detail

      • LISTING_MAX_RESULTS

        public static final int LISTING_MAX_RESULTS
        Max result for listing option TODO: have to be configurable ?
        See Also:
        Constant Field Values
    • Constructor Detail

      • ContentAddressableStorageAbstract

        protected ContentAddressableStorageAbstract​(StorageConfiguration configuration)
    • Method Detail

      • isExistingContainerInCache

        protected boolean isExistingContainerInCache​(java.lang.String containerName)
        Determines if a container exists in cache
        Parameters:
        containerName - name of container
        Returns:
        boolean type
        Throws:
        ContentAddressableStorageServerException - Thrown when internal server error happens
      • cacheExistsContainer

        protected void cacheExistsContainer​(java.lang.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
        Parameters:
        containerName -
        exists -
      • disableContainerCaching

        public static void disableContainerCaching()