Uses of Interface
org.apache.jena.sparql.service.enhancer.claimingcache.Ref
-
Uses of Ref in org.apache.jena.sparql.service.enhancer.claimingcache
Modifier and TypeInterfaceDescriptioninterface
RefDelegate<T,
R extends Ref<T>> Interface with default methods that delegate Ref's methodsclass
RefDelegateBase<T,
R extends Ref<T>> Modifier and TypeInterfaceDescriptioninterface
RefDelegate<T,
R extends Ref<T>> Interface with default methods that delegate Ref's methodsinterface
RefFuture<T>
Essentially a typedef forRef<CompletableFuture<T>>
Modifier and TypeClassDescriptionclass
RefDelegateBase<T,
R extends Ref<T>> class
class
RefImpl<T>
Implementation of aRef
.Modifier and TypeMethodDescriptionRef.acquire()
Acquire a new reference with a given comment object Acquiration fails if isAlive() returns falsedefault <X> Ref<X>
Ref.acquireMapped
(Function<? super T, ? extends X> mapper) Return a Ref with a new referent obtained by mapping this ref's value with mapper.static <T> Ref<T>
RefImpl.create
(T value, Object synchronizer, AutoCloseable releaseAction) static <T> Ref<T>
RefImpl.create
(T value, Object synchronizer, AutoCloseable releaseAction, Object comment) static <T> Ref<T>
Create method where the close action is created from a provided lambda that accepts the valuestatic <T> Ref<T>
RefImpl.createClosed()
static <T extends AutoCloseable>
Ref<T>RefImpl.fromCloseable
(T value, Object synchronizer) Ref.getRootRef()
Get the root referenceRefDelegate.getRootRef()
RefImpl.getRootRef()
Modifier and TypeMethodDescriptionstatic <T> RefFuture<T>
Wrap an existing ref with completed futurestatic <T> RefFuture<T>
RefFutureImpl.wrap
(Ref<CompletableFuture<T>> delegate) A simple wrapping of an instance ofRef<CompletableFuture<T>>
as a more handy instance ofRefFuture<T>
.Modifier and TypeMethodDescriptionstatic void
RefFutureImpl.cancelFutureOrCloseRef
(CompletableFuture<? extends Ref<?>> future) static <T> RefFuture<T>
RefFutureImpl.fromFuture
(CompletableFuture<Ref<T>> future, Object synchronizer) Create a ref that upon close cancels the future or closes the ref when it is available s