Class AwsRepositoryLock

    • 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()
        Description copied from interface: RepositoryLock
        Unlocks the repository, so that it can be used by another SegmentNodeStore.
        Specified by:
        unlock in interface RepositoryLock