Guava Supplier

Example

// CostlySupplier::generateBigNumber 가 실제 데이터를 제공해줄 lambda
Supplier<String> memoizedSupplier = Suppliers.memoizeWithExpiration(
  CostlySupplier::generateBigNumber, 5, TimeUnit.SECONDS);