Uses of Annotation Interface
dev.getelements.elements.rt.annotation.ResultHandler
Packages that use ResultHandler
-
Uses of ResultHandler in dev.getelements.elements.rt
Method parameters in dev.getelements.elements.rt with annotations of type ResultHandlerModifier and TypeMethodDescriptiondefault void
ResourceContext.createAsync
(Consumer<ResourceId> success, Consumer<Throwable> failure, String module, Path path, Object... args) void
ResourceContext.createAttributesAsync
(Consumer<ResourceId> success, Consumer<Throwable> failure, String module, Path path, Attributes attributes, Object... args) Creates aResource
asynchronously.void
ResourceContext.destroyAllResourcesAsync
(Consumer<Void> success, Consumer<Throwable> failure) Clears allResource
instances from the system.void
ResourceContext.destroyAsync
(Consumer<Void> success, Consumer<Throwable> failure, ResourceId resourceId) Destroys theResource
with the providedResourceId
.default void
ResourceContext.destroyAsync
(Consumer<Void> success, Consumer<Throwable> failure, String resourceIdString) InstanceMetadataContext.getInstanceMetadataAsync
(Consumer<InstanceMetadata> success, Consumer<Throwable> failure) Asynchronous method to fetch thevoid
ResourceContext.invokeAsync
(Consumer<Object> success, Consumer<Throwable> failure, ResourceId resourceId, String method, Object... args) Invokes the method on theResourceId
.void
ResourceContext.invokePathAsync
(Consumer<Object> success, Consumer<Throwable> failure, Path path, String method, Object... args) void
HandlerContext.invokeRetainedHandlerAsync
(Consumer<Object> success, Consumer<Throwable> failure, Attributes attributes, String module, String method, Object... args) void
HandlerContext.invokeSingleUseHandlerAsync
(Consumer<Object> success, Consumer<Throwable> failure, Attributes attributes, String module, String method, Object... args) void
IndexContext.linkAsync
(ResourceId resourceId, Path destination, Consumer<Void> success, Consumer<Throwable> failure) Links a singleResourceId
to aPath
destination.void
IndexContext.linkPathAsync
(Path source, Path destination, Consumer<Void> success, Consumer<Throwable> failure) void
IndexContext.listAsync
(Path path, Consumer<List<IndexContext.Listing>> success, Consumer<Throwable> failure) Fetches aIndexContext.Listing
of allPath
s and assocaitedResourceId
instances which match the providedPath
.void
TaskContext.register
(TaskId taskId, Consumer<Object> tConsumer, Consumer<Throwable> throwableTConsumer) void
IndexContext.unlinkAsync
(Path path, Consumer<IndexContext.Unlink> success, Consumer<Throwable> failure) Unlinks the providedPath
and if this is the lastPath
reference to aResourceId
, then the cluster will remove and destroy the associatedResource
.