Class SemaphoreLock
java.lang.Object
com.broadleafcommerce.audit.service.SemaphoreLock
Convenience wrapper for a
Semaphore
instance to control acquisition and release of
leases.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SemaphoreLock
-
-
Method Details
-
get
public boolean get() -
isEmpty
public boolean isEmpty() -
release
public void release()
-