Package org.hl7.fhir.utilities.npm
Class FilesystemPackageCacheManagerLocks.CacheLock
java.lang.Object
org.hl7.fhir.utilities.npm.FilesystemPackageCacheManagerLocks.CacheLock
- Enclosing class:
- FilesystemPackageCacheManagerLocks
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanLockFileBeHeldByThisProcess(File lockFile) <T> TgetLock()
-
Constructor Details
-
CacheLock
protected CacheLock()
-
-
Method Details
-
getLock
-
doWriteWithLock
public <T> T doWriteWithLock(FilesystemPackageCacheManager.CacheLockFunction<T> f) throws IOException - Throws:
IOException
-
canLockFileBeHeldByThisProcess
- Throws:
IOException
-