Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- add(long) - Method in interface org.infinispan.counter.api.SyncWeakCounter
- add(long) - Method in interface org.infinispan.counter.api.WeakCounter
-
Adds the given value to the new value.
- addAndGet(long) - Method in interface org.infinispan.counter.api.StrongCounter
-
Atomically adds the given value and return the new value.
- addAndGet(long) - Method in interface org.infinispan.counter.api.SyncStrongCounter
- addListener(T) - Method in interface org.infinispan.counter.api.StrongCounter
-
Registers a
CounterListenerto this counter. - addListener(T) - Method in interface org.infinispan.counter.api.WeakCounter
-
Adds a
CounterListenerto this counter.
B
- BOUNDED_STRONG - Enum constant in enum class org.infinispan.counter.api.CounterType
-
A strong consistent and bounded counter.
- build() - Method in class org.infinispan.counter.api.CounterConfiguration.Builder
- builder(CounterType) - Static method in class org.infinispan.counter.api.CounterConfiguration
C
- compareAndSet(long, long) - Method in interface org.infinispan.counter.api.StrongCounter
-
Atomically sets the value to the given updated value if the current value
==the expected value. - compareAndSet(long, long) - Method in interface org.infinispan.counter.api.SyncStrongCounter
- compareAndSwap(long, long) - Method in interface org.infinispan.counter.api.StrongCounter
-
Atomically sets the value to the given updated value if the current value
==the expected value. - compareAndSwap(long, long) - Method in interface org.infinispan.counter.api.SyncStrongCounter
- concurrencyLevel() - Method in class org.infinispan.counter.api.CounterConfiguration
- concurrencyLevel(int) - Method in class org.infinispan.counter.api.CounterConfiguration.Builder
-
Sets the concurrency level of the counter.
- CounterConfiguration - Class in org.infinispan.counter.api
-
A counter configuration used to define counters cluster wide via
CounterManager.defineCounter(String, CounterConfiguration). - CounterConfiguration.Builder - Class in org.infinispan.counter.api
-
The builder of
CounterConfiguration. - CounterConfiguration$___Marshaller_200ccbe7f9bd55cd3d0f90bae5ea29adc0a29590c936038020329c50ede7e29f - Class in org.infinispan.counter.api
-
WARNING: Generated code!
- CounterConfiguration$___Marshaller_200ccbe7f9bd55cd3d0f90bae5ea29adc0a29590c936038020329c50ede7e29f() - Constructor for class org.infinispan.counter.api.CounterConfiguration$___Marshaller_200ccbe7f9bd55cd3d0f90bae5ea29adc0a29590c936038020329c50ede7e29f
- CounterConfigurationException - Exception Class in org.infinispan.counter.exception
-
Signals a missing configuration or an invalid configuration.
- CounterConfigurationException() - Constructor for exception class org.infinispan.counter.exception.CounterConfigurationException
- CounterConfigurationException(String) - Constructor for exception class org.infinispan.counter.exception.CounterConfigurationException
- CounterConfigurationException(String, Throwable) - Constructor for exception class org.infinispan.counter.exception.CounterConfigurationException
- CounterConfigurationException(Throwable) - Constructor for exception class org.infinispan.counter.exception.CounterConfigurationException
- CounterEncodeUtil - Class in org.infinispan.counter.api._private
-
Utility class to handle encoding or decoding counter's classes.
- CounterEvent - Interface in org.infinispan.counter.api
-
The event used by
CounterListener. - CounterException - Exception Class in org.infinispan.counter.exception
-
A
RuntimeExceptionrelated to counters. - CounterException() - Constructor for exception class org.infinispan.counter.exception.CounterException
- CounterException(String) - Constructor for exception class org.infinispan.counter.exception.CounterException
- CounterException(String, Throwable) - Constructor for exception class org.infinispan.counter.exception.CounterException
- CounterException(String, Throwable, boolean, boolean) - Constructor for exception class org.infinispan.counter.exception.CounterException
- CounterException(Throwable) - Constructor for exception class org.infinispan.counter.exception.CounterException
- CounterListener - Interface in org.infinispan.counter.api
-
A listener interface to listen to
StrongCounterchanges. - CounterManager - Interface in org.infinispan.counter.api
-
The
CounterManagercreates, defines and returns counters. - CounterNotFoundException - Exception Class in org.infinispan.counter.exception
-
Signal that an attempt to access a counter has failed.
- CounterNotFoundException() - Constructor for exception class org.infinispan.counter.exception.CounterNotFoundException
- CounterNotFoundException(String) - Constructor for exception class org.infinispan.counter.exception.CounterNotFoundException
- CounterNotFoundException(String, Throwable) - Constructor for exception class org.infinispan.counter.exception.CounterNotFoundException
- CounterNotFoundException(String, Throwable, boolean, boolean) - Constructor for exception class org.infinispan.counter.exception.CounterNotFoundException
- CounterNotFoundException(Throwable) - Constructor for exception class org.infinispan.counter.exception.CounterNotFoundException
- CounterOutOfBoundsException - Exception Class in org.infinispan.counter.exception
-
A
CounterExceptionsignalling that theStrongCounterhas reached its bounds. - CounterOutOfBoundsException(String) - Constructor for exception class org.infinispan.counter.exception.CounterOutOfBoundsException
- CounterState - Enum Class in org.infinispan.counter.api
-
The possible states for a counter value.
- CounterState$___Marshaller_93aa5d27c0d57954ec79247b055254b02d5c87a64e0764e392772b387eb7542d - Class in org.infinispan.counter.api
- CounterState$___Marshaller_93aa5d27c0d57954ec79247b055254b02d5c87a64e0764e392772b387eb7542d() - Constructor for class org.infinispan.counter.api.CounterState$___Marshaller_93aa5d27c0d57954ec79247b055254b02d5c87a64e0764e392772b387eb7542d
- CounterType - Enum Class in org.infinispan.counter.api
-
The counter types.
- CounterType$___Marshaller_4dd4ef0972bf79fd96da56b8ce9348d84b1c42596acd7df3abf86c5e467887f5 - Class in org.infinispan.counter.api
- CounterType$___Marshaller_4dd4ef0972bf79fd96da56b8ce9348d84b1c42596acd7df3abf86c5e467887f5() - Constructor for class org.infinispan.counter.api.CounterType$___Marshaller_4dd4ef0972bf79fd96da56b8ce9348d84b1c42596acd7df3abf86c5e467887f5
D
- decode(int) - Method in class org.infinispan.counter.api.CounterState$___Marshaller_93aa5d27c0d57954ec79247b055254b02d5c87a64e0764e392772b387eb7542d
- decode(int) - Method in class org.infinispan.counter.api.CounterType$___Marshaller_4dd4ef0972bf79fd96da56b8ce9348d84b1c42596acd7df3abf86c5e467887f5
- decode(int) - Method in class org.infinispan.counter.api.Storage$___Marshaller_ed04a8616efd062a7c88e9e578efa97c99224ac3211dd20ca76376455f84a9ae
- decodeConfiguration(Supplier, LongSupplier, IntSupplier) - Static method in class org.infinispan.counter.api._private.CounterEncodeUtil
- decodeStorage(byte) - Static method in class org.infinispan.counter.api._private.CounterEncodeUtil
-
Decodes the
CounterType. - decodeType(byte) - Static method in class org.infinispan.counter.api._private.CounterEncodeUtil
-
Decodes the
Storage. - decrement() - Method in interface org.infinispan.counter.api.SyncWeakCounter
- decrement() - Method in interface org.infinispan.counter.api.WeakCounter
-
Decrements the counter.
- decrementAndGet() - Method in interface org.infinispan.counter.api.StrongCounter
-
Atomically decrements the counter and returns the new value
- decrementAndGet() - Method in interface org.infinispan.counter.api.SyncStrongCounter
- defineCounter(String, CounterConfiguration) - Method in interface org.infinispan.counter.api.CounterManager
-
Defines a counter with the specific
nameandCounterConfiguration.
E
- encode(CounterState) - Method in class org.infinispan.counter.api.CounterState$___Marshaller_93aa5d27c0d57954ec79247b055254b02d5c87a64e0764e392772b387eb7542d
- encode(CounterType) - Method in class org.infinispan.counter.api.CounterType$___Marshaller_4dd4ef0972bf79fd96da56b8ce9348d84b1c42596acd7df3abf86c5e467887f5
- encode(Storage) - Method in class org.infinispan.counter.api.Storage$___Marshaller_ed04a8616efd062a7c88e9e578efa97c99224ac3211dd20ca76376455f84a9ae
- encodeConfiguration(CounterConfiguration, Consumer, LongConsumer, IntConsumer) - Static method in class org.infinispan.counter.api._private.CounterEncodeUtil
-
Encodes the configuration.
- encodeTypeAndStorage(CounterConfiguration) - Static method in class org.infinispan.counter.api._private.CounterEncodeUtil
-
Encodes the
Storageand theCounterType. - equals(Object) - Method in class org.infinispan.counter.api.CounterConfiguration
F
- FORMAT_MESSAGE - Static variable in exception class org.infinispan.counter.exception.CounterOutOfBoundsException
G
- getAndSet(long) - Method in interface org.infinispan.counter.api.StrongCounter
-
Atomically sets the value to the given updated value
- getAndSet(long) - Method in interface org.infinispan.counter.api.SyncStrongCounter
- getConfiguration() - Method in interface org.infinispan.counter.api.StrongCounter
- getConfiguration() - Method in interface org.infinispan.counter.api.SyncStrongCounter
- getConfiguration() - Method in interface org.infinispan.counter.api.SyncWeakCounter
- getConfiguration() - Method in interface org.infinispan.counter.api.WeakCounter
- getConfiguration(String) - Method in interface org.infinispan.counter.api.CounterManager
- getCounterListener() - Method in interface org.infinispan.counter.api.Handle
- getCounterNames() - Method in interface org.infinispan.counter.api.CounterManager
-
Returns a
Collectionof defined counter names. - getJavaClass() - Method in class org.infinispan.counter.api.CounterConfiguration$___Marshaller_200ccbe7f9bd55cd3d0f90bae5ea29adc0a29590c936038020329c50ede7e29f
- getJavaClass() - Method in class org.infinispan.counter.api.CounterState$___Marshaller_93aa5d27c0d57954ec79247b055254b02d5c87a64e0764e392772b387eb7542d
- getJavaClass() - Method in class org.infinispan.counter.api.CounterType$___Marshaller_4dd4ef0972bf79fd96da56b8ce9348d84b1c42596acd7df3abf86c5e467887f5
- getJavaClass() - Method in class org.infinispan.counter.api.Storage$___Marshaller_ed04a8616efd062a7c88e9e578efa97c99224ac3211dd20ca76376455f84a9ae
- getName() - Method in interface org.infinispan.counter.api.StrongCounter
- getName() - Method in interface org.infinispan.counter.api.SyncStrongCounter
- getName() - Method in interface org.infinispan.counter.api.SyncWeakCounter
- getName() - Method in interface org.infinispan.counter.api.WeakCounter
- getNewState() - Method in interface org.infinispan.counter.api.CounterEvent
- getNewValue() - Method in interface org.infinispan.counter.api.CounterEvent
- getOldState() - Method in interface org.infinispan.counter.api.CounterEvent
- getOldValue() - Method in interface org.infinispan.counter.api.CounterEvent
- getProtoFile() - Method in class org.infinispan.counter.api._private.PersistenceContextInitializerImpl
- getProtoFileName() - Method in class org.infinispan.counter.api._private.PersistenceContextInitializerImpl
- getProtoFileReader() - Method in class org.infinispan.counter.api._private.PersistenceContextInitializerImpl
- getStrongCounter(String) - Method in interface org.infinispan.counter.api.CounterManager
-
Returns the
StrongCounterwith that specific name. - getTypeName() - Method in class org.infinispan.counter.api.CounterConfiguration$___Marshaller_200ccbe7f9bd55cd3d0f90bae5ea29adc0a29590c936038020329c50ede7e29f
- getTypeName() - Method in class org.infinispan.counter.api.CounterState$___Marshaller_93aa5d27c0d57954ec79247b055254b02d5c87a64e0764e392772b387eb7542d
- getTypeName() - Method in class org.infinispan.counter.api.CounterType$___Marshaller_4dd4ef0972bf79fd96da56b8ce9348d84b1c42596acd7df3abf86c5e467887f5
- getTypeName() - Method in class org.infinispan.counter.api.Storage$___Marshaller_ed04a8616efd062a7c88e9e578efa97c99224ac3211dd20ca76376455f84a9ae
- getValue() - Method in interface org.infinispan.counter.api.StrongCounter
-
It fetches the current value.
- getValue() - Method in interface org.infinispan.counter.api.SyncStrongCounter
- getValue() - Method in interface org.infinispan.counter.api.SyncWeakCounter
- getValue() - Method in interface org.infinispan.counter.api.WeakCounter
-
It returns the counter's value.
- getWeakCounter(String) - Method in interface org.infinispan.counter.api.CounterManager
-
Returns the
WeakCounterwith that specific name.
H
- Handle<T> - Interface in org.infinispan.counter.api
-
As a return of
StrongCounter.addListener(CounterListener), it is used to un-register theCounterListener. - hashCode() - Method in class org.infinispan.counter.api.CounterConfiguration
I
- increment() - Method in interface org.infinispan.counter.api.SyncWeakCounter
- increment() - Method in interface org.infinispan.counter.api.WeakCounter
-
Increments the counter.
- incrementAndGet() - Method in interface org.infinispan.counter.api.StrongCounter
-
Atomically increments the counter and returns the new value.
- incrementAndGet() - Method in interface org.infinispan.counter.api.SyncStrongCounter
- initialValue() - Method in class org.infinispan.counter.api.CounterConfiguration
- initialValue(long) - Method in class org.infinispan.counter.api.CounterConfiguration.Builder
-
Sets the initial value.
- isDefined(String) - Method in interface org.infinispan.counter.api.CounterManager
- isLowerBoundReached() - Method in exception class org.infinispan.counter.exception.CounterOutOfBoundsException
- isUpperBoundReached() - Method in exception class org.infinispan.counter.exception.CounterOutOfBoundsException
L
- lifespan() - Method in class org.infinispan.counter.api.CounterConfiguration
- lifespan(long) - Method in class org.infinispan.counter.api.CounterConfiguration.Builder
- LOWER_BOUND - Static variable in exception class org.infinispan.counter.exception.CounterOutOfBoundsException
- LOWER_BOUND_REACHED - Enum constant in enum class org.infinispan.counter.api.CounterState
-
The counter value has reached its min threshold, i.e. no thresholds has been reached.
- lowerBound() - Method in class org.infinispan.counter.api.CounterConfiguration
- lowerBound(long) - Method in class org.infinispan.counter.api.CounterConfiguration.Builder
-
Sets the lower bound (inclusive) of the counter.
O
- onUpdate(CounterEvent) - Method in interface org.infinispan.counter.api.CounterListener
- org.infinispan.counter.api - package org.infinispan.counter.api
-
Clustered Counters API.
- org.infinispan.counter.api._private - package org.infinispan.counter.api._private
- org.infinispan.counter.exception - package org.infinispan.counter.exception
-
Clustered Counters Exceptions.
P
- PersistenceContextInitializer - Interface in org.infinispan.counter.api._private
- PersistenceContextInitializerImpl - Class in org.infinispan.counter.api._private
-
WARNING: Generated code!
- PersistenceContextInitializerImpl() - Constructor for class org.infinispan.counter.api._private.PersistenceContextInitializerImpl
- PERSISTENT - Enum constant in enum class org.infinispan.counter.api.Storage
-
The counter value is stored persistently and survives a cluster restart/stop.
R
- read(ProtobufTagMarshaller.ReadContext) - Method in class org.infinispan.counter.api.CounterConfiguration$___Marshaller_200ccbe7f9bd55cd3d0f90bae5ea29adc0a29590c936038020329c50ede7e29f
- registerMarshallers(SerializationContext) - Method in class org.infinispan.counter.api._private.PersistenceContextInitializerImpl
- registerSchema(SerializationContext) - Method in class org.infinispan.counter.api._private.PersistenceContextInitializerImpl
- remove() - Method in interface org.infinispan.counter.api.Handle
-
Removes the
CounterListener. - remove() - Method in interface org.infinispan.counter.api.StrongCounter
-
It removes this counter from the cluster.
- remove() - Method in interface org.infinispan.counter.api.SyncStrongCounter
- remove() - Method in interface org.infinispan.counter.api.SyncWeakCounter
- remove() - Method in interface org.infinispan.counter.api.WeakCounter
-
It removes this counter from the cluster.
- remove(String) - Method in interface org.infinispan.counter.api.CounterManager
-
It removes the counter from the cluster.
- reset() - Method in interface org.infinispan.counter.api.StrongCounter
-
Resets the counter to its initial value.
- reset() - Method in interface org.infinispan.counter.api.SyncStrongCounter
- reset() - Method in interface org.infinispan.counter.api.SyncWeakCounter
- reset() - Method in interface org.infinispan.counter.api.WeakCounter
-
Resets the counter to its initial value.
S
- storage() - Method in class org.infinispan.counter.api.CounterConfiguration
- storage(Storage) - Method in class org.infinispan.counter.api.CounterConfiguration.Builder
-
Sets the storage mode of the counter.
- Storage - Enum Class in org.infinispan.counter.api
-
The storage mode of a counter.
- Storage$___Marshaller_ed04a8616efd062a7c88e9e578efa97c99224ac3211dd20ca76376455f84a9ae - Class in org.infinispan.counter.api
- Storage$___Marshaller_ed04a8616efd062a7c88e9e578efa97c99224ac3211dd20ca76376455f84a9ae() - Constructor for class org.infinispan.counter.api.Storage$___Marshaller_ed04a8616efd062a7c88e9e578efa97c99224ac3211dd20ca76376455f84a9ae
- StrongCounter - Interface in org.infinispan.counter.api
-
The strong consistent counter interface.
- sync() - Method in interface org.infinispan.counter.api.StrongCounter
-
It returns a synchronous strong counter for this instance.
- sync() - Method in interface org.infinispan.counter.api.WeakCounter
-
It returns a synchronous weak counter for this instance.
- SyncStrongCounter - Interface in org.infinispan.counter.api
-
A synchronous
StrongCounter. - SyncWeakCounter - Interface in org.infinispan.counter.api
-
A synchronous
WeakCounter.
T
- toString() - Method in class org.infinispan.counter.api.CounterConfiguration
- type() - Method in class org.infinispan.counter.api.CounterConfiguration
U
- UNBOUNDED_STRONG - Enum constant in enum class org.infinispan.counter.api.CounterType
-
A strong consistent and unbounded counter.
- undefineCounter(String) - Method in interface org.infinispan.counter.api.CounterManager
-
It removes the counter and its configuration from the cluster.
- UPPER_BOUND - Static variable in exception class org.infinispan.counter.exception.CounterOutOfBoundsException
- UPPER_BOUND_REACHED - Enum constant in enum class org.infinispan.counter.api.CounterState
-
The counter value has reached its max threshold.
- upperBound() - Method in class org.infinispan.counter.api.CounterConfiguration
- upperBound(long) - Method in class org.infinispan.counter.api.CounterConfiguration.Builder
-
Sets the upper bound (inclusive) of the counter.
V
- VALID - Enum constant in enum class org.infinispan.counter.api.CounterState
-
The counter value is valid.
- valueOf(int) - Static method in enum class org.infinispan.counter.api.CounterState
-
Returns the enum constant of this class with the specified name.
- valueOf(int) - Static method in enum class org.infinispan.counter.api.CounterType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.infinispan.counter.api.CounterState
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.infinispan.counter.api.CounterType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.infinispan.counter.api.Storage
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.infinispan.counter.api.CounterState
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.infinispan.counter.api.CounterType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.infinispan.counter.api.Storage
-
Returns an array containing the constants of this enum class, in the order they are declared.
- VOLATILE - Enum constant in enum class org.infinispan.counter.api.Storage
-
The counter value is lost when the cluster is restarted/stopped.
W
- WEAK - Enum constant in enum class org.infinispan.counter.api.CounterType
-
A weak consistent counter.
- WeakCounter - Interface in org.infinispan.counter.api
-
A weak consistent counter interface.
- write(ProtobufTagMarshaller.WriteContext, CounterConfiguration) - Method in class org.infinispan.counter.api.CounterConfiguration$___Marshaller_200ccbe7f9bd55cd3d0f90bae5ea29adc0a29590c936038020329c50ede7e29f
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form