Interface ReactiveGuard


public interface ReactiveGuard
  • Field Details

    • DEFAULT_TIMEOUT

      static final Duration DEFAULT_TIMEOUT
  • Method Details

    • withReadLock

      <T> reactor.core.publisher.Mono<T> withReadLock(reactor.core.publisher.Mono<T> mono, Duration timeout, Supplier<T> defaultValueProvider)
    • withReadLock

      <T> reactor.core.publisher.Mono<T> withReadLock(Function<ReactiveGuard.ReactiveWriteGuard<T>,reactor.core.publisher.Mono<T>> writeLockMonoFunction, Duration timeout, Supplier<T> defaultValueProvider)
    • withLock

      <T> reactor.core.publisher.Mono<T> withLock(reactor.core.publisher.Mono<T> mono, Duration timeout, Supplier<T> defaultValueProvider)
    • withReadLock

      default <T> reactor.core.publisher.Mono<T> withReadLock(Supplier<reactor.core.publisher.Mono<T>> monoSupplier)
    • withReadLock

      default <T> reactor.core.publisher.Mono<T> withReadLock(reactor.core.publisher.Mono<T> mono)
    • withReadLock

      default <T> reactor.core.publisher.Mono<T> withReadLock(Supplier<reactor.core.publisher.Mono<T>> monoSupplier, Supplier<T> defaultValueProvider)
    • withReadLock

      default <T> reactor.core.publisher.Mono<T> withReadLock(reactor.core.publisher.Mono<T> mono, Supplier<T> defaultValueProvider)
    • withReadLock

      default <T> reactor.core.publisher.Mono<T> withReadLock(Function<ReactiveGuard.ReactiveWriteGuard<T>,reactor.core.publisher.Mono<T>> writeLockMonoFunction)
    • withReadLock

      default <T> reactor.core.publisher.Mono<T> withReadLock(Function<ReactiveGuard.ReactiveWriteGuard<T>,reactor.core.publisher.Mono<T>> writeLockMonoFunction, Supplier<T> defaultValueProvider)
    • withReadLock

      default <T> reactor.core.publisher.Mono<T> withReadLock(Supplier<reactor.core.publisher.Mono<T>> monoSupplier, Duration timeout, Supplier<T> defaultValueProvider)
    • withLock

      default <T> reactor.core.publisher.Mono<T> withLock(Supplier<reactor.core.publisher.Mono<T>> monoSupplier)
    • withLock

      default <T> reactor.core.publisher.Mono<T> withLock(reactor.core.publisher.Mono<T> mono)
    • withLock

      default <T> reactor.core.publisher.Mono<T> withLock(Supplier<reactor.core.publisher.Mono<T>> monoSupplier, Supplier<T> defaultValueProvider)
    • withLock

      default <T> reactor.core.publisher.Mono<T> withLock(reactor.core.publisher.Mono<T> mono, Supplier<T> defaultValueProvider)
    • withLock

      default <T> reactor.core.publisher.Mono<T> withLock(Supplier<reactor.core.publisher.Mono<T>> monoSupplier, Duration timeout, Supplier<T> defaultValueProvider)
    • createReactiveGuard

      static ReactiveGuard createReactiveGuard()
    • createReactiveGuard

      static ReactiveGuard createReactiveGuard(LockStrategy lockStrategy)
    • reactiveGuardBuilder

      static ReactiveGuard.ReactiveGuardBuilder reactiveGuardBuilder()