Interface UploadLock

All Superinterfaces:
AutoCloseable
All Known Implementing Classes:
FileBasedLock

public interface UploadLock extends AutoCloseable
Interface that represents a lock on an upload
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    Get the upload URI of the upload that is locked by this lock
    void
    Method to release the lock on an upload when done processing it.
  • Method Details

    • getUploadUri

      String getUploadUri()
      Get the upload URI of the upload that is locked by this lock
      Returns:
      The URI of the locked upload
    • release

      void release()
      Method to release the lock on an upload when done processing it. It's possible that this method is called multiple times within the same request
    • close

      void close() throws IOException
      Specified by:
      close in interface AutoCloseable
      Throws:
      IOException