Package com.coditory.sherlock.reactive
Interface ReactiveDistributedLock
-
public interface ReactiveDistributedLock
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Flow.Publisher<LockResult>
acquire()
Flow.Publisher<LockResult>
acquire(Duration duration)
Flow.Publisher<LockResult>
acquireForever()
String
getId()
Flow.Publisher<UnlockResult>
release()
-
-
-
Method Detail
-
getId
String getId()
-
acquire
Flow.Publisher<LockResult> acquire()
-
acquire
Flow.Publisher<LockResult> acquire(Duration duration)
-
acquireForever
Flow.Publisher<LockResult> acquireForever()
-
release
Flow.Publisher<UnlockResult> release()
-
-