Class AwsRepositoryLock

  • All Implemented Interfaces:
    org.apache.jackrabbit.oak.segment.spi.persistence.RepositoryLock

    public class AwsRepositoryLock
    extends java.lang.Object
    implements org.apache.jackrabbit.oak.segment.spi.persistence.RepositoryLock
    • Constructor Detail

      • AwsRepositoryLock

        public AwsRepositoryLock​(DynamoDBClient dynamoDBClient,
                                 java.lang.String lockName)
      • AwsRepositoryLock

        public AwsRepositoryLock​(DynamoDBClient dynamoDBClient,
                                 java.lang.String lockName,
                                 int timeoutSec)
    • Method Detail

      • lock

        public AwsRepositoryLock lock()
                               throws java.io.IOException
        Throws:
        java.io.IOException
      • unlock

        public void unlock()
        Specified by:
        unlock in interface org.apache.jackrabbit.oak.segment.spi.persistence.RepositoryLock