Package org.burningwave.core
Class Cache.ObjectAndPathForResources<T,R>
java.lang.Object
org.burningwave.core.Cache.ObjectAndPathForResources<T,R>
- All Implemented Interfaces:
AutoCloseable,Cleanable,Closeable,Component,Identifiable,Properties.Listener,Memorizer
- Enclosing class:
- Cache
public static class Cache.ObjectAndPathForResources<T,R> extends Object implements Component
-
Constructor Summary
Constructors Constructor Description ObjectAndPathForResources()ObjectAndPathForResources(Long partitionStartLevel)ObjectAndPathForResources(Long partitionStartLevel, Function<R,R> sharer)ObjectAndPathForResources(Long partitionStartLevel, Function<R,R> sharer, BiConsumer<String,R> itemDestroyer) -
Method Summary
Modifier and Type Method Description Cache.ObjectAndPathForResources<T,R>clear()Cache.ObjectAndPathForResources<T,R>clear(boolean destroyItems)Rget(T object, String path)RgetOrUploadIfAbsent(T object, String path, Supplier<R> resourceSupplier)Cache.PathForResources<R>remove(T object, boolean destroyItems)RremovePath(T object, String path)RremovePath(T object, String path, boolean destroyItem)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.burningwave.core.Closeable
close, closeResources, closeResources, createCloseResoucesTask, createCloseResoucesTaskMethods inherited from interface org.burningwave.core.Identifiable
getId, getOperationIdMethods inherited from interface org.burningwave.core.Memorizer
getOrCreateTemporaryFolder, getOrCreateTemporaryFolder, getTemporaryFolderPrefixMethods inherited from interface org.burningwave.core.iterable.Properties.Listener
listenTo, processChangeNotification, unregister