Interface ContentAddressableStorage

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void createContainer​(java.lang.String containerName)
      Creates a container
      java.lang.String createReadOrderRequest​(java.lang.String containerName, java.util.List<java.lang.String> objectsIds)
      Create read order (asynchronous read from tape to local FS) for the given objects representing the data at location containerName/objectId.
      void deleteObject​(java.lang.String containerName, java.lang.String objectName)
      Deletes a object representing the data at location containerName/objectName
      ContainerInformation getContainerInformation​(java.lang.String containerName)
      Get container information like capacity
      ObjectContent getObject​(java.lang.String containerName, java.lang.String objectName)
      Retrieves an object representing the data at location containerName/objectName
      java.lang.String getObjectDigest​(java.lang.String containerName, java.lang.String objectName, DigestType algo, boolean noCache)
      compute Object Digest using a defined algorithm
      MetadatasObject getObjectMetadata​(java.lang.String containerName, java.lang.String objectId, boolean noCache)
      get metadata of the object
      boolean isExistingContainer​(java.lang.String containerName)
      Determines if a container exists
      boolean isExistingObject​(java.lang.String containerName, java.lang.String objectName)
      Determines if an object exists
      void listContainer​(java.lang.String containerName, ObjectListingListener objectListingListener)
      List container objects
      java.lang.String putObject​(java.lang.String containerName, java.lang.String objectName, java.io.InputStream stream, DigestType digestType, java.lang.Long size)
      Adds an object representing the data at location containerName/objectName
      void removeReadOrderRequest​(java.lang.String readRequestID)
      Purge all read request id to cleanup local FS