Interface ContentAddressableStorage

    • Method Summary

      All Methods Instance Methods Abstract Methods Default Methods 
      Modifier and Type Method Description
      default java.util.Map<java.lang.String,​AccessRequestStatus> checkAccessRequestStatuses​(java.util.List<java.lang.String> accessRequestIds, boolean adminCrossTenantAccessRequestAllowed)
      Checks status of access requests by id.
      default boolean checkObjectAvailability​(java.lang.String containerName, java.util.List<java.lang.String> objectNames)
      Check object availability for async offers.
      void checkObjectDigestAndStoreDigest​(java.lang.String containerName, java.lang.String objectName, java.lang.String objectDigest, DigestType digestType, long size)
      Checks objet digest & update persist its digest in object metadata
      default java.lang.String createAccessRequest​(java.lang.String containerName, java.util.List<java.lang.String> objectNames)
      Create an access request for objects (asynchronous read from tape to local FS).
      void createContainer​(java.lang.String containerName)
      Creates a container
      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
      default java.lang.String putObject​(java.lang.String containerName, java.lang.String objectName, java.io.InputStream inputStream, DigestType digestType, long size)  
      default void removeAccessRequest​(java.lang.String accessRequestId, boolean adminCrossTenantAccessRequestAllowed)
      Delete access request.
      void writeObject​(java.lang.String containerName, java.lang.String objectName, java.io.InputStream inputStream, DigestType digestType, long size)
      Adds an object representing the data at location containerName/objectName