Class FilesExclusiveReadLockCheck
java.lang.Object
org.apache.camel.component.file.azure.strategy.FilesExclusiveReadLockCheck
-
Constructor Summary
ConstructorDescriptionFilesExclusiveReadLockCheck
(boolean fastExistsCheck, long minAge, long minLength) -
Method Summary
Modifier and TypeMethodDescriptionboolean
tryAcquireExclusiveReadLock
(org.apache.camel.component.file.GenericFileOperations<com.azure.storage.file.share.models.ShareFileItem> operations, org.apache.camel.component.file.GenericFile<com.azure.storage.file.share.models.ShareFileItem> file)
-
Constructor Details
-
FilesExclusiveReadLockCheck
public FilesExclusiveReadLockCheck(boolean fastExistsCheck, long minAge, long minLength)
-
-
Method Details
-
tryAcquireExclusiveReadLock
public boolean tryAcquireExclusiveReadLock(org.apache.camel.component.file.GenericFileOperations<com.azure.storage.file.share.models.ShareFileItem> operations, org.apache.camel.component.file.GenericFile<com.azure.storage.file.share.models.ShareFileItem> file)
-