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 voidResourceContext.createAsync(Consumer<ResourceId> success, Consumer<Throwable> failure, String module, Path path, Object... args) voidResourceContext.createAttributesAsync(Consumer<ResourceId> success, Consumer<Throwable> failure, String module, Path path, Attributes attributes, Object... args) Creates aResourceasynchronously.voidResourceContext.destroyAllResourcesAsync(Consumer<Void> success, Consumer<Throwable> failure) Clears allResourceinstances from the system.voidResourceContext.destroyAsync(Consumer<Void> success, Consumer<Throwable> failure, ResourceId resourceId) Destroys theResourcewith the providedResourceId.default voidResourceContext.destroyAsync(Consumer<Void> success, Consumer<Throwable> failure, String resourceIdString) InstanceMetadataContext.getInstanceMetadataAsync(Consumer<InstanceMetadata> success, Consumer<Throwable> failure) Asynchronous method to fetch thevoidResourceContext.invokeAsync(Consumer<Object> success, Consumer<Throwable> failure, ResourceId resourceId, String method, Object... args) Invokes the method on theResourceId.voidResourceContext.invokePathAsync(Consumer<Object> success, Consumer<Throwable> failure, Path path, String method, Object... args) voidHandlerContext.invokeRetainedHandlerAsync(Consumer<Object> success, Consumer<Throwable> failure, Attributes attributes, String module, String method, Object... args) voidHandlerContext.invokeSingleUseHandlerAsync(Consumer<Object> success, Consumer<Throwable> failure, Attributes attributes, String module, String method, Object... args) voidIndexContext.linkAsync(ResourceId resourceId, Path destination, Consumer<Void> success, Consumer<Throwable> failure) Links a singleResourceIdto aPathdestination.voidIndexContext.linkPathAsync(Path source, Path destination, Consumer<Void> success, Consumer<Throwable> failure) voidIndexContext.listAsync(Path path, Consumer<List<IndexContext.Listing>> success, Consumer<Throwable> failure) Fetches aIndexContext.Listingof allPaths and assocaitedResourceIdinstances which match the providedPath.voidTaskContext.register(TaskId taskId, Consumer<Object> tConsumer, Consumer<Throwable> throwableTConsumer) voidIndexContext.unlinkAsync(Path path, Consumer<IndexContext.Unlink> success, Consumer<Throwable> failure) Unlinks the providedPathand if this is the lastPathreference to aResourceId, then the cluster will remove and destroy the associatedResource.