Package com.yahoo.config.provision
Class ApplicationMutex
java.lang.Object
com.yahoo.config.provision.ApplicationMutex
- All Implemented Interfaces:
com.yahoo.transaction.Mutex
,AutoCloseable
A type-safe wrapper for an application's provision lock.
- Author:
- mpolden
-
Constructor Summary
ConstructorDescriptionApplicationMutex
(ApplicationId application, com.yahoo.transaction.Mutex lock) -
Method Summary
-
Constructor Details
-
ApplicationMutex
-
-
Method Details
-
application
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfacecom.yahoo.transaction.Mutex
-