Package com.linkedin.venice.utils.lazy
Class LazyResettableWithTearDown<C>
- java.lang.Object
-
- com.linkedin.venice.utils.lazy.LazyResettableImpl<C>
-
- com.linkedin.venice.utils.lazy.LazyResettableWithTearDown<C>
-
- All Implemented Interfaces:
Lazy<C>
,LazyResettable<C>
public class LazyResettableWithTearDown<C> extends LazyResettableImpl<C>
-
-
Field Summary
-
Fields inherited from class com.linkedin.venice.utils.lazy.LazyResettableImpl
lazy
-
-
Constructor Summary
Constructors Constructor Description LazyResettableWithTearDown(java.util.function.Supplier<C> supplier, java.util.function.Consumer<C> tearDown)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
reset()
Returns to the uninitialized state.-
Methods inherited from class com.linkedin.venice.utils.lazy.LazyResettableImpl
filter, flatMap, get, ifPresent, isPresent, map, orElse, orElseGet, orElseThrow
-
-
-
-
Method Detail
-
reset
public void reset()
Description copied from interface:LazyResettable
Returns to the uninitialized state.- Specified by:
reset
in interfaceLazyResettable<C>
- Overrides:
reset
in classLazyResettableImpl<C>
-
-