Class AzureRepositoryLock
- java.lang.Object
-
- org.apache.jackrabbit.oak.segment.azure.AzureRepositoryLock
-
- All Implemented Interfaces:
org.apache.jackrabbit.oak.segment.spi.persistence.RepositoryLock
public class AzureRepositoryLock extends Object implements org.apache.jackrabbit.oak.segment.spi.persistence.RepositoryLock
-
-
Constructor Summary
Constructors Constructor Description AzureRepositoryLock(com.microsoft.azure.storage.blob.CloudBlockBlob blob, Runnable shutdownHook)AzureRepositoryLock(com.microsoft.azure.storage.blob.CloudBlockBlob blob, Runnable shutdownHook, int timeoutSec)
-
-
-
Method Detail
-
lock
public AzureRepositoryLock lock() throws IOException
- Throws:
IOException
-
unlock
public void unlock() throws IOException- Specified by:
unlockin interfaceorg.apache.jackrabbit.oak.segment.spi.persistence.RepositoryLock- Throws:
IOException
-
-