Uses of Class
dev.getelements.elements.sdk.cluster.id.ResourceId
Packages that use ResourceId
Package
Description
-
Uses of ResourceId in dev.getelements.elements.rt
Methods in dev.getelements.elements.rt that return ResourceIdModifier and TypeMethodDescriptiondefault ResourceId
default ResourceId
ResourceContext.createAttributes
(String module, Path path, Attributes attributes, Object... args) SimpleResourceContext.createAttributes
(String module, Path path, Attributes attributes, Object... args) Resource.getId()
Returns the immutable and globally-unique ID of this resource.IndexContext.Listing.getResourceId()
IndexContext.Unlink.getResourceId()
Returns theResourceId
that was affected by the unlinking operation.ResourceService.Listing.getResourceId()
Returns theResourceId
at the suppliedResourceId
.ResourceService.ResourceAcquisition.getResourceId()
Gets theResourceId
.ResourceService.Unlink.getResourceId()
Returns theResourceId
at the suppliedResourceId
.SimpleIndexContext.SimpleIndexContextUnlink.getResourceId()
SimpleIndexContextListing.getResourceId()
SimpleResourceServiceListing.getResourceId()
SimpleResourceServiceUnlink.getResourceId()
Methods in dev.getelements.elements.rt that return types with arguments of type ResourceIdModifier and TypeMethodDescriptiondefault List
<ResourceId> ResourceService.destroyResources
(Path path, int max) default List
<ResourceId> ResourceService.removeResources
(Path path, int max) ResourceService.removeResources
(Path path, int max, Consumer<Resource> removed) Methods in dev.getelements.elements.rt with parameters of type ResourceIdModifier and TypeMethodDescriptionResourceService.acquire
(ResourceId resourceId) Acquires aResource
guaranteeing it will remain in-memory until the resource is released.ResourceService.acquireWithTransaction
(ResourceId resourceId) Opens aResourceService.ResourceTransaction
.default void
ResourceContext.destroy
(ResourceId resourceId) Destroys theResource
with the providedResourceId
.default void
ResourceService.destroy
(ResourceId resourceId) Removes aResource
and then immediately closes it.void
ResourceContext.destroyAsync
(Consumer<Void> success, Consumer<Throwable> failure, ResourceId resourceId) Destroys theResource
with the providedResourceId
.void
SimpleResourceContext.destroyAsync
(Consumer<Void> success, Consumer<Throwable> failure, ResourceId resourceId) boolean
ResourceService.exists
(ResourceId resourceId) Deprecated.not used anywherestatic SimpleResourceServiceUnlink
SimpleResourceServiceUnlink.from
(ResourceId resourceId, boolean removed) LockSetService.getResourceIdReadMonitor
(ResourceId resourceId) Gets a singleMonitor
for the suppliedResourceId
(for reading).WeakReferenceLockSetService.getResourceIdReadMonitor
(ResourceId resourceId) LockSetService.getResourceIdWriteMonitor
(ResourceId resourceId) Gets a singleMonitor
for the suppliedResourceId
(for writing).WeakReferenceLockSetService.getResourceIdWriteMonitor
(ResourceId resourceId) 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
SimpleResourceContext.invokeAsync
(Consumer<Object> success, Consumer<Throwable> failure, ResourceId resourceId, String method, Object... args) default void
IndexContext.link
(ResourceId resourceId, Path destination) Performs the operations ofIndexContext.linkAsync(ResourceId, Path, Consumer, Consumer)
synchronously.void
ResourceService.link
(ResourceId sourceResourceId, Path destination) Given the providedResourceId
, this will create an additional alias for the provided destinationPath
.void
IndexContext.linkAsync
(ResourceId resourceId, Path destination, Consumer<Void> success, Consumer<Throwable> failure) Links a singleResourceId
to aPath
destination.void
SimpleIndexContext.linkAsync
(ResourceId resourceId, Path destination, Consumer<Void> success, Consumer<Throwable> failure) <T> Future
<T> Scheduler.perform
(ResourceId resourceId, Function<ResourceService.ResourceTransaction, T> operation, Consumer<Throwable> failure) Performs an action against the resource with the providedResourceId
.<T> Future
<T> SimpleScheduler.perform
(ResourceId resourceId, Function<ResourceService.ResourceTransaction, T> operation, Consumer<Throwable> failure) <T> Future
<T> Scheduler.performAfterDelay
(ResourceId resourceId, long time, TimeUnit timeUnit, Function<ResourceService.ResourceTransaction, T> operation, Consumer<Throwable> failure) <T> Future
<T> SimpleScheduler.performAfterDelay
(ResourceId resourceId, long time, TimeUnit timeUnit, Function<ResourceService.ResourceTransaction, T> operation, Consumer<Throwable> failure) Scheduler.performAfterDelayV
(ResourceId resourceId, long time, TimeUnit timeUnit, Consumer<ResourceService.ResourceTransaction> operation, Consumer<Throwable> failure) InvokeScheduler.performAfterDelay(ResourceId, long, TimeUnit, Function, Consumer)
with aConsumer<Resource>
instead of aFunction<Resource,
.?> Scheduler.performV
(ResourceId resourceId, Consumer<ResourceService.ResourceTransaction> operation, Consumer<Throwable> failure) Performs an action against the resource with the provided ID.void
PersistenceStrategy.persist
(ResourceId resourceId) Requests that theResourceId
with the suppliedResourceId
be persisted.ResourceService.removeResource
(ResourceId resourceId) Removes aResource
instance from this resource service.Scheduler.scheduleDestruction
(ResourceId resourceId, long delay, TimeUnit timeUnit) Provided theResourceId
, this will schedule destruction at some point in the near future, but not before.SimpleScheduler.scheduleDestruction
(ResourceId resourceId) SimpleScheduler.scheduleDestruction
(ResourceId resourceId, long delay, TimeUnit timeUnit) void
SimpleResourceServiceListing.setResourceId
(ResourceId resourceId) void
SimpleResourceServiceUnlink.setResourceId
(ResourceId resourceId) Method parameters in dev.getelements.elements.rt with type arguments of type ResourceIdModifier 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
SimpleResourceContext.createAttributesAsync
(Consumer<ResourceId> success, Consumer<Throwable> failure, String module, Path path, Attributes attributes, Object... args) default Monitor
LockSetService.getResourceIdReadMonitor
(SortedSet<ResourceId> resourceIds) Gets aMonitor
which will lock all resources in theResourceId
instances for read operations.default Monitor
LockSetService.getResourceIdWriteMonitor
(SortedSet<ResourceId> resourceIds) Gets aMonitor
which will lock all resources in theResourceId
instances for write operations. -
Uses of ResourceId in dev.getelements.elements.rt.exception
Methods in dev.getelements.elements.rt.exception that return ResourceIdConstructors in dev.getelements.elements.rt.exception with parameters of type ResourceId -
Uses of ResourceId in dev.getelements.elements.rt.transact
Methods in dev.getelements.elements.rt.transact that return ResourceIdModifier and TypeMethodDescriptionTransactionalResource.getId()
default ResourceId
ResourceEntry.getOriginalResourceId()
Gets theResourceId
or throws an instance ofResourceNotFoundException
if no such resource exists with this entry.ReadOnlyTransaction.getResourceId
(Path path) Gets theResourceId
associated with the givenPath
.default ResourceId
ResourceEntry.getResourceId()
Gets theResourceId
or throws an instance ofResourceNotFoundException
if no such resource exists with this entry.Methods in dev.getelements.elements.rt.transact that return types with arguments of type ResourceIdModifier and TypeMethodDescriptiondefault Optional
<ResourceId> ResourceEntry.OperationalStrategy.doFindResourceId
(ResourceEntry entry) Finds theResourceId
for theResourceEntry
.default Optional
<ResourceId> ResourceEntry.findOriginalResourceId()
Finds theResourceId
associated with the node, or a result equivalent toOptional.empty()
if no such resource id exists.AbstractResourceEntry.findResourceId()
default Optional
<ResourceId> PathIndex.findResourceId
(Path path) Gets theResourceId
for the supplied path.ResourceEntry.findResourceId()
Finds theResourceId
associated with the node, or a result equivalent toOptional.empty()
if no such resource id exists.Snapshot.findTaskEntry
(ResourceId resourceId) Finds theTaskEntry
associated with the suppliedResourceId
.StandardSnapshot.findTaskEntry
(ResourceId resourceId) TaskIndex.findTaskEntry
(Supplier<TaskEntry.OperationalStrategy<ResourceId>> ctor, ResourceId resourceId) Finds theTaskEntry<ResourceId>
for the suppliedResourceId
.Snapshot.getOrCreateTaskEntry
(ResourceId resourceId) Gets theTaskEntry
or throws an instance ofSnapshotMissException
.StandardSnapshot.getOrCreateTaskEntry
(ResourceId resourceId) TaskIndex.getOrCreateTaskEntry
(Supplier<TaskEntry.OperationalStrategy<ResourceId>> ctor, ResourceId resourceId) Gets theTaskEntry<ResourceId>
for the suppliedResourceId
.TaskIndex.listAllEntriesByResource()
Gets all entries in theTaskIndex
.TaskIndex.listAllEntriesByResource()
Gets all entries in theTaskIndex
.ReadWriteTransaction.removeResources
(Path path, int max) Removes multipleResourceId
s associated with the suppliedPath
, if the associatedResourceId
is linked by no otherPath
s, then this method will also delete theResourceId
s associated with thsPath
.TransactionalResourceService.removeResources
(Path path, int max, Consumer<Resource> removed) Methods in dev.getelements.elements.rt.transact with parameters of type ResourceIdModifier and TypeMethodDescriptionTransactionalResourceService.acquire
(ResourceId resourceId) TransactionalResourceService.acquireWithTransaction
(ResourceId resourceId) Snapshot.add
(ResourceId resourceId) Adds a newResourceEntry
with the suppliedResourceId
, returning the result.StandardSnapshot.add
(ResourceId resourceId) void
TaskIndex.applyChange
(ResourceId resourceId, String transactionId) Applies task changes with the suppliedResourceId
and transaction id.void
TransactionJournal.MutableEntry.applyChangeToResourceContents
(ResourceId resourceId) Logs the suppliedResourceId
as its contents having been flushed.void
TransactionJournal.MutableEntry.applyChangeToResourceReversePaths
(ResourceId resourceId) Logs the suppliedResourceId
as having been flushed.void
TransactionJournal.MutableEntry.applyChangeToTasks
(ResourceId resourceId) Applies the changes to the tasks for the suppliedResourceId
.void
ResourceIndex.applyContentsChange
(ResourceId resourceId, String transactionId) Applies the change to theResourceIndex
according to the supplied transaction ID.void
ResourceIndex.applyReversePathsChange
(ResourceId resourceId, String transactionId) Applies the change to theResourceIndex
according to the supplied transaction ID.void
ResourceIndex.cleanup
(ResourceId resourceId, String transactionId) Cleans up whatever may have been left behind by a partial transaction.void
TaskIndex.cleanup
(ResourceId resourceId, String transactionId) Cleans up the task changes with the suppliedResourceId
and transaction id.boolean
ReadOnlyTransaction.exists
(ResourceId resourceId) Checks if the resource exists, returning false if it does not exist.default boolean
ResourceIndex.exists
(ResourceId resourceId) Checks if aResourceId
exists.boolean
TransactionalResourceService.exists
(ResourceId resourceId) default Optional
<ResourceEntry> ResourceIndex.findEntry
(ResourceId resourceId) Loads theResourceEntry
from the suppliedPath
.ResourceIndex.findEntry
(ResourceId resourceId, Supplier<ResourceEntry.OperationalStrategy> operationalStrategy) Loads theResourceEntry
from the suppliedPath
.Snapshot.findResourceEntry
(ResourceId resourceId) Finds theResourceEntry
at the supplied ResourceId.StandardSnapshot.findResourceEntry
(ResourceId resourceId) ResourceIndex.findReversePaths
(ResourceId resourceId) Finds reverse paths for theResourceId
.Snapshot.findTaskEntry
(ResourceId resourceId) Finds theTaskEntry
associated with the suppliedResourceId
.StandardSnapshot.findTaskEntry
(ResourceId resourceId) TaskIndex.findTaskEntry
(Supplier<TaskEntry.OperationalStrategy<ResourceId>> ctor, ResourceId resourceId) Finds theTaskEntry<ResourceId>
for the suppliedResourceId
.Snapshot.getOrCreateTaskEntry
(ResourceId resourceId) Gets theTaskEntry
or throws an instance ofSnapshotMissException
.StandardSnapshot.getOrCreateTaskEntry
(ResourceId resourceId) TaskIndex.getOrCreateTaskEntry
(Supplier<TaskEntry.OperationalStrategy<ResourceId>> ctor, ResourceId resourceId) Gets theTaskEntry<ResourceId>
for the suppliedResourceId
.default ResourceEntry
Snapshot.getResourceEntry
(ResourceId resourceId) Gets theResourceEntry
or throws an instance ofSnapshotMissException
.void
TransactionalResourceService.link
(ResourceId sourceResourceId, Path destination) void
ReadWriteTransaction.linkExistingResource
(ResourceId sourceResourceId, Path destination) Links an existingResourceId
to a newPath
, throwing an instance ofResourceNotFoundException
if theResourceId
is not known or throwing an instance ofDuplicateException
if the suppliedPath
exists.void
ReadWriteTransaction.linkNewResource
(ResourceId resourceId, Path path) Creates a link betweeen aPath
andResourceId
, provided that neither already exist.Snapshot.Builder.load
(ResourceId resourceId) Loads the specifiedResourceId
into thisSnapshot
.StandardSnapshotBuilder.load
(ResourceId resourceId) ReadOnlyTransaction.loadResourceContents
(ResourceId resourceId) Loads the contents of theResource
given the suppliedResourceId
.ResourceIndex.newEntry
(ResourceId resourceId, Supplier<ResourceEntry.OperationalStrategy> operationalStrategy) Creates a newResourceEntry
with the supplied transaction id andResourceId
.void
TransactionPersistenceStrategy.persist
(ResourceId resourceId) void
ReadWriteTransaction.removeResource
(ResourceId resourceId) Removes theResource
with the suppliedResourceId
and automatically removes anyPath
instances that point to thatResourceId
.TransactionalResourceService.removeResource
(ResourceId resourceId) ReadWriteTransaction.saveNewResource
(Path path, ResourceId resourceId) ResourceIndex.updateContents
(ResourceId resourceId) Creates a newResourceContents
for the suppliedResourceId
.ReadWriteTransaction.updateResource
(ResourceId resourceId) Opens aWritableByteChannel
to a newly definedResource
with theResourceId
If theResourceId
is not found, then this must throw an instance ofResourceNotFoundException
to indicate that the operation is not possible.ReadOnlyTransaction.Builder.with
(ResourceId resourceId) Method parameters in dev.getelements.elements.rt.transact with type arguments of type ResourceIdModifier and TypeMethodDescriptionTaskIndex.findTaskEntry
(Supplier<TaskEntry.OperationalStrategy<ResourceId>> ctor, ResourceId resourceId) Finds theTaskEntry<ResourceId>
for the suppliedResourceId
.TaskIndex.getOrCreateTaskEntry
(Supplier<TaskEntry.OperationalStrategy<ResourceId>> ctor, ResourceId resourceId) Gets theTaskEntry<ResourceId>
for the suppliedResourceId
.default ReadOnlyTransaction.Builder
<TransactionT> ReadOnlyTransaction.Builder.withResourceIds
(Iterable<ResourceId> resourceIds) Constructors in dev.getelements.elements.rt.transact with parameters of type ResourceIdConstructor parameters in dev.getelements.elements.rt.transact with type arguments of type ResourceIdModifierConstructorDescriptionStandardSnapshot
(Monitor monitor, DataStore dataStore, SortedSet<ResourceId> resourceIds, SortedSet<Path> paths) -
Uses of ResourceId in dev.getelements.elements.rt.transact.unix
Methods in dev.getelements.elements.rt.transact.unix that return ResourceIdModifier and TypeMethodDescriptionUnixFSTransactionParameter.asResourceId()
Returns this parameter as an instanceResourceId
or throws an instance ofUnixFSProgramCorruptionException
if the type is not properly matched.protected ResourceId
UnixFSTransactionParameter.Type.asResourceId
(UnixFSTransactionParameter unixFSTransactionParameter) UnixFSResourceEntryNew.getOriginalResourceId()
UnixFSResourceContentsMapping.getResourceId()
Gets theResourceId
associated with this mapping.UnixFSTaskPathMapping.getResourceId()
Gets theTaskId
.Methods in dev.getelements.elements.rt.transact.unix that return types with arguments of type ResourceIdModifier and TypeMethodDescriptionUnixFSResourceEntryExisting.findOriginalResourceId()
UnixFSResourceEntryNew.findOriginalResourceId()
UnixFSTaskEntryExisting.findOriginalScope()
UnixFSTaskEntryNew.findOriginalScope()
UnixFSTaskIndex.findTaskEntry
(Supplier<TaskEntry.OperationalStrategy<ResourceId>> ctor, ResourceId resourceId) UnixFSTaskIndex.getOrCreateTaskEntry
(Supplier<TaskEntry.OperationalStrategy<ResourceId>> ctor, ResourceId resourceId) UnixFSTaskIndex.listAllEntriesByResource()
UnixFSTaskIndex.listAllEntriesByResource()
Methods in dev.getelements.elements.rt.transact.unix with parameters of type ResourceIdModifier and TypeMethodDescriptionUnixFSTransactionCommand.Builder.addResourceIdParameter
(ResourceId resourceId) Appends aResourceId
parameter.void
UnixFSTaskIndex.applyChange
(ResourceId resourceId, String transactionId) UnixFSTransactionProgramBuilder.applyChangeToResourceContents
(UnixFSTransactionProgramExecutionPhase executionPhase, ResourceId resourceId) Applies the contents change ot the resource.UnixFSTransactionProgramBuilder.applyChangeToTasks
(UnixFSTransactionProgramExecutionPhase executionPhase, ResourceId resourceId) Applies the suppliedResourceId
changes to the data store for the associated tasks.void
UnixFSResourceIndex.applyContentsChange
(ResourceId resourceId, String transactionId) void
UnixFSTransactionCommitExecutionHandler.applyContentsChange
(UnixFSTransactionProgram program, UnixFSTransactionCommand command, ResourceId resourceId, String transactionId) default void
UnixFSTransactionProgramInterpreter.ExecutionHandler.applyContentsChange
(UnixFSTransactionProgram program, UnixFSTransactionCommand command, ResourceId resourceId, String transactionId) Applies the contnets change to aResourceId
.UnixFSTransactionProgramBuilder.applyReversePathChangeToResource
(UnixFSTransactionProgramExecutionPhase executionPhase, ResourceId resourceId) Applies the suppliedResourceId
changes to the data store.void
UnixFSResourceIndex.applyReversePathsChange
(ResourceId resourceId, String transactionId) void
UnixFSTransactionCommitExecutionHandler.applyReversePathsChange
(UnixFSTransactionProgram program, UnixFSTransactionCommand command, ResourceId resourceId, String transactionId) default void
UnixFSTransactionProgramInterpreter.ExecutionHandler.applyReversePathsChange
(UnixFSTransactionProgram program, UnixFSTransactionCommand command, ResourceId resourceId, String transactionId) Applies the change to theResourceId
.void
UnixFSTransactionCommitExecutionHandler.applyTaskChanges
(UnixFSTransactionProgram program, UnixFSTransactionCommand command, ResourceId resourceId, String transactionId) default void
UnixFSTransactionProgramInterpreter.ExecutionHandler.applyTaskChanges
(UnixFSTransactionProgram program, UnixFSTransactionCommand command, ResourceId resourceId, String transactionId) Applies the task changes to the datastore.void
UnixFSResourceIndex.cleanup
(ResourceId resourceId, String transactionId) void
UnixFSTaskIndex.cleanup
(ResourceId resourceId, String transactionId) UnixFSTransactionProgramBuilder.cleanupResource
(UnixFSTransactionProgramExecutionPhase executionPhase, ResourceId resourceId) Cleans up the suppliedResourceId
changes from the data store.default void
UnixFSTransactionProgramInterpreter.ExecutionHandler.cleanupResourceId
(UnixFSTransactionProgram program, UnixFSTransactionCommand command, ResourceId resourceId, String transactionId) Cleans up theResourceId
resources associated with the transaction.void
UnixFSTransactionRollbackExecutionHandler.cleanupResourceId
(UnixFSTransactionProgram program, UnixFSTransactionCommand command, ResourceId resourceId, String transactionId) default void
UnixFSTransactionProgramInterpreter.ExecutionHandler.cleanupTasks
(UnixFSTransactionProgram program, UnixFSTransactionCommand command, ResourceId resourceId, String transactionId) Cleans up the tasks for theResourceId
resources associated with the transaction.void
UnixFSTransactionRollbackExecutionHandler.cleanupTasks
(UnixFSTransactionProgram program, UnixFSTransactionCommand command, ResourceId resourceId, String transactionId) UnixFSTransactionProgramBuilder.cleanupTasksForResource
(UnixFSTransactionProgramExecutionPhase executionPhase, ResourceId resourceId) Cleans up the tasks for the suppliedResourceId
.UnixFSResourceIndex.findEntry
(ResourceId resourceId, Supplier<ResourceEntry.OperationalStrategy> operationalStrategy) UnixFSTaskIndex.findTaskEntry
(Supplier<TaskEntry.OperationalStrategy<ResourceId>> ctor, ResourceId resourceId) UnixFSResourceContentsMapping.fromResourceId
(UnixFSUtils utils, ResourceId resourceId) static UnixFSReversePathMapping
UnixFSReversePathMapping.fromResourceId
(UnixFSUtils utils, ResourceId resourceId) static UnixFSTaskPathMapping
UnixFSTaskPathMapping.fromResourceId
(UnixFSUtils unixFSUtils, ResourceId resourceId) Gets a task mapping for the supplied file.UnixFSTaskIndex.getOrCreateTaskEntry
(Supplier<TaskEntry.OperationalStrategy<ResourceId>> ctor, ResourceId resourceId) UnixFSResourceIndex.newEntry
(ResourceId resourceId, Supplier<ResourceEntry.OperationalStrategy> operationalStrategy) UnixFSResourceIndex.updateContents
(ResourceId resourceId) Method parameters in dev.getelements.elements.rt.transact.unix with type arguments of type ResourceIdModifier and TypeMethodDescriptionUnixFSTaskIndex.findTaskEntry
(Supplier<TaskEntry.OperationalStrategy<ResourceId>> ctor, ResourceId resourceId) UnixFSTaskIndex.getOrCreateTaskEntry
(Supplier<TaskEntry.OperationalStrategy<ResourceId>> ctor, ResourceId resourceId) Constructors in dev.getelements.elements.rt.transact.unix with parameters of type ResourceIdModifierConstructorDescriptionUnixFSResourceEntryNew
(UnixFSUtils utils, ResourceId resourceId, ResourceEntry.OperationalStrategy operationalStrategy) UnixFSTaskEntryNew
(TaskEntry.OperationalStrategy<ResourceId> operationalStrategy, UnixFSUtils unixFSUtils, ResourceId resourceId) Constructor parameters in dev.getelements.elements.rt.transact.unix with type arguments of type ResourceIdModifierConstructorDescriptionUnixFSTaskEntryBase
(TaskEntry.OperationalStrategy<ResourceId> operationalStrategy, UnixFSUtils unixFSUtils) UnixFSTaskEntryExisting
(TaskEntry.OperationalStrategy<ResourceId> operationalStrategy, UnixFSUtils unixFSUtils, UnixFSTaskPathMapping mapping) UnixFSTaskEntryNew
(TaskEntry.OperationalStrategy<ResourceId> operationalStrategy, UnixFSUtils unixFSUtils, ResourceId resourceId) -
Uses of ResourceId in dev.getelements.elements.sdk.cluster.id
Methods in dev.getelements.elements.sdk.cluster.id that return ResourceIdModifier and TypeMethodDescriptionTaskId.getResourceId()
Returns theResourceId
attached to thisTaskId
static ResourceId
ResourceId.randomResourceId()
Creates a new uniqueResourceId
, with a randomNodeId
.static ResourceId
ResourceId.randomResourceIdForNode
(NodeId nodeId) Creates a new uniqueResourceId
, specifying theNodeId
static ResourceId
ResourceId.resourceIdFromByteBuffer
(ByteBuffer byteBufferRepresentation) Parses a newResourceId
from the givenByteBuffer
.static ResourceId
ResourceId.resourceIdFromByteBuffer
(ByteBuffer byteBufferRepresentation, int byteBufferPosition) Reads aResourceId
from the suppliedByteBuffer
and position, ensuring that the buffer's mark, limit, and position are unaffected.static ResourceId
ResourceId.resourceIdFromBytes
(byte[] byteRepresentation) Parses a newResourceId
from the giveninvalid reference
byte[]
static ResourceId
ResourceId.resourceIdFromString
(String stringRepresentation) Parses a newResourceId
from the givenString
.static ResourceId
The Java standard valueOf method.Constructors in dev.getelements.elements.sdk.cluster.id with parameters of type ResourceId