Uses of Interface
aQute.bnd.memoize.Memoize
-
Packages that use Memoize Package Description aQute.bnd.build aQute.bnd.memoize aQute.bnd.osgi -
-
Uses of Memoize in aQute.bnd.build
Fields in aQute.bnd.build declared as Memoize Modifier and Type Field Description private static Memoize<Processor>
Workspace. defaults
(package private) Memoize<Parameters>
Workspace.WorkspaceData. gestalt
(package private) Memoize<Parameters>
Project.RefreshData. installRepositories
(package private) Memoize<java.util.List<RepositoryPlugin>>
Workspace.WorkspaceData. repositories
private Memoize<java.util.List<org.osgi.resource.Resource>>
Project. resources
-
Uses of Memoize in aQute.bnd.memoize
Subinterfaces of Memoize in aQute.bnd.memoize Modifier and Type Interface Description interface
CloseableMemoize<S extends java.lang.AutoCloseable>
Closeable memoizing supplier.Classes in aQute.bnd.memoize that implement Memoize Modifier and Type Class Description (package private) class
CloseableMemoizingSupplier<T extends java.lang.AutoCloseable>
The object can exist in one of three states: initial which means neitherget
orclose
has been called.(package private) class
MemoizingSupplier<T>
The object can exist in one of two states: initial which means the source supplier has not been called or has not returned a value acceptable to the predicate and memoized holds the wrapped supplier.(package private) class
ReferenceMemoizingSupplier<T>
The object can exist in one of two states: cleared which means memoized holds a cleared reference.(package private) class
RefreshingMemoizingSupplier<T>
The object can exist in one of two states: expired which means that System.nanoTime is greater than timebound.Methods in aQute.bnd.memoize that return Memoize Modifier and Type Method Description default Memoize<S>
Memoize. accept(java.util.function.Consumer<? super S> consumer)
Call the consumer with the value of this memoizing supplier.default Memoize<S>
Memoize. filter(java.util.function.Predicate<? super S> predicate)
Filter this memoizing supplier to a new memoizing supplier.default <R> Memoize<R>
Memoize. flatMap(java.util.function.Function<? super S,? extends java.util.function.Supplier<? extends R>> mapper)
Flat map this memoizing supplier to a new memoizing supplier.default Memoize<S>
Memoize. ifPresent(java.util.function.Consumer<? super S> consumer)
If a value is memoized, call the consumer with the value of this memoizing supplier.default <R> Memoize<R>
Memoize. map(java.util.function.Function<? super S,? extends R> mapper)
Map this memoizing supplier to a new memoizing supplier.static <T> Memoize<T>
Memoize. predicateSupplier(java.util.function.Supplier<? extends T> supplier, java.util.function.Predicate<? super T> predicate)
Creates a supplier which memoizes the first value returned by the specified supplier which is accepted by the specified predicate.static <T> Memoize<T>
Memoize. referenceSupplier(java.util.function.Supplier<? extends T> supplier, java.util.function.Function<? super T,? extends java.lang.ref.Reference<? extends T>> reference)
Creates a supplier which memoizes a reference object holding the value returned by the specified supplier.static <T> Memoize<T>
Memoize. refreshingSupplier(java.util.function.Supplier<? extends T> supplier, long time_to_live, java.util.concurrent.TimeUnit unit)
Creates a supplier which memoizes, for the specified time-to-live, the value returned by the specified supplier.static <T,R>
Memoize<R>Memoize. supplier(java.util.function.Function<? super T,? extends R> function, T argument)
Creates a supplier which memoizes the value returned by the specified function applied to the specified argument.static <T> Memoize<T>
Memoize. supplier(java.util.function.Supplier<? extends T> supplier)
Creates a supplier which memoizes the value returned by the specified supplier. -
Uses of Memoize in aQute.bnd.osgi
Fields in aQute.bnd.osgi declared as Memoize Modifier and Type Field Description private static Memoize<java.util.Properties>
About. bndInfo
private static Memoize<ExecutorGroup>
Processor. executors
private Memoize<java.util.List<T>>
PluginsContainer.AbstractPlugin. externals
private Memoize<PluginsContainer>
Processor. pluginsContainer
private static Memoize<java.util.Random>
Processor. random
Methods in aQute.bnd.osgi that return Memoize Modifier and Type Method Description private Memoize<PluginsContainer>
Processor. newPluginsContainer()
Return a memoizer for the PluginsContainer.
-