T
public final class Expiring<T> extends Object implements Supplier<T>
The delegate supplier is only called on executions of get() if the result isn't already calculated.
get()
static <T> Expiring<T>
suppliedBy(Supplier<T> supplier, long duration, TimeUnit unit)
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public static <T> Expiring<T> suppliedBy(Supplier<T> supplier, long duration, TimeUnit unit)
public T get()
get
Supplier<T>
Copyright © 2020. All rights reserved.