Class AccessRequestManager


  • public class AccessRequestManager
    extends java.lang.Object
    • Method Detail

      • startExpirationHandler

        public void startExpirationHandler()
      • checkObjectAvailability

        public boolean checkObjectAvailability​(java.lang.String containerName,
                                               java.util.List<java.lang.String> objectNames)
                                        throws ContentAddressableStorageException
        Check immediate availability of objects for access. An object is available if it is fully stored on disk. Not found objects are available for immediate access (immediate 404).
        Parameters:
        containerName - container name
        objectNames - list of object names whose immediate availability is to be checked
        Returns:
        true if ALL objects are available, otherwise false.
        Throws:
        ContentAddressableStorageException - on technical exception
      • shutdown

        public void shutdown()
      • generateAccessRequestId

        public static java.lang.String generateAccessRequestId()
        Generates a new random Access Request Id Access Request Id format is {GUID}
        Returns:
        the Access Request Id