Class AzureRepositoryLockV8
java.lang.Object
org.apache.jackrabbit.oak.segment.azure.v8.AzureRepositoryLockV8
- All Implemented Interfaces:
RepositoryLock
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAzureRepositoryLockV8
(com.microsoft.azure.storage.blob.CloudBlockBlob blob, Runnable shutdownHook, WriteAccessController writeAccessController) AzureRepositoryLockV8
(com.microsoft.azure.storage.blob.CloudBlockBlob blob, Runnable shutdownHook, 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, WriteAccessController writeAccessController) -
AzureRepositoryLockV8
public AzureRepositoryLockV8(com.microsoft.azure.storage.blob.CloudBlockBlob blob, Runnable shutdownHook, WriteAccessController writeAccessController, int timeoutSec)
-
-
Method Details
-
lock
- Throws:
IOException
-
unlock
Description copied from interface:RepositoryLock
Unlocks the repository, so that it can be used by another SegmentNodeStore.- Specified by:
unlock
in interfaceRepositoryLock
- Throws:
IOException
-