Package org.burningwave.core
Class Cache.ObjectAndPathForResources<T,R>
java.lang.Object
org.burningwave.core.Cache.ObjectAndPathForResources<T,R>
-
Constructor Summary
ConstructorsConstructorDescriptionObjectAndPathForResources(Long partitionStartLevel) ObjectAndPathForResources(Long partitionStartLevel, Function<R, R> sharer) ObjectAndPathForResources(Long partitionStartLevel, Function<R, R> sharer, BiConsumer<String, R> itemDestroyer) -
Method Summary
Modifier and TypeMethodDescriptiongetOrUploadIfAbsent(T object, String path, Supplier<R> resourceSupplier) voiditerate(TriConsumer<T, String, R> itemConsumer) voiditerateParallel(TriConsumer<T, String, R> itemConsumer) removePath(T object, String path) removePath(T object, String path, boolean destroyItem)
-
Constructor Details
-
ObjectAndPathForResources
public ObjectAndPathForResources() -
ObjectAndPathForResources
-
ObjectAndPathForResources
-
ObjectAndPathForResources
-
-
Method Details
-
getOrUploadIfAbsent
-
get
-
remove
-
removePath
-
removePath
-
iterate
-
iterateParallel
-