Class MemoizedReactiveComputable<I,O>

java.lang.Object
space.maxus.flare.react.MemoizedReactiveComputable<I,O>
Type Parameters:
I - The reactive state type.
O - The computed result type.
All Implemented Interfaces:
org.apache.commons.lang3.concurrent.Computable<I,O>, ReactiveSubscriber<I>

public class MemoizedReactiveComputable<I,O> extends Object implements org.apache.commons.lang3.concurrent.Computable<I,O>, ReactiveSubscriber<I>
A `Computable`, that uses a `Memoizer` to cache its results based on reactive state.
  • Constructor Details

    • MemoizedReactiveComputable

      public MemoizedReactiveComputable(org.apache.commons.lang3.concurrent.Memoizer<I,O> delegate)
  • Method Details