Class AzureRepositoryLockV8
java.lang.Object
org.apache.jackrabbit.oak.segment.azure.v8.AzureRepositoryLockV8
- All Implemented Interfaces:
org.apache.jackrabbit.oak.segment.spi.persistence.RepositoryLock
public class AzureRepositoryLockV8
extends Object
implements org.apache.jackrabbit.oak.segment.spi.persistence.RepositoryLock
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAzureRepositoryLockV8(com.microsoft.azure.storage.blob.CloudBlockBlob blob, Runnable shutdownHook, org.apache.jackrabbit.oak.segment.remote.WriteAccessController writeAccessController) AzureRepositoryLockV8(com.microsoft.azure.storage.blob.CloudBlockBlob blob, Runnable shutdownHook, org.apache.jackrabbit.oak.segment.remote.WriteAccessController writeAccessController, int timeoutSec) -
Method Summary
-
Field Details
-
LEASE_DURATION_PROP
- See Also:
-
RENEWAL_INTERVAL_PROP
- See Also:
-
TIME_TO_WAIT_BEFORE_WRITE_BLOCK_PROP
- See Also:
-
-
Constructor Details
-
AzureRepositoryLockV8
public AzureRepositoryLockV8(com.microsoft.azure.storage.blob.CloudBlockBlob blob, Runnable shutdownHook, org.apache.jackrabbit.oak.segment.remote.WriteAccessController writeAccessController) -
AzureRepositoryLockV8
public AzureRepositoryLockV8(com.microsoft.azure.storage.blob.CloudBlockBlob blob, Runnable shutdownHook, org.apache.jackrabbit.oak.segment.remote.WriteAccessController writeAccessController, int timeoutSec)
-
-
Method Details
-
lock
- Throws:
IOException
-
unlock
- Specified by:
unlockin interfaceorg.apache.jackrabbit.oak.segment.spi.persistence.RepositoryLock- Throws:
IOException
-