Hazelcast Core
Classes
Class | Description | |
---|---|---|
AbstractAggregatorR |
Base builtin aggregator
| |
AbstractMapEvent | ||
Aggregators |
A utility class to create basic IAggregatorTResult instances.
| |
AndPredicate | ||
BetweenPredicate | ||
BigIntegerSumAggregator |
An aggregator that calculates the sum of the input values.
Does NOT accept null input values.
Accepts only BigInteger input values.
| |
CountAggregator |
an aggregator that counts the input values. Accepts nulls as input values.
| |
DataAwareEntryEventTKey, TValue | ||
DistributedObjectDestroyedException |
A
HazelcastException
that indicates that a
IDistributedObject
access was attempted, but the object is destroyed.
| |
DistributedObjectEvent |
DistributedObjectEvent is fired when a
IDistributedObject
is created or destroyed cluster-wide.
| |
DistributedObjectEventEventType | ||
DoubleAverageAggregator |
an aggregator that calculates the average of the input values.
Does NOT accept null input values.
| |
DoubleSumAggregator |
An aggregator that calculates the sum of the input values extracted from the given attributePath.
Does NOT accept null input values nor null extracted values.
Accepts only double input values.
| |
EntryAdapterTKey, TValue | ||
EntryEventTKey, TValue | Map Entry event. | |
EqualPredicate | ||
EventObject | ||
FalsePredicate | ||
FixedSumAggregator |
An aggregator that calculates the sum of the input values extracted from the given attributePath.
Does NOT accept null input values nor null extracted values.
Accepts float or double input values.
| |
FloatingPointSumAggregator |
an aggregator that calculates the sum of the input values.
Does NOT accept null input values.
Accepts float or double input values.
| |
GreaterLessPredicate | ||
HazelcastException |
Base Hazelcast exception.
| |
HazelcastInstanceNotActiveException | Thrown when IHazelcastInstance is not active during an invocation. | |
IAggregatorTResult |
Simple interface for marking aggregators. An aggregator implementain must support hazelcast serialization and
have a counterpart on server side.
| |
ILikePredicate | ||
InitialMembershipEvent |
A event that is send when a
IInitialMembershipListener
registers itself on a
ICluster
. For more
information see the
IInitialMembershipListener
.
| |
InPredicate | ||
InstanceofPredicate | ||
IntegerAverageAggregator |
an aggregator that calculates the average of the input values extracted from the given attributePath.
Does NOT accept null input values nor null extracted values.
Accepts only int input values
| |
IntegerSumAggregator |
an aggregator that calculates the sum of the input values.
Does NOT accept null input values.
Accepts only int input values.
| |
IProjection |
Marker interface for server side projection implementation.
Enables transforming object into other objects.
Only 1:1 transformations allowed. Use an Aggregator to perform N:1 or N:M aggregations.
Projection implementations must be hazelcast serializable and must have a counterpart/implementation on server side. | |
ItemEventTE | Map Item event. | |
ItemListenerT | ||
LifecycleEvent | Lifecycle event fired when IHazelcastInstance's state changes. | |
LifecycleListener | ||
LikePredicate | ||
LongAverageAggregator |
an aggregator that calculates the average of the input values.
Does NOT accept null input values.
Accepts only long input values
| |
LongSumAggregator |
an aggregator that calculates the sum of the input values.
Does NOT accept null input values.
Accepts only long input values.
| |
MapEvent | ||
MaxAggregatorTResult |
an aggregator that calculates the max of the input values.
Accepts null input values
| |
MemberAttributeEvent | ||
MembershipEvent |
Membership event fired when a new member is added
to the cluster and/or when a member leaves the cluster.
| |
MembershipListener | ||
MessageT |
Message for ITopic<E>.
| |
MinAggregatorTResult |
an aggregator that calculates the min of the input values.
Accepts null input values
| |
NotEqualPredicate | ||
NotPredicate | ||
NumberAverageAggregator |
an aggregator that calculates the average of the input values.
Does NOT accept null input values nor null extracted values.
Accepts float or double input values.
| |
OrPredicate | ||
PagingPredicate |
This class is a special Predicate which helps to get a page-by-page result of a query.
It can be constructed with a page-size, an inner predicate for filtering, and a comparator for sorting.
| |
PartitionPredicate |
A builtin predicate that restricts the execution of a target Predicate to a single Partition.
| |
PredicateExt | ||
PredicateProperty | ||
Predicates |
Helper mothod for creating builtin predicates
| |
QueryException | ||
RegexPredicate | ||
SingleAttributeProjection |
Projection that extracts the values of the given attribute and returns it. The attributePath does not support the [any] operator. | |
SqlPredicate |
SQL Predicate
| |
StaleSequenceException |
An exception that is thrown when accessing an item in the IRingbuffer using a
sequence that is smaller than the current head sequence. This means that the and old item is read,
but it isn't available anymore in the ringbuffer.
| |
TruePredicate |
Interfaces
Interface | Description | |
---|---|---|
EntryAddedListenerTKey, TValue |
Invoked when an entry is added.
| |
EntryEvictedListenerTKey, TValue |
Invoked when an entry is evicted.
| |
EntryExpiredListenerTKey, TValue |
Listener which is notified after removal of an entry due to the expiration-based-eviction.
| |
EntryMergedListenerTKey, TValue |
Invoked after WAN replicated entry is merged.
| |
EntryRemovedListenerTKey, TValue |
Invoked when an entry is removed.
| |
EntryUpdatedListenerTKey, TValue |
Invoked when an entry is updated.
| |
IAtomicLong |
IAtomicLong is a redundant and highly available distributed Atomic Long
| |
IClient |
IClient interface allows to get information about
a connected clients socket address, type and uuid.
| |
IClientListener |
IClientListener allows to get notified when a
IClient
is connected to
or disconnected from cluster.
| |
IClientService |
IClientService allows to query connected
IClient
s and
attach/detach
IClientListener
s to listen connection events.
| |
ICluster | Hazelcast cluster interface. | |
ICountDownLatch |
ICountDownLatch is a backed-up distributed alternative to the
.
ICountDownLatch is a cluster-wide synchronization aid
that allows one or more threads to wait until a set of operations being
performed in other threads completes.
There are a few differences compared to the
ICountDownLatch
:
| |
IDistributedObject | Base interface for all distributed objects. | |
IDistributedObjectListener |
IDistributedObjectListener allows to get notified when a
IDistributedObject
is created or destroyed cluster-wide.
| |
IEndpoint | Endpoint represents a peer in the cluster. | |
IEntryListenerTKey, TValue |
Map Entry listener to get notified when a map entry
is added, removed, updated or evicted.
| |
IEntryViewTKey, TValue | IEntryView represents a readonly view of a map entry. | |
IEventListener | ||
IExecutionCallbackT |
IExecutionCallback allows to asynchronously get notified when the execution is completed,
either successfully or with error.
| |
IExecutorService |
Distributed implementation of ExecutorService.
IExecutorService provides additional methods like executing tasks
on a specific member, on a member who is owner of a specific key,
executing a tasks on multiple members and listening execution result using a callback.
| |
IHazelcastInstance | Hazelcast instance. | |
IHazelcastInstanceAware | Used to get IHazelcastInstance reference when submitting a Runnable/Callable using Hazelcast ExecutorService. | |
IHCollectionT | Concurrent, distributed, partitioned, listenable collection. | |
IHListT |
Concurrent, distributed implementation of IListTIList
| |
IHSetT |
Concurrent, distributed implementation of ISet
| |
IIdGenerator | Cluster-wide unique id generator. | |
IInitialMembershipListener |
The InitializingMembershipListener is a
IMembershipListener
that will first receives a
InitialMembershipEvent
when it is registered so it immediately knows which members are available. After
that event has been received, it will receive the normal MembershipEvents.
When the InitializingMembershipListener already is registered on a
ICluster
and is registered again on the same
ICluster instance, it will not receive an additional MembershipInitializeEvent. So this is a once only event.
| |
IItemListenerTE | ||
ILifecycleListener | Listener object for lisntening lifecycle events of hazelcast instance | |
ILifecycleService |
ILifecycleService allows you to shutdown, terminate and listen to
LifecycleEvent
's
on IHazelcastInstance.
| |
ILock |
Distributed implementation of Lock
| |
IManagedContext | Container managed context, such as Spring, Guice and etc. | |
IMapTKey, TValue |
Concurrent, distributed, observable and queryable map.
| |
IMember | Cluster member interface. | |
IMembershipListener | ICluster membership listener. | |
IMessageListenerT |
Message listener for
ITopic<E>
.
| |
IMultiExecutionCallback |
IMultiExecutionCallback allows to get notified when an execution is completed on each member
which task is submitted to.
| |
IMultiMapTKey, TValue | A specialized Concurrent, distributed map whose keys can be associated with multiple values. | |
IPartition | Virtual partition instance. | |
IPartitionAwareT |
IPartitionAware allows implementing keys to be located on the same member
or implementing tasks to be executed on
IPartitionAware<T>.GetPartitionKey()
's owner member.
This makes related data to be stored in the same location. (See data-affinity.)
| |
IPartitioningStrategy |
IPartitioningStrategy allows keys to be located on the same member
This makes related data to be stored in the same location.
| |
IPredicate | ||
IPredicateTKey, TValue | Obsolete. | |
IQueueT | Concurrent, blocking, distributed, observable queue. | |
IReplicatedMapTKey, TValue |
A ReplicatedMap is a map-like data structure with weak consistency and values locally stored on every node of the cluster.
| |
IRingbufferT | A Ringbuffer is a data-structure where the content is stored in a ring like structure. | |
ISemaphore |
ISemaphore is a backed-up distributed alternative to the
System.Threading.Semaphore
.
| |
ITopicT |
Hazelcast provides distribution mechanism for publishing messages that are delivered to multiple subscribers
which is also known as publish/subscribe (pub/sub) messaging model.
| |
ITransactionalListE |
Transactional implementation of IHList<E> | |
ITransactionalMapTKey, TValue |
Transactional implementation of Map
| |
ITransactionalMultiMapTKey, TValue | Transactional implementation of MultiMap | |
ITransactionalQueueT | Transactional implementation of Queue | |
ITransactionalSetE |
Transactional implementation of
IHSet<E>
.
| |
MapClearedListener |
Invoked when all entries are removed.
| |
MapEvictedListener |
Invoked when all entries are evicted.
| |
MapListener |
Enumerations
Enumeration | Description | |
---|---|---|
ClientType | Type of a client. | |
EntryEventType | Type of entry event. | |
ItemEventType | Type of item event. | |
LifecycleEventLifecycleState | lifecycle states | |
OverflowPolicy |
Using this policy one can control the behavior what should to be done when an item is about to be added to the ringbuffer,
but there is 0 remaining capacity.
| |
TimeUnit |
Represent Time units
|