Package dev.getelements.elements.sdk.util
package dev.getelements.elements.sdk.util
-
ClassDescriptionRepresents an abstract
Publisher
instance.Used to implement a publish/subscribe system.A thread-safePublisher
which uses a standardConcurrentLinkedDeque
to perform operations.Implements aAsyncPublisher
using aLock
to control concurrency.This class is used to manage the scopes of elements in the registry.Builder class for ElementScopes.Constants for environment variables.AFunctionalInterface
which performs a series of actions when it is closed.The case (upper or lower case).Thrown when the hex string is not valid.A type ofAttributes
which is immutable.A type ofAttributes
that inherits from a base set of attributes.A set of attributes that inherits from a base set of attributes.LazyValue<T>Represents a Lazy-loaded value which is loaded only on the first call to get.A non-threadsafe publisher which tracks subscribers in a linked list.Convenience wrapper to automatically manage the state of an underlying lock, series of locks, or semaphores.An instance ofAttributes
backed by aProperties
instance.Publisher<T>Publishes events to multiple subscribers.Backed by aThreadLocal<T>
, this allows for the creation of a thread-local scope which can be entered and exited multiple times, provided that the underlying calls are balanced.The current scope for theReentrantThreadLocal
A simple way to manage shutdown hooks.Simple implementation ofAttributes
backed by aMap<String,
.Object> Builder forSimpleAttributes
.A value that lazily loads the first time it is fetched.Manages temporary files.A thread-safe implementation ofSimpleLazyValue
.