Package | Description |
---|---|
com.hazelcast.client |
This package contains the serverside client functionality
|
com.hazelcast.client.proxy |
This package contains client side proxy implementations of the different Hazelcast data structures
and operation types
|
com.hazelcast.client.spi |
Contains classes/interfaces related to the Hazelcast client Service Provider Interface.
|
com.hazelcast.client.util |
This package contains some utility classes and the base implementations of the
loadbalancer implementations
|
com.hazelcast.core |
Provides core API interfaces/classes.
|
com.hazelcast.instance |
This package contains Hazelcast Instance functionality.
|
com.hazelcast.logging |
This package contains logging functionality for Hazelcast.
Since Hazelcast has a zero dependency policy, Hazelcast provides a logging abstraction like commongs logging, so that different logging frameworks like log4j, can be hooked in. |
com.hazelcast.map |
Contains Hazelcast map module classes.
|
com.hazelcast.partition.membergroup |
todo
|
com.hazelcast.quorum |
Contains classes related to cluster quorum.
|
com.hazelcast.scheduledexecutor |
This package contains ScheduledExecutorService functionality for Hazelcast.
|
com.hazelcast.spi |
Provides interfaces/classes for the Hazelcast SPI for building distributed data structures and services.
|
Modifier and Type | Method and Description |
---|---|
Member |
LoadBalancer.next()
Returns the next member to route to.
|
Modifier and Type | Method and Description |
---|---|
Member |
ClientClusterProxy.getLocalMember() |
Modifier and Type | Method and Description |
---|---|
<V> Map<Member,List<IScheduledFuture<V>>> |
ClientScheduledExecutorProxy.getAllScheduledFutures() |
Set<Member> |
ClientClusterProxy.getMembers() |
<V> Map<Member,IScheduledFuture<V>> |
ClientScheduledExecutorProxy.scheduleOnAllMembers(Callable<V> command,
long delay,
TimeUnit unit) |
Map<Member,IScheduledFuture<?>> |
ClientScheduledExecutorProxy.scheduleOnAllMembers(Runnable command,
long delay,
TimeUnit unit) |
Map<Member,IScheduledFuture<?>> |
ClientScheduledExecutorProxy.scheduleOnAllMembersAtFixedRate(Runnable command,
long initialDelay,
long period,
TimeUnit unit) |
<V> Map<Member,IScheduledFuture<V>> |
ClientScheduledExecutorProxy.scheduleOnMembers(Callable<V> command,
Collection<Member> members,
long delay,
TimeUnit unit) |
Map<Member,IScheduledFuture<?>> |
ClientScheduledExecutorProxy.scheduleOnMembers(Runnable command,
Collection<Member> members,
long delay,
TimeUnit unit) |
Map<Member,IScheduledFuture<?>> |
ClientScheduledExecutorProxy.scheduleOnMembersAtFixedRate(Runnable command,
Collection<Member> members,
long initialDelay,
long period,
TimeUnit unit) |
<T> Map<Member,Future<T>> |
ClientExecutorServiceProxy.submitToAllMembers(Callable<T> task) |
<T> Map<Member,Future<T>> |
ClientExecutorServiceProxy.submitToMembers(Callable<T> task,
Collection<Member> members) |
<T> Map<Member,Future<T>> |
ClientExecutorServiceProxy.submitToMembers(Callable<T> task,
MemberSelector memberSelector) |
Modifier and Type | Method and Description |
---|---|
void |
ClientExecutorServiceProxy.executeOnMember(Runnable command,
Member member) |
boolean |
PartitionServiceProxy.isMemberSafe(Member member) |
<V> IScheduledFuture<V> |
ClientScheduledExecutorProxy.scheduleOnMember(Callable<V> command,
Member member,
long delay,
TimeUnit unit) |
IScheduledFuture<?> |
ClientScheduledExecutorProxy.scheduleOnMember(Runnable command,
Member member,
long delay,
TimeUnit unit) |
IScheduledFuture<?> |
ClientScheduledExecutorProxy.scheduleOnMemberAtFixedRate(Runnable command,
Member member,
long initialDelay,
long period,
TimeUnit unit) |
<T> Future<T> |
ClientExecutorServiceProxy.submitToMember(Callable<T> task,
Member member) |
<T> void |
ClientExecutorServiceProxy.submitToMember(Callable<T> task,
Member member,
ExecutionCallback<T> callback) |
void |
ClientExecutorServiceProxy.submitToMember(Runnable command,
Member member,
ExecutionCallback callback) |
Modifier and Type | Method and Description |
---|---|
void |
ClientExecutorServiceProxy.executeOnMembers(Runnable command,
Collection<Member> members) |
<V> Map<Member,IScheduledFuture<V>> |
ClientScheduledExecutorProxy.scheduleOnMembers(Callable<V> command,
Collection<Member> members,
long delay,
TimeUnit unit) |
Map<Member,IScheduledFuture<?>> |
ClientScheduledExecutorProxy.scheduleOnMembers(Runnable command,
Collection<Member> members,
long delay,
TimeUnit unit) |
Map<Member,IScheduledFuture<?>> |
ClientScheduledExecutorProxy.scheduleOnMembersAtFixedRate(Runnable command,
Collection<Member> members,
long initialDelay,
long period,
TimeUnit unit) |
<T> Map<Member,Future<T>> |
ClientExecutorServiceProxy.submitToMembers(Callable<T> task,
Collection<Member> members) |
<T> void |
ClientExecutorServiceProxy.submitToMembers(Callable<T> task,
Collection<Member> members,
MultiExecutionCallback callback) |
void |
ClientExecutorServiceProxy.submitToMembers(Runnable command,
Collection<Member> members,
MultiExecutionCallback callback) |
Modifier and Type | Method and Description |
---|---|
Member |
ClientClusterService.getMember(Address address)
Gets the member for the given address.
|
Member |
ClientClusterService.getMember(String uuid)
Gets the member with the given UUID.
|
Modifier and Type | Method and Description |
---|---|
Collection<Member> |
ClientClusterService.getMemberList()
Gets the collection of members.
|
Collection<Member> |
ClientClusterService.getMembers(MemberSelector selector)
Returns a collection of the members that satisfy the given
MemberSelector . |
Modifier and Type | Method and Description |
---|---|
protected Member[] |
AbstractLoadBalancer.getMembers() |
Member |
StaticLB.next() |
Member |
RoundRobinLB.next() |
Member |
RandomLB.next() |
Constructor and Description |
---|
StaticLB(Member member) |
Modifier and Type | Method and Description |
---|---|
Member |
Cluster.getLocalMember()
Returns this Hazelcast instance member.
|
Member |
MembershipEvent.getMember()
Returns the removed or added member.
|
Member |
MemberLeftException.getMember()
Returns the member that left the cluster
|
Member |
MemberAttributeEvent.getMember() |
Member |
ItemEvent.getMember()
Returns the member that fired this event.
|
Member |
IMapEvent.getMember()
Returns the member that fired this event.
|
Member |
AbstractIMapEvent.getMember()
Returns the member that fired this event.
|
Member |
MigrationEvent.getNewOwner()
Returns the new owner of the migrating partition
|
Member |
MigrationEvent.getOldOwner()
Returns the old owner of the migrating partition
|
Member |
Partition.getOwner()
Returns the current member that owns this partition.
|
Member |
Message.getPublishingMember()
Returns the member that published the message.
|
Modifier and Type | Method and Description |
---|---|
Set<Member> |
MembershipEvent.getMembers()
Returns a consistent view of the the members immediately after this MembershipEvent has been processed.
|
Set<Member> |
InitialMembershipEvent.getMembers()
Returns an immutable set of ordered members at the moment this
InitialMembershipListener is
registered. |
Set<Member> |
Cluster.getMembers()
Set of the current members in the cluster.
|
<T> Map<Member,Future<T>> |
IExecutorService.submitToAllMembers(Callable<T> task)
Submits task to all cluster members and returns a
map of Member-Future pairs representing pending completion of the task on each member.
|
<T> Map<Member,Future<T>> |
IExecutorService.submitToMembers(Callable<T> task,
Collection<Member> members)
Submits a task to given members and returns
map of Member-Future pairs representing pending completion of the task on each member
|
<T> Map<Member,Future<T>> |
IExecutorService.submitToMembers(Callable<T> task,
MemberSelector memberSelector)
Submits a task to selected members and returns a
map of Member-Future pairs representing pending completion of the task on each member.
|
Modifier and Type | Method and Description |
---|---|
void |
IExecutorService.executeOnMember(Runnable command,
Member member)
Executes a task on the specified member.
|
boolean |
PartitionService.isMemberSafe(Member member)
Checks whether the given member is in safe state.
|
void |
MultiExecutionCallback.onResponse(Member member,
Object value)
Called when an execution is completed on a member.
|
boolean |
MemberSelector.select(Member member)
Decides if the given member will be part of an operation or not.
|
<T> Future<T> |
IExecutorService.submitToMember(Callable<T> task,
Member member)
Submits a task to the specified member and returns a Future
representing that task.
|
<T> void |
IExecutorService.submitToMember(Callable<T> task,
Member member,
ExecutionCallback<T> callback)
Submits a task to the specified member.
|
<T> void |
IExecutorService.submitToMember(Runnable task,
Member member,
ExecutionCallback<T> callback)
Submits a task to the specified member.
|
Modifier and Type | Method and Description |
---|---|
void |
IExecutorService.executeOnMembers(Runnable command,
Collection<Member> members)
Executes a task on each of the specified members.
|
void |
MultiExecutionCallback.onComplete(Map<Member,Object> values)
Called after all executions are completed.
|
<T> Map<Member,Future<T>> |
IExecutorService.submitToMembers(Callable<T> task,
Collection<Member> members)
Submits a task to given members and returns
map of Member-Future pairs representing pending completion of the task on each member
|
<T> void |
IExecutorService.submitToMembers(Callable<T> task,
Collection<Member> members,
MultiExecutionCallback callback)
Submits a task to the specified members.
|
void |
IExecutorService.submitToMembers(Runnable task,
Collection<Member> members,
MultiExecutionCallback callback)
Submits a task to the specified members.
|
Constructor and Description |
---|
AbstractIMapEvent(Object source,
Member member,
int eventType)
Constructs a prototypical map Event.
|
EntryEvent(Object source,
Member member,
int eventType,
K key,
V value)
Constructs an entry event.
|
EntryEvent(Object source,
Member member,
int eventType,
K key,
V oldValue,
V value)
Constructs an entry event.
|
EntryEvent(Object source,
Member member,
int eventType,
K key,
V oldValue,
V value,
V mergingValue)
Constructs an entry event.
|
ItemEvent(String name,
ItemEventType itemEventType,
E item,
Member member) |
MapEvent(Object source,
Member member,
int eventType,
int numberOfEntriesAffected) |
MemberAttributeEvent(Cluster cluster,
Member member,
MemberAttributeOperationType operationType,
String key,
Object value) |
MemberLeftException(Member member) |
MembershipEvent(Cluster cluster,
Member member,
int eventType,
Set<Member> members) |
Message(String topicName,
E messageObject,
long publishTime,
Member publishingMember) |
MigrationEvent(int partitionId,
Member oldOwner,
Member newOwner,
MigrationEvent.MigrationStatus status) |
Constructor and Description |
---|
InitialMembershipEvent(Cluster cluster,
Set<Member> members) |
MembershipEvent(Cluster cluster,
Member member,
int eventType,
Set<Member> members) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractMember |
class |
MemberImpl |
Modifier and Type | Method and Description |
---|---|
Member |
HazelcastInstanceProxy.getLocalEndpoint() |
Member |
HazelcastInstanceImpl.getLocalEndpoint() |
Modifier and Type | Method and Description |
---|---|
DiscoveryService |
Node.createDiscoveryService(DiscoveryConfig discoveryConfig,
Member localMember) |
Modifier and Type | Method and Description |
---|---|
Member |
LogEvent.getMember() |
Constructor and Description |
---|
LogEvent(LogRecord logRecord,
Member member) |
Modifier and Type | Method and Description |
---|---|
Member |
EventLostEvent.getMember() |
Constructor and Description |
---|
EventLostEvent(String source,
Member member,
int partitionId) |
MapPartitionLostEvent(Object source,
Member member,
int eventType,
int partitionId) |
Modifier and Type | Method and Description |
---|---|
Set<Member> |
DefaultMemberGroup.getMembers() |
Iterator<Member> |
SingleMemberGroup.iterator() |
Iterator<Member> |
MemberGroup.iterator() |
Iterator<Member> |
DefaultMemberGroup.iterator() |
Modifier and Type | Method and Description |
---|---|
void |
SingleMemberGroup.addMember(Member member) |
void |
MemberGroup.addMember(Member member) |
void |
DefaultMemberGroup.addMember(Member member) |
boolean |
SingleMemberGroup.hasMember(Member member) |
boolean |
MemberGroup.hasMember(Member member) |
boolean |
DefaultMemberGroup.hasMember(Member member) |
void |
SingleMemberGroup.removeMember(Member member) |
void |
MemberGroup.removeMember(Member member) |
void |
DefaultMemberGroup.removeMember(Member member) |
Modifier and Type | Method and Description |
---|---|
void |
SingleMemberGroup.addMembers(Collection<Member> members) |
void |
MemberGroup.addMembers(Collection<Member> members) |
void |
DefaultMemberGroup.addMembers(Collection<Member> members) |
protected Set<MemberGroup> |
ZoneAwareMemberGroupFactory.createInternalMemberGroups(Collection<? extends Member> allMembers) |
protected Set<MemberGroup> |
SPIAwareMemberGroupFactory.createInternalMemberGroups(Collection<? extends Member> allMembers) |
protected Set<MemberGroup> |
HostAwareMemberGroupFactory.createInternalMemberGroups(Collection<? extends Member> allMembers) |
protected Set<MemberGroup> |
ConfigMemberGroupFactory.createInternalMemberGroups(Collection<? extends Member> members) |
Set<MemberGroup> |
SingleMemberGroupFactory.createMemberGroups(Collection<? extends Member> members) |
Collection<MemberGroup> |
MemberGroupFactory.createMemberGroups(Collection<? extends Member> members) |
Constructor and Description |
---|
SingleMemberGroup(Member member) |
Constructor and Description |
---|
DefaultMemberGroup(Collection<Member> members) |
Modifier and Type | Method and Description |
---|---|
Collection<Member> |
QuorumEvent.getCurrentMembers()
Returns the snapshot of member list at the time quorum happened
|
Modifier and Type | Method and Description |
---|---|
void |
HeartbeatAware.onHeartbeat(Member member,
long timestamp)
Notifies of a received heartbeat.
|
void |
PingAware.onPingLost(Member member)
Notifies the
QuorumFunction of ping loss. |
void |
PingAware.onPingRestored(Member member)
Notifies the
QuorumFunction of a successful ping after one or more pings to that member were lost. |
Modifier and Type | Method and Description |
---|---|
boolean |
QuorumFunction.apply(Collection<Member> members)
Determines if quorum is present based on the current list of members in the cluster.
|
Constructor and Description |
---|
QuorumEvent(Object source,
int threshold,
Collection<Member> currentMembers,
boolean presence) |
Modifier and Type | Method and Description |
---|---|
<V> Map<Member,List<IScheduledFuture<V>>> |
IScheduledExecutorService.getAllScheduledFutures()
Fetches and returns all scheduled (not disposed yet) futures from all members in the cluster.
|
<V> Map<Member,IScheduledFuture<V>> |
IScheduledExecutorService.scheduleOnAllMembers(Callable<V> command,
long delay,
TimeUnit unit)
Creates and executes a one-shot action that becomes enabled after the given delay on all cluster
Member s. |
Map<Member,IScheduledFuture<?>> |
IScheduledExecutorService.scheduleOnAllMembers(Runnable command,
long delay,
TimeUnit unit)
Creates and executes a one-shot action that becomes enabled after the given delay on all cluster
Member s. |
Map<Member,IScheduledFuture<?>> |
IScheduledExecutorService.scheduleOnAllMembersAtFixedRate(Runnable command,
long initialDelay,
long period,
TimeUnit unit)
Creates and executes a periodic action that becomes enabled first after the given initial delay, and subsequently with the
given period on all cluster
Member s. |
<V> Map<Member,IScheduledFuture<V>> |
IScheduledExecutorService.scheduleOnMembers(Callable<V> command,
Collection<Member> members,
long delay,
TimeUnit unit)
Creates and executes a one-shot action that becomes enabled after the given delay on all
Member s given. |
Map<Member,IScheduledFuture<?>> |
IScheduledExecutorService.scheduleOnMembers(Runnable command,
Collection<Member> members,
long delay,
TimeUnit unit)
Creates and executes a one-shot action that becomes enabled after the given delay on all
Member s given. |
Map<Member,IScheduledFuture<?>> |
IScheduledExecutorService.scheduleOnMembersAtFixedRate(Runnable command,
Collection<Member> members,
long initialDelay,
long period,
TimeUnit unit)
Creates and executes a periodic action that becomes enabled first after the given initial delay, and subsequently with the
given period on all
Member s given. |
Modifier and Type | Method and Description |
---|---|
<V> IScheduledFuture<V> |
IScheduledExecutorService.scheduleOnMember(Callable<V> command,
Member member,
long delay,
TimeUnit unit)
Creates and executes a one-shot action that becomes enabled after the given delay at the given
Member . |
IScheduledFuture<?> |
IScheduledExecutorService.scheduleOnMember(Runnable command,
Member member,
long delay,
TimeUnit unit)
Creates and executes a one-shot action that becomes enabled after the given delay at the given
Member . |
IScheduledFuture<?> |
IScheduledExecutorService.scheduleOnMemberAtFixedRate(Runnable command,
Member member,
long initialDelay,
long period,
TimeUnit unit)
Creates and executes a periodic action that becomes enabled first after the given initial delay, and subsequently with the
given period at the given
Member . |
Modifier and Type | Method and Description |
---|---|
<V> Map<Member,IScheduledFuture<V>> |
IScheduledExecutorService.scheduleOnMembers(Callable<V> command,
Collection<Member> members,
long delay,
TimeUnit unit)
Creates and executes a one-shot action that becomes enabled after the given delay on all
Member s given. |
Map<Member,IScheduledFuture<?>> |
IScheduledExecutorService.scheduleOnMembers(Runnable command,
Collection<Member> members,
long delay,
TimeUnit unit)
Creates and executes a one-shot action that becomes enabled after the given delay on all
Member s given. |
Map<Member,IScheduledFuture<?>> |
IScheduledExecutorService.scheduleOnMembersAtFixedRate(Runnable command,
Collection<Member> members,
long initialDelay,
long period,
TimeUnit unit)
Creates and executes a periodic action that becomes enabled first after the given initial delay, and subsequently with the
given period on all
Member s given. |
Modifier and Type | Method and Description |
---|---|
Member |
NodeEngine.getLocalMember()
Returns the local member.
|
Copyright © 2018 Hazelcast, Inc.. All rights reserved.