Index
All Classes and Interfaces|All Packages|Serialized Form
A
- and(Predicate<? super Object>) - Method in interface org.wildfly.clustering.server.immutable.Immutability
- apply(V) - Method in class org.wildfly.clustering.server.offset.Offset.DefaultOffset
B
- BlockingExecutor - Interface in org.wildfly.clustering.server.util
-
Allows safe invocation of tasks that require resources not otherwise available after
BlockingExecutor.close()to block a service from stopping. - BlockingReference<T> - Interface in org.wildfly.clustering.server.util
-
Encapsulates thread-safe reading/writing on an object reference.
- BlockingReference.ConditionalReferenceWriter<T,
V> - Class in org.wildfly.clustering.server.util - BlockingReference.ReferenceWriter<T,
V> - Class in org.wildfly.clustering.server.util - BlockingReference.Writer<T> - Interface in org.wildfly.clustering.server.util
- BlockingReferenceMap<K,
V> - Interface in org.wildfly.clustering.server.util -
Encapsulates thread-safe references to map entries.
C
- Cache<K,
V> - Interface in org.wildfly.clustering.server.cache -
A level-one cache of server-side state.
- cached() - Static method in interface org.wildfly.clustering.server.util.Supplied
-
A cached supplied value.
- CacheFactory - Interface in org.wildfly.clustering.server.cache
-
Creates a level-one cache of server-side state.
- CacheStrategy - Enum Class in org.wildfly.clustering.server.cache
-
Generic level-one cache implementations.
- cancel(I) - Method in interface org.wildfly.clustering.server.scheduler.Scheduler
-
Cancels a previously scheduled task for the object with the specified identifier.
- cancel(I) - Method in class org.wildfly.clustering.server.scheduler.Scheduler.InactiveScheduler
- cancel(I) - Method in class org.wildfly.clustering.server.scheduler.Scheduler.ReferenceScheduler
- classes(Collection<Class<?>>) - Static method in interface org.wildfly.clustering.server.immutable.Immutability
- close() - Method in interface org.wildfly.clustering.server.listener.ListenerRegistrar
- close() - Method in interface org.wildfly.clustering.server.scheduler.Scheduler
- close() - Method in class org.wildfly.clustering.server.scheduler.Scheduler.InactiveScheduler
- close() - Method in class org.wildfly.clustering.server.scheduler.Scheduler.ReferenceScheduler
- close() - Method in interface org.wildfly.clustering.server.util.BlockingExecutor
- compareTo(GroupMember<A>) - Method in interface org.wildfly.clustering.server.group.GroupMember
- composite(Collection<? extends Immutability>) - Static method in interface org.wildfly.clustering.server.immutable.Immutability
- computeIfAbsent(K, BiFunction<K, Runnable, V>) - Method in interface org.wildfly.clustering.server.cache.Cache
-
Returns the value associated with the specified key from this cache, generating it from the specified function, if necessary.
- CONCURRENT - Enum constant in enum class org.wildfly.clustering.server.cache.CacheStrategy
-
Creates a cache of entries in use by concurrent threads.
- consume(Consumer<T>) - Method in interface org.wildfly.clustering.server.util.Reference.Reader
-
Consumes the referenced value while holding a pessimistic read lock.
- consume(Consumer<V>) - Method in class org.wildfly.clustering.server.util.Reference.ReferenceReader
- contains(I) - Method in interface org.wildfly.clustering.server.scheduler.Scheduler
-
Indicates whether the entry with the specified identifier is scheduled.
- contains(I) - Method in class org.wildfly.clustering.server.scheduler.Scheduler.InactiveScheduler
- contains(I) - Method in class org.wildfly.clustering.server.scheduler.Scheduler.ReferenceScheduler
- createCache(Consumer<V>, Consumer<V>) - Method in interface org.wildfly.clustering.server.cache.CacheFactory
-
Creates a cache that invokes the specified tasks when an entry is added/removed.
- createGroupMember(A) - Method in interface org.wildfly.clustering.server.group.GroupMemberFactory
-
Creates a group member with the specified identifier.
D
- DeploymentConfiguration - Interface in org.wildfly.clustering.server.deployment
-
Encapsulates the configuration of a deployment.
E
- equals(Object) - Method in class org.wildfly.clustering.server.offset.Offset.DefaultOffset
- equals(Object) - Method in class org.wildfly.clustering.server.offset.Value.AbstractValue
- equals(Object) - Method in class org.wildfly.clustering.server.util.MapEntry.SimpleMapEntry
- execute(Callable<R>) - Method in interface org.wildfly.clustering.server.util.BlockingExecutor
-
Executes the specified task, but only if the service was not already closed.
- execute(Supplier<R>) - Method in interface org.wildfly.clustering.server.util.BlockingExecutor
-
Executes the specified task, but only if the service was not already closed.
- Expiration - Interface in org.wildfly.clustering.server.expiration
-
Describes the expiration criteria for a managed object.
- ExpirationConfiguration<T> - Interface in org.wildfly.clustering.server.expiration
-
Encapsulates expiration configuration.
- ExpirationMetaData - Interface in org.wildfly.clustering.server.expiration
-
Describes expiration-related metadata.
F
- forDuration(Duration) - Static method in interface org.wildfly.clustering.server.offset.Offset
- forInstant(Duration) - Static method in interface org.wildfly.clustering.server.offset.Offset
- from(Duration) - Static method in interface org.wildfly.clustering.server.offset.OffsetValue
- from(Instant) - Static method in interface org.wildfly.clustering.server.offset.OffsetValue
- fromReference(Supplier<? extends Scheduler<I, V>>) - Static method in interface org.wildfly.clustering.server.scheduler.Scheduler
-
Returns a scheduler that delegates to a scheduler reference.
G
- get() - Method in class org.wildfly.clustering.server.offset.Offset.DefaultOffset
- get() - Method in interface org.wildfly.clustering.server.offset.OffsetValue
-
Returns the current value, computed by applying the current offset to the basis.
- get() - Method in class org.wildfly.clustering.server.util.BlockingReference.ConditionalReferenceWriter
- get() - Method in class org.wildfly.clustering.server.util.BlockingReference.ReferenceWriter
- get() - Method in class org.wildfly.clustering.server.util.Reference.ReferenceReader
- get(Supplier<T>) - Method in interface org.wildfly.clustering.server.util.Supplied
-
Returns the supplied value, created from the specified factory if necessary.
- getAddress() - Method in interface org.wildfly.clustering.server.group.GroupMember
-
Returns the unique identifier of this group member
- getBasis() - Method in class org.wildfly.clustering.server.offset.OffsetValue.DefaultOffsetValue
- getBasis() - Method in interface org.wildfly.clustering.server.offset.OffsetValue
-
Returns the basis from which the associated offset will be applied.
- getBatchFactory() - Method in interface org.wildfly.clustering.server.manager.Manager
-
Returns a batcher for use by users of this manager.
- getClassLoader() - Method in interface org.wildfly.clustering.server.deployment.DeploymentConfiguration
-
Returns the class loader of this deployment
- getCoordinator() - Method in interface org.wildfly.clustering.server.group.GroupMembership
- getCoordinatorIndex() - Method in interface org.wildfly.clustering.server.group.GroupMembership
- getDefault() - Static method in interface org.wildfly.clustering.server.immutable.Immutability
- getDeploymentName() - Method in interface org.wildfly.clustering.server.deployment.DeploymentConfiguration
-
Returns the locally unique name of this deployment.
- getExpirationListener() - Method in interface org.wildfly.clustering.server.expiration.ExpirationConfiguration
-
The listener to notify of expiration events.
- getExpirationTime() - Method in interface org.wildfly.clustering.server.expiration.ExpirationMetaData
-
Returns the time at which this session should expire.
- getGroup() - Method in interface org.wildfly.clustering.server.group.GroupCommandDispatcherFactory
- getGroupMemberFactory() - Method in interface org.wildfly.clustering.server.group.Group
- getIdentifierFactory() - Method in interface org.wildfly.clustering.server.manager.ManagerConfiguration
-
Returns a factory for creating identifiers for use by this manager.
- getKey() - Method in class org.wildfly.clustering.server.util.MapEntry.SimpleMapEntry
- getLastAccessTime() - Method in interface org.wildfly.clustering.server.expiration.ExpirationMetaData
-
Returns the time this object was last accessed.
- getOffset() - Method in class org.wildfly.clustering.server.offset.OffsetValue.DefaultOffsetValue
- getOffset() - Method in interface org.wildfly.clustering.server.offset.OffsetValue
-
The current offset.
- getServerName() - Method in interface org.wildfly.clustering.server.deployment.DeploymentConfiguration
-
Returns the name of the server hosting this deployment
- getTimeout() - Method in interface org.wildfly.clustering.server.expiration.Expiration
-
The duration of time, after which an idle object should expire.
- getValue() - Method in class org.wildfly.clustering.server.util.MapEntry.SimpleMapEntry
- Group<A,
M> - Interface in org.wildfly.clustering.server.group -
Exposes a mechanism to create a group member for a given unique address.
- GroupCommandDispatcherFactory<A,
M> - Interface in org.wildfly.clustering.server.group -
CommandDispatcherFactorywhose group exposes a mechanism to create a group member for a given unique address. - GroupMember<A> - Interface in org.wildfly.clustering.server.group
-
Exposes the unique identifier of a
GroupMember. - GroupMemberFactory<A,
M> - Interface in org.wildfly.clustering.server.group -
A factory for creating a group member.
- GroupMembership<M> - Interface in org.wildfly.clustering.server.group
-
Group membership whose coordinator is identified by its index in the membership.
H
- hashCode() - Method in class org.wildfly.clustering.server.offset.Offset.DefaultOffset
- hashCode() - Method in class org.wildfly.clustering.server.offset.Value.AbstractValue
- hashCode() - Method in class org.wildfly.clustering.server.util.MapEntry.SimpleMapEntry
I
- IdentifierFactory<I> - Interface in org.wildfly.clustering.server.manager
-
A service that creating identifiers for a manager.
- identity(Collection<Object>) - Static method in interface org.wildfly.clustering.server.immutable.Immutability
- Immutability - Interface in org.wildfly.clustering.server.immutable
-
Tests for immutability.
- inactive() - Static method in interface org.wildfly.clustering.server.scheduler.Scheduler
-
Returns an inactive scheduler instance.
- InactiveScheduler() - Constructor for class org.wildfly.clustering.server.scheduler.Scheduler.InactiveScheduler
- INSECURE - Enum constant in enum class org.wildfly.clustering.server.util.UUIDFactory
-
UUID factory that uses a
ThreadLocalRandom. - instanceOf(Collection<Class<?>>) - Static method in interface org.wildfly.clustering.server.immutable.Immutability
- isExpired() - Method in interface org.wildfly.clustering.server.expiration.ExpirationMetaData
-
Indicates whether or not this object is expired.
- isImmortal() - Method in interface org.wildfly.clustering.server.expiration.Expiration
-
Indicates whether the associated timeout represents and immortal object, i.e. does not expire
- isStarted() - Method in interface org.wildfly.clustering.server.manager.Service
-
Indicates whether or not this service is started.
- isZero() - Method in class org.wildfly.clustering.server.offset.Offset.DefaultOffset
- isZero() - Method in interface org.wildfly.clustering.server.offset.Offset
-
Returns true if this offset is zero, false otherwise.
L
- ListenerRegistrar<T> - Interface in org.wildfly.clustering.server.listener
M
- Manager<I> - Interface in org.wildfly.clustering.server.manager
-
A manager of server-side state.
- ManagerConfiguration<I> - Interface in org.wildfly.clustering.server.manager
-
Configuration of a manager of distributed state.
- map(Function<K, KK>, Function<V, VV>) - Method in interface org.wildfly.clustering.server.util.MapEntry
-
Returns a new map entry whose key/value are generated by applying the specified mapping functions.
- map(Function<T, Optional<V>>) - Method in interface org.wildfly.clustering.server.scheduler.Scheduler
- map(Function<T, R>) - Method in interface org.wildfly.clustering.server.util.BlockingReference.Writer
-
Returns a mapped writer, whose mapping function is invoked while holding a lock.
- map(Function<T, R>) - Method in interface org.wildfly.clustering.server.util.Reference.Reader
-
Maps this referenced value using the specified mapping function while holding a read lock.
- map(Function<V, R>) - Method in class org.wildfly.clustering.server.util.BlockingReference.ReferenceWriter
- map(Function<V, R>) - Method in class org.wildfly.clustering.server.util.Reference.ReferenceReader
- MapEntry<K,
V> - Interface in org.wildfly.clustering.server.util -
An immutable map entry.
- MapEntry.SimpleMapEntry<K,
V> - Class in org.wildfly.clustering.server.util
N
- negate() - Method in interface org.wildfly.clustering.server.immutable.Immutability
- newInstance(Runnable) - Static method in interface org.wildfly.clustering.server.util.BlockingExecutor
-
Creates new blocking executor that runs the specified task upon
BlockingExecutor.close(). - NONE - Enum constant in enum class org.wildfly.clustering.server.cache.CacheStrategy
-
Creates a zero-capacity cache, where entries are always "absent".
O
- of(Map<K, V>) - Static method in interface org.wildfly.clustering.server.util.BlockingReferenceMap
-
Returns a thread-safe map of the specified map.
- of(K, V) - Static method in interface org.wildfly.clustering.server.util.MapEntry
-
Returns a new immutable map entry from the specified key and value.
- of(T) - Static method in interface org.wildfly.clustering.server.util.BlockingReference
- Offset<V> - Interface in org.wildfly.clustering.server.offset
-
Encapsulates an offset that can be applied to a value.
- Offset.DefaultOffset<O,
V> - Class in org.wildfly.clustering.server.offset - Offset.DurationOffset - Class in org.wildfly.clustering.server.offset
- Offset.InstantOffset - Class in org.wildfly.clustering.server.offset
- Offset.TemporalOffset<V> - Class in org.wildfly.clustering.server.offset
- OffsetSerializationContextInitializer - Class in org.wildfly.clustering.server.offset
- OffsetSerializationContextInitializer() - Constructor for class org.wildfly.clustering.server.offset.OffsetSerializationContextInitializer
- OffsetValue<V> - Interface in org.wildfly.clustering.server.offset
-
Encapsulates a value that is offset from some basis, and updated via
Value.set(Object). - OffsetValue.DefaultOffsetValue<O,
V> - Class in org.wildfly.clustering.server.offset - OffsetValue.DurationOffsetValue - Class in org.wildfly.clustering.server.offset
- OffsetValue.InstantOffsetValue - Class in org.wildfly.clustering.server.offset
- OffsetValue.TemporalOffsetValue<V> - Class in org.wildfly.clustering.server.offset
- or(Predicate<? super Object>) - Method in interface org.wildfly.clustering.server.immutable.Immutability
- org.wildfly.clustering.server.cache - package org.wildfly.clustering.server.cache
- org.wildfly.clustering.server.deployment - package org.wildfly.clustering.server.deployment
- org.wildfly.clustering.server.expiration - package org.wildfly.clustering.server.expiration
- org.wildfly.clustering.server.group - package org.wildfly.clustering.server.group
- org.wildfly.clustering.server.immutable - package org.wildfly.clustering.server.immutable
- org.wildfly.clustering.server.listener - package org.wildfly.clustering.server.listener
- org.wildfly.clustering.server.manager - package org.wildfly.clustering.server.manager
- org.wildfly.clustering.server.offset - package org.wildfly.clustering.server.offset
- org.wildfly.clustering.server.scheduler - package org.wildfly.clustering.server.scheduler
- org.wildfly.clustering.server.util - package org.wildfly.clustering.server.util
R
- reader() - Method in interface org.wildfly.clustering.server.util.Reference
-
Returns a thread-safe reader of this reference.
- rebase() - Method in class org.wildfly.clustering.server.offset.OffsetValue.DefaultOffsetValue
- rebase() - Method in interface org.wildfly.clustering.server.offset.OffsetValue
-
Returns a new offset value based on the current value.
- reference(K) - Method in interface org.wildfly.clustering.server.util.BlockingReferenceMap
-
Returns a reference to the map entry for the specified key.
- Reference<T> - Interface in org.wildfly.clustering.server.util
-
Encapsulates thread-safe reading of an object reference.
- Reference.Reader<T> - Interface in org.wildfly.clustering.server.util
- Reference.ReferenceReader<T,
V> - Class in org.wildfly.clustering.server.util - ReferenceScheduler(Supplier<? extends Scheduler<I, V>>) - Constructor for class org.wildfly.clustering.server.scheduler.Scheduler.ReferenceScheduler
- registerMarshallers(SerializationContext) - Method in class org.wildfly.clustering.server.offset.OffsetSerializationContextInitializer
- registerMarshallers(SerializationContext) - Method in class org.wildfly.clustering.server.util.UtilSerializationContextInitializer
S
- schedule(I, V) - Method in class org.wildfly.clustering.server.scheduler.Scheduler.InactiveScheduler
- schedule(I, V) - Method in class org.wildfly.clustering.server.scheduler.Scheduler.ReferenceScheduler
- schedule(I, V) - Method in interface org.wildfly.clustering.server.scheduler.Scheduler
-
Schedules a task for the object with the specified identifier, using the specified metaData
- Scheduler<I,
V> - Interface in org.wildfly.clustering.server.scheduler -
A task scheduler.
- Scheduler.InactiveScheduler<I,
V> - Class in org.wildfly.clustering.server.scheduler - Scheduler.ReferenceScheduler<I,
V> - Class in org.wildfly.clustering.server.scheduler - SECURE - Enum constant in enum class org.wildfly.clustering.server.util.UUIDFactory
-
UUID factory that uses a
SecureRandom. - Service - Interface in org.wildfly.clustering.server.manager
-
A restartable service.
- set(V) - Method in class org.wildfly.clustering.server.offset.OffsetValue.DefaultOffsetValue
- set(V) - Method in interface org.wildfly.clustering.server.offset.Value
-
Updates the referenced value.
- setOffset(Offset<V>) - Method in class org.wildfly.clustering.server.offset.OffsetValue.DefaultOffsetValue
- setOffset(Offset<V>) - Method in interface org.wildfly.clustering.server.offset.OffsetValue
-
Sets the current offset.
- setValue(V) - Method in interface org.wildfly.clustering.server.util.MapEntry
- simple() - Static method in interface org.wildfly.clustering.server.util.Supplied
-
A simple supplied value.
- SIMPLE - Static variable in interface org.wildfly.clustering.server.util.Supplied
- singleton(M) - Static method in interface org.wildfly.clustering.server.group.GroupMembership
- start() - Method in interface org.wildfly.clustering.server.manager.Service
-
Starts this service.
- stop() - Method in interface org.wildfly.clustering.server.manager.Service
-
Stops this service.
- Supplied<T> - Interface in org.wildfly.clustering.server.util
-
A supplied value.
T
- toString() - Method in class org.wildfly.clustering.server.offset.Offset.DefaultOffset
- toString() - Method in class org.wildfly.clustering.server.offset.Value.AbstractValue
- toString() - Method in class org.wildfly.clustering.server.util.MapEntry.SimpleMapEntry
U
- UtilSerializationContextInitializer - Class in org.wildfly.clustering.server.util
-
Registers protostream marshallers/schemas for this package.
- UtilSerializationContextInitializer() - Constructor for class org.wildfly.clustering.server.util.UtilSerializationContextInitializer
- UUIDFactory - Enum Class in org.wildfly.clustering.server.util
-
UUID factory implementations.
V
- Value<V> - Interface in org.wildfly.clustering.server.offset
-
A mutable reference to some value.
- Value.AbstractValue<V> - Class in org.wildfly.clustering.server.offset
- valueOf(String) - Static method in enum class org.wildfly.clustering.server.cache.CacheStrategy
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.wildfly.clustering.server.util.UUIDFactory
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.wildfly.clustering.server.cache.CacheStrategy
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.wildfly.clustering.server.util.UUIDFactory
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- when(Predicate<T>) - Method in interface org.wildfly.clustering.server.util.BlockingReference.Writer
-
Returns a supplier whose
Supplier.get()will update the reference only when the specified condition (invoked while holding a lock) is met. - when(Predicate<V>) - Method in class org.wildfly.clustering.server.util.BlockingReference.ReferenceWriter
- writer(Supplier<T>) - Method in interface org.wildfly.clustering.server.util.BlockingReference
-
Returns a thread-safe writer of this reference.
- writer(UnaryOperator<T>) - Method in interface org.wildfly.clustering.server.util.BlockingReference
-
Returns a thread-safe writer of this reference.
- writer(T) - Method in interface org.wildfly.clustering.server.util.BlockingReference
-
Returns a thread-safe writer of this reference.
All Classes and Interfaces|All Packages|Serialized Form