public class AzureRepositoryLock extends Object implements org.apache.jackrabbit.oak.segment.spi.persistence.RepositoryLock
| Constructor and Description |
|---|
AzureRepositoryLock(com.microsoft.azure.storage.blob.CloudBlockBlob blob,
Runnable shutdownHook) |
AzureRepositoryLock(com.microsoft.azure.storage.blob.CloudBlockBlob blob,
Runnable shutdownHook,
int timeoutSec) |
public AzureRepositoryLock(com.microsoft.azure.storage.blob.CloudBlockBlob blob,
Runnable shutdownHook)
public AzureRepositoryLock(com.microsoft.azure.storage.blob.CloudBlockBlob blob,
Runnable shutdownHook,
int timeoutSec)
public AzureRepositoryLock lock() throws IOException
IOExceptionpublic void unlock()
throws IOException
unlock in interface org.apache.jackrabbit.oak.segment.spi.persistence.RepositoryLockIOExceptionCopyright © 2012–2021 The Apache Software Foundation. All rights reserved.