Uses of Interface
au.csiro.pathling.utilities.ObjectHolder
Packages that use ObjectHolder
-
Uses of ObjectHolder in au.csiro.pathling.utilities
Classes in au.csiro.pathling.utilities that implement ObjectHolderModifier and TypeClassDescriptionstatic classObjectHolder.KeyedHolder<C extends Serializable,V> An implementation ofObjectHolderthat memoises one instance per distinct configuration within the process.static classObjectHolder.SingletonHolder<C extends Serializable,V> A singleton implementation of ObjectHolder that holds a single instance of something.Methods in au.csiro.pathling.utilities that return ObjectHolderModifier and TypeMethodDescriptionstatic <C extends Serializable,V>
ObjectHolder<C, V> ObjectHolder.perConfiguration(Function<C, V> constructor) Creates the holder memoising one instance per distinct configuration within the process.static <C extends Serializable,V>
ObjectHolder<C, V> ObjectHolder.perConfiguration(Function<C, V> constructor, boolean closeOnShutdown, int shutdownHookPriority) Creates the holder memoising one instance per distinct configuration within the process.static <C extends Serializable,V>
ObjectHolder<C, V> Creates the holder allowing a single instance to be created per process.static <C extends Serializable,V>
ObjectHolder<C, V> ObjectHolder.singleton(Function<C, V> constructor, boolean closeOnShutdown, int shutdownHookPriority) Creates the holder allowing a single instance to be created per process.