public abstract class UsesReadWriteLock extends UsesLock
ReadWriteLock| Modifier and Type | Field and Description |
|---|---|
protected Lock |
readLock |
protected ReadWriteLock |
readWriteLock |
protected Lock |
writeLock |
| Constructor and Description |
|---|
UsesReadWriteLock() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
withReadLock(org.mule.runtime.core.api.util.func.CheckedRunnable delegate) |
protected <T> T |
withReadLock(org.mule.runtime.core.api.util.func.CheckedSupplier<T> delegate) |
protected void |
withWriteLock(org.mule.runtime.core.api.util.func.CheckedRunnable delegate) |
protected <T> T |
withWriteLock(org.mule.runtime.core.api.util.func.CheckedSupplier<T> delegate) |
safeUnlock, withLock, withLockprotected final ReadWriteLock readWriteLock
protected final Lock readLock
protected final Lock writeLock
protected void withReadLock(org.mule.runtime.core.api.util.func.CheckedRunnable delegate)
protected <T> T withReadLock(org.mule.runtime.core.api.util.func.CheckedSupplier<T> delegate)
protected void withWriteLock(org.mule.runtime.core.api.util.func.CheckedRunnable delegate)
protected <T> T withWriteLock(org.mule.runtime.core.api.util.func.CheckedSupplier<T> delegate)
Copyright © 2024 MuleSoft, Inc.. All rights reserved.