Package com.coditory.sherlock.reactive
Interface ReactiveSherlock
-
public interface ReactiveSherlock
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ReactiveDistributedLock
createLock(String lockId)
ReactiveDistributedLock
createLock(String lockId, Duration duration)
ReactiveDistributedLock
createOverridingLock(String lockId)
ReactiveDistributedLock
createOverridingLock(String lockId, Duration duration)
ReactiveDistributedLock
createReentrantLock(String lockId)
ReactiveDistributedLock
createReentrantLock(String lockId, Duration duration)
String
getInstanceId()
Duration
getLockDuration()
default <T> T
map(Function<ReactiveSherlock,T> mapper)
-
-
-
Method Detail
-
getInstanceId
String getInstanceId()
-
getLockDuration
Duration getLockDuration()
-
createReentrantLock
ReactiveDistributedLock createReentrantLock(String lockId)
-
createReentrantLock
ReactiveDistributedLock createReentrantLock(String lockId, Duration duration)
-
createLock
ReactiveDistributedLock createLock(String lockId)
-
createLock
ReactiveDistributedLock createLock(String lockId, Duration duration)
-
createOverridingLock
ReactiveDistributedLock createOverridingLock(String lockId)
-
createOverridingLock
ReactiveDistributedLock createOverridingLock(String lockId, Duration duration)
-
map
default <T> T map(Function<ReactiveSherlock,T> mapper)
-
-