Interface LockHandlerFactoryPluginExtension

    • Method Detail

      • getLockHandler

        LockHandler getLockHandler()
        Get the lock handler for the current handled protocol. Might be null if not supported.
        Returns:
        The lock handler for this extension, or null if not supported.
      • isLockingSupported

        boolean isLockingSupported​(java.lang.String protocol)
        Check if a lock handler can be provided for a specific protocol.
        Parameters:
        protocol - The URL protocol (like "http" or "file")
        Returns:
        true if this extension can return a lock handler for the protocol.