Interface ConcurrentCache


public interface ConcurrentCache
  • Method Summary

    Static Methods
    Modifier and Type
    Method
    Description
    static <ID, RRC> Cache<ID,RRC>
    concurrent(Cache<ID,RRC> delegateCache)
     
    static <ID, RRC> Cache<ID,RRC>
    concurrent(Cache<ID,RRC> delegateCache, long maxAttempts)
     
    static <ID, RRC> Cache<ID,RRC>
    concurrent(Cache<ID,RRC> delegateCache, long maxAttempts, Duration delay)
     
    static <ID, RRC> Cache<ID,RRC>
    concurrent(Cache<ID,RRC> delegateCache, reactor.util.retry.Retry retrySpec)
     
    static <T> reactor.core.publisher.Mono<T>
    execute(reactor.core.publisher.Mono<T> mono, AtomicBoolean shouldRunFlag)
     
    static <T> reactor.core.publisher.Mono<T>
    execute(reactor.core.publisher.Mono<T> mono, AtomicBoolean shouldRunFlag, reactor.util.retry.Retry retrySpec)
     
    static <T extends reactor.util.retry.Retry>
    T
    retryStrategy(T retrySpec, BiFunction<T,Predicate<? super Throwable>,T> filterFunction)
     
  • Method Details

    • concurrent

      static <ID, RRC> Cache<ID,RRC> concurrent(Cache<ID,RRC> delegateCache)
    • concurrent

      static <ID, RRC> Cache<ID,RRC> concurrent(Cache<ID,RRC> delegateCache, long maxAttempts)
    • concurrent

      static <ID, RRC> Cache<ID,RRC> concurrent(Cache<ID,RRC> delegateCache, long maxAttempts, Duration delay)
    • concurrent

      static <ID, RRC> Cache<ID,RRC> concurrent(Cache<ID,RRC> delegateCache, reactor.util.retry.Retry retrySpec)
    • execute

      static <T> reactor.core.publisher.Mono<T> execute(reactor.core.publisher.Mono<T> mono, AtomicBoolean shouldRunFlag)
    • execute

      static <T> reactor.core.publisher.Mono<T> execute(reactor.core.publisher.Mono<T> mono, AtomicBoolean shouldRunFlag, reactor.util.retry.Retry retrySpec)
    • retryStrategy

      static <T extends reactor.util.retry.Retry> T retryStrategy(T retrySpec, BiFunction<T,Predicate<? super Throwable>,T> filterFunction)