Uses of Annotation Interface
dev.getelements.elements.rt.annotation.RemotelyInvokable
Packages that use RemotelyInvokable
-
Uses of RemotelyInvokable in dev.getelements.elements.rt
Methods in dev.getelements.elements.rt with annotations of type RemotelyInvokableModifier and TypeMethodDescriptionvoid
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
.boolean
TaskContext.finishWithError
(TaskId taskId, Throwable error) boolean
TaskContext.finishWithResult
(TaskId taskId, Object result) Finishes the task with associatedTaskId
with the provided result.InstanceMetadataContext.getInstanceMetadataAsync
(Consumer<InstanceMetadata> success, Consumer<Throwable> failure) Asynchronous method to fetch thedouble
InstanceMetadataContext.getInstanceQuality()
Represents the instance's current load factor.ManifestContext.getModelManifest()
Gets theModelManifest
instance.InstanceMetadataContext.getNodeIds()
Gets allNodeId
s housed within the instance.ManifestContext.getStartupManifest()
Gets theStartupManifest
, if available.default Object
ResourceContext.invoke
(ResourceId resourceId, String method, Object... args) Synchronous invoke ofResourceContext.invokePathAsync(Consumer, Consumer, Path, String, Object...)
.void
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
SimpleIndexContext.listAsync
(Path path, Consumer<List<IndexContext.Listing>> success, Consumer<Throwable> failure) void
EventContext.postAsync
(String eventName, Attributes attributes, Object... args) void
TaskContext.register
(TaskId taskId, Consumer<Object> tConsumer, Consumer<Throwable> throwableTConsumer) void
Resumes the supplied task with theTaskId
supplying multiple results to the destination.void
SchedulerContext.resumeFromNetwork
(TaskId taskId, Object result) Resumes a task that was waiting on a network call.void
SchedulerContext.resumeTaskAfterDelay
(TaskId taskId, long time, TimeUnit timeUnit) Resumes the task associated with the suppliedTaskId
.void
SchedulerContext.resumeWithError
(TaskId taskId, Throwable throwable) Resumes a task that was waiting for any reason.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
. -
Uses of RemotelyInvokable in dev.getelements.elements.sdk.service.blockchain
Methods in dev.getelements.elements.sdk.service.blockchain with annotations of type RemotelyInvokableModifier and TypeMethodDescriptionWalletService.createWallet
(String vaultId, CreateWalletRequest createWalletRequest) Creates a new Wallet.void
WalletService.deleteWallet
(String walletId) Deletes theWallet
with the supplied wallet ID.void
WalletService.deleteWalletFromVault
(String walletId, String vaultId) Deletes theWallet
with the supplied id, from the vault.Fetches a specificWallet
instance based on ID or name.WalletService.getWalletInVault
(String walletId, String vaultId) Fetches wallet from the supplied vault.WalletService.getWallets
(int offset, int count, String vaultId, String userId, BlockchainApi protocol, List<BlockchainNetwork> networks) Lists allWallet
instances, specifying a search query.WalletService.updateWallet
(String vaultId, String walletId, UpdateWalletRequest walletUpdateRequest) Updates the suppliedWallet
.