Class FunctionConsistencyMonitor.ConsistentSupplier<T>

java.lang.Object
com.illumon.iris.db.v2.locations.FunctionConsistencyMonitor.ConsistentSupplier<T>
Type Parameters:
T - the return type of this supplier
All Implemented Interfaces:
Supplier<T>
Direct Known Subclasses:
CompositeTableDataServiceConsistencyMonitor.ConsistentSupplier
Enclosing class:
FunctionConsistencyMonitor

public static class FunctionConsistencyMonitor.ConsistentSupplier<T>
extends Object
implements Supplier<T>
A supplier that uses a FunctionConsistencyMonitor to ensure that multiple invocations to the same function always return the same value, even if underlying conditions (like the date) change.