Package | Description |
---|---|
org.infinispan.affinity | |
org.infinispan.commands |
Commands that operate on the cache, either locally or remotely.
|
org.infinispan.commands.remote |
Meta-commands that wrap other commands for remote execution.
|
org.infinispan.commands.tx |
Commands that represent transactional lifecycle transitions.
|
org.infinispan.commands.write |
Commands that alter the state of the cache.
|
org.infinispan.context |
Contexts contain information of a specific invocation on the cache, such as its origins, scope
(transactional or non-transactional), as well as invocation-specific flags.
|
org.infinispan.context.impl |
This package contains different context implementations, selected dynamically based on the type of invocation.
|
org.infinispan.demo |
Classes, programs and applications that help demonstrate how Infinispan can be used.
|
org.infinispan.distexec | |
org.infinispan.distexec.mapreduce | |
org.infinispan.distribution |
Classes relating to the distributed cache mode.
|
org.infinispan.distribution.ch | |
org.infinispan.distribution.group |
Groups allow keys with differeing hash codes to be co-located on the same node.
|
org.infinispan.distribution.topologyaware | |
org.infinispan.interceptors.base |
Base interceptors containing common, reusable behavior.
|
org.infinispan.interceptors.distribution | |
org.infinispan.interceptors.locking | |
org.infinispan.interceptors.totalorder | |
org.infinispan.lucenedemo | |
org.infinispan.manager |
Cache manager package
|
org.infinispan.notifications.cachelistener.event | |
org.infinispan.notifications.cachemanagerlistener |
CacheManager -specific notifications and eventing. |
org.infinispan.notifications.cachemanagerlistener.event | |
org.infinispan.query.clustered | |
org.infinispan.query.logging | |
org.infinispan.remoting |
Remote communication between cache instances.
|
org.infinispan.remoting.responses |
Abstractions of the different response types allowed during RPC.
|
org.infinispan.remoting.rpc |
Remote Procedure Call (RPC) interfaces and components used to invoke remote methods on cache instances.
|
org.infinispan.remoting.transport |
Transports handle the low-level networking, used by the remoting components.
|
org.infinispan.remoting.transport.jgroups |
A transport implementation based on JGroups.
|
org.infinispan.rest | |
org.infinispan.server.hotrod | |
org.infinispan.statetransfer |
Transfer of state to new caches in a cluster.
|
org.infinispan.stats.wrappers | |
org.infinispan.topology | |
org.infinispan.transaction |
JTA transaction support.
|
org.infinispan.transaction.xa |
XA transaction support.
|
org.infinispan.transaction.xa.recovery | |
org.infinispan.util.logging |
Infinispan's logging abstractions that delegate to either JDK or Log4J logging engines.
|
Modifier and Type | Method and Description |
---|---|
Map<Address,BlockingQueue<K>> |
KeyAffinityServiceImpl.getAddress2KeysMapping() |
Modifier and Type | Method and Description |
---|---|
K |
KeyAffinityService.getKeyForAddress(Address address)
Returns a key that will be distributed on the cluster node identified by address.
|
K |
KeyAffinityServiceImpl.getKeyForAddress(Address address) |
Modifier and Type | Method and Description |
---|---|
static <K,V> KeyAffinityService<K> |
KeyAffinityServiceFactory.newKeyAffinityService(Cache<K,V> cache,
Collection<Address> filter,
KeyGenerator<K> keyGenerator,
Executor ex,
int keyBufferSize)
|
static <K,V> KeyAffinityService<K> |
KeyAffinityServiceFactory.newKeyAffinityService(Cache<K,V> cache,
Collection<Address> filter,
KeyGenerator<K> keyGenerator,
Executor ex,
int keyBufferSize,
boolean start)
Creates a service that would only generate keys for addresses specified in filter.
|
Constructor and Description |
---|
KeyAffinityServiceImpl(Executor executor,
Cache<? extends K,?> cache,
KeyGenerator<? extends K> keyGenerator,
int bufferSize,
Collection<Address> filter,
boolean start) |
Modifier and Type | Method and Description |
---|---|
<T> DistributedExecuteCommand<T> |
CommandsFactoryImpl.buildDistributedExecuteCommand(Callable<T> callable,
Address sender,
Collection keys) |
<T> DistributedExecuteCommand<T> |
CommandsFactory.buildDistributedExecuteCommand(Callable<T> callable,
Address sender,
Collection keys)
Builds a DistributedExecuteCommand used for migration and execution of distributed Callables and Runnables.
|
InvalidateCommand |
CommandsFactoryImpl.buildInvalidateFromL1Command(Address origin,
boolean forRehash,
Set<Flag> flags,
Collection<Object> keys) |
InvalidateCommand |
CommandsFactory.buildInvalidateFromL1Command(Address origin,
boolean forRehash,
Set<Flag> flags,
Collection<Object> keys) |
StateRequestCommand |
CommandsFactoryImpl.buildStateRequestCommand(StateRequestCommand.Type subtype,
Address sender,
int viewId,
Set<Integer> segments) |
StateRequestCommand |
CommandsFactory.buildStateRequestCommand(StateRequestCommand.Type subtype,
Address sender,
int viewId,
Set<Integer> segments)
Builds a StateRequestCommand used for requesting transactions and locks and for starting or canceling transfer of cache entries.
|
StateResponseCommand |
CommandsFactoryImpl.buildStateResponseCommand(Address sender,
int viewId,
Collection<StateChunk> stateChunks) |
StateResponseCommand |
CommandsFactory.buildStateResponseCommand(Address sender,
int viewId,
Collection<StateChunk> stateChunks)
Builds a StateResponseCommand used for pushing cache entries to another node in response to a StateRequestCommand.
|
Modifier and Type | Method and Description |
---|---|
Address |
BaseRpcCommand.getOrigin() |
Address |
CacheRpcCommand.getOrigin()
Get the origin of the command
|
Modifier and Type | Method and Description |
---|---|
void |
BaseRpcCommand.setOrigin(Address origin) |
void |
CacheRpcCommand.setOrigin(Address origin)
Set the origin of the command
|
Modifier and Type | Method and Description |
---|---|
Address |
AbstractTransactionBoundaryCommand.getOrigin() |
Modifier and Type | Method and Description |
---|---|
void |
AbstractTransactionBoundaryCommand.setOrigin(Address origin) |
Modifier and Type | Method and Description |
---|---|
boolean |
InvalidateL1Command.isCausedByALocalWrite(Address address)
Returns true if the write that caused the invalidation was performed on this node.
|
Constructor and Description |
---|
InvalidateL1Command(Address writeOrigin,
boolean forRehash,
DataContainer dc,
Configuration config,
DistributionManager dm,
CacheNotifier notifier,
Set<Flag> flags,
Collection<Object> keys) |
Modifier and Type | Method and Description |
---|---|
Address |
SingleKeyNonTxInvocationContext.getOrigin() |
Address |
InvocationContext.getOrigin()
Get the origin of the command, or null if the command originated locally
|
Modifier and Type | Method and Description |
---|---|
Address |
ImmutableContext.getOrigin() |
Address |
AbstractInvocationContext.getOrigin() |
Modifier and Type | Method and Description |
---|---|
Collection<Address> |
LocalTxInvocationContext.getRemoteLocksAcquired() |
Modifier and Type | Method and Description |
---|---|
void |
AbstractInvocationContext.setOrigin(Address origin) |
Modifier and Type | Method and Description |
---|---|
void |
LocalTxInvocationContext.remoteLocksAcquired(Collection<Address> nodes) |
Modifier and Type | Method and Description |
---|---|
void |
InfinispanDemo.ClusterTableModel.setMembers(List<Address> m) |
Modifier and Type | Method and Description |
---|---|
Address |
FailoverContext.executionFailureLocation()
Returns an Address of the node where the task failed
|
Address |
DistributedTaskFailoverPolicy.failover(FailoverContext context)
As parts of distributively executed task can fail due to the task itself throwing an exception
or it can be an Infinispan system caused failure (e.g node failed or left cluster during task
execution etc).
|
protected <T> Address |
DefaultExecutorService.selectExecutionNode(DistributedTask<T> task) |
protected Address |
DefaultExecutorService.selectExecutionNode(List<Address> candidates) |
Modifier and Type | Method and Description |
---|---|
List<Address> |
FailoverContext.executionCandidates()
Returns a list of candidates for possible repeated execution governed by installed
DistributedTaskFailoverPolicy |
protected <T> List<Address> |
DefaultExecutorService.executionCandidates(DistributedTask<T> task) |
protected List<Address> |
DefaultExecutorService.getMembers() |
protected <K> Map<Address,List<K>> |
DefaultExecutorService.keysToExecutionNodes(DistributedTaskExecutionPolicy policy,
K... input) |
protected List<Address> |
DefaultExecutorService.randomClusterMembers(List<Address> members,
int numNeeded) |
Modifier and Type | Method and Description |
---|---|
protected <T,K> org.infinispan.distexec.DefaultExecutorService.DistributedTaskPart<T> |
DefaultExecutorService.createDistributedTaskPart(DistributedTask<T> task,
DistributedExecuteCommand<T> c,
Address target,
int failoverCount) |
protected <T,K> org.infinispan.distexec.DefaultExecutorService.DistributedTaskPart<T> |
DefaultExecutorService.createDistributedTaskPart(DistributedTask<T> task,
DistributedExecuteCommand<T> c,
List<K> inputKeys,
Address target,
int failoverCount) |
<T> Future<T> |
DistributedExecutorService.submit(Address target,
Callable<T> task)
Submits the given Callable task for execution on the specified target Infinispan node.
|
<T> Future<T> |
DefaultExecutorService.submit(Address target,
Callable<T> task) |
<T> Future<T> |
DistributedExecutorService.submit(Address target,
DistributedTask<T> task)
Submits the given DistributedTask for execution on the specified target Infinispan node.
|
<T> Future<T> |
DefaultExecutorService.submit(Address target,
DistributedTask<T> task) |
Modifier and Type | Method and Description |
---|---|
protected List<Address> |
DefaultExecutorService.randomClusterMembers(List<Address> members,
int numNeeded) |
protected Address |
DefaultExecutorService.selectExecutionNode(List<Address> candidates) |
Modifier and Type | Method and Description |
---|---|
protected <T> Map<Address,? extends Collection<T>> |
MapReduceTask.mapKeysToNodes(Collection<T> keysToMap) |
protected <T> Map<Address,? extends Collection<T>> |
MapReduceTask.mapKeysToNodes(Collection<T> keysToMap,
boolean useIntermediateCompositeKey) |
protected <T> Map<Address,? extends Collection<T>> |
MapReduceTask.mapKeysToNodes(DistributionManager dm,
Collection<T> keysToMap,
boolean useIntermediateCompositeKey) |
<T> Map<Address,List<T>> |
MapReduceManagerImpl.mapKeysToNodes(DistributionManager dm,
String taskId,
Collection<T> keysToMap,
boolean useIntermediateCompositeKey) |
<T> Map<Address,List<T>> |
MapReduceManager.mapKeysToNodes(DistributionManager dm,
String taskId,
Collection<T> keysToMap,
boolean useIntermediateCompositeKey)
Maps Map/Reduce task intermediate or input keys to nodes on Infinispan cluster
|
Modifier and Type | Method and Description |
---|---|
protected <V> org.infinispan.distexec.mapreduce.MapReduceTask.ReduceTaskPart<V> |
MapReduceTask.createReducePart(ReduceCommand<KOut,VOut> cmd,
Address target,
String destCacheName) |
protected <V> org.infinispan.distexec.mapreduce.MapReduceTask.MapTaskPart<V> |
MapReduceTask.createTaskMapPart(MapCombineCommand<KIn,VIn,KOut,VOut> cmd,
Address target,
boolean distributedReduce) |
Modifier and Type | Method and Description |
---|---|
Address |
DistributionManager.getPrimaryLocation(Object key)
Returns the first Address containing the key.
|
Address |
DistributionManagerImpl.getPrimaryLocation(Object key) |
Modifier and Type | Method and Description |
---|---|
List<Address> |
DistributionManager.locate(Object key)
Locates a key in a cluster.
|
List<Address> |
DistributionManagerImpl.locate(Object key) |
Set<Address> |
DistributionManager.locateAll(Collection<Object> keys)
Locates a list of keys in a cluster.
|
Set<Address> |
DistributionManagerImpl.locateAll(Collection<Object> keys) |
Modifier and Type | Method and Description |
---|---|
void |
L1Manager.addRequestor(Object key,
Address requestor)
Records a request that will be cached in another nodes L1
|
void |
L1ManagerImpl.addRequestor(Object key,
Address origin) |
Future<Object> |
L1Manager.flushCache(Collection<Object> key,
Address origin,
boolean assumeOriginKeptEntryInL1) |
Future<Object> |
L1ManagerImpl.flushCache(Collection<Object> keys,
Address origin,
boolean assumeOriginKeptEntryInL1) |
Future<Object> |
L1Manager.flushCacheWithSimpleFuture(Collection<Object> keys,
Object retval,
Address origin,
boolean assumeOriginKeptEntryInL1) |
Future<Object> |
L1ManagerImpl.flushCacheWithSimpleFuture(Collection<Object> keys,
Object retval,
Address origin,
boolean assumeOriginKeptEntryInL1) |
Modifier and Type | Method and Description |
---|---|
protected Address |
DefaultConsistentHashFactory.findNewBackupOwner(DefaultConsistentHashFactory.Builder builder,
Collection<Address> excludes,
Address owner) |
protected Address |
DefaultConsistentHashFactory.findNewPrimaryOwner(DefaultConsistentHashFactory.Builder builder,
Collection<Address> candidates,
Address primaryOwner) |
Address |
DefaultConsistentHashFactory.Builder.getPrimaryOwner(int segment) |
Address |
ReplicatedConsistentHash.locatePrimaryOwner(Object key) |
Address |
ConsistentHash.locatePrimaryOwner(Object key)
Should be equivalent to return the first element of
ConsistentHash.locateOwners(java.lang.Object) . |
Address |
DefaultConsistentHash.locatePrimaryOwner(Object key) |
Address |
ReplicatedConsistentHash.locatePrimaryOwnerForSegment(int segmentId) |
Address |
ConsistentHash.locatePrimaryOwnerForSegment(int segmentId) |
Address |
DefaultConsistentHash.locatePrimaryOwnerForSegment(int segmentId) |
Modifier and Type | Method and Description |
---|---|
List<Address> |
DefaultConsistentHashFactory.Builder.getBackupOwners(int segment) |
Map<Address,Float> |
DefaultConsistentHashFactory.Builder.getCapacityFactors() |
Map<Address,Float> |
DefaultConsistentHash.getCapacityFactors() |
List<Address> |
DefaultConsistentHashFactory.Builder.getMembers() |
List<Address> |
ReplicatedConsistentHash.getMembers() |
List<Address> |
ConsistentHash.getMembers()
Should return the addresses of the nodes used to create this consistent hash.
|
List<Address> |
DefaultConsistentHash.getMembers() |
List<Address> |
DefaultConsistentHashFactory.Builder.getOwners(int segment) |
List<Address> |
SyncConsistentHashFactory.Builder.getOwners(int i) |
List<Address> |
SyncConsistentHashFactory.Builder.getSortedMembers() |
Set<Address> |
ReplicatedConsistentHash.locateAllOwners(Collection<Object> keys) |
Set<Address> |
ConsistentHash.locateAllOwners(Collection<Object> keys)
The logical equivalent of calling
ConsistentHash.locateOwners(java.lang.Object) multiple times for each key in the collection of
keys and merging the results. |
Set<Address> |
DefaultConsistentHash.locateAllOwners(Collection<Object> keys) |
List<Address> |
ReplicatedConsistentHash.locateOwners(Object key) |
List<Address> |
ConsistentHash.locateOwners(Object key)
Finds all the owners of a key.
|
List<Address> |
DefaultConsistentHash.locateOwners(Object key) |
List<Address> |
ReplicatedConsistentHash.locateOwnersForSegment(int segmentId) |
List<Address> |
ConsistentHash.locateOwnersForSegment(int segmentId) |
List<Address> |
DefaultConsistentHash.locateOwnersForSegment(int segmentId) |
Modifier and Type | Method and Description |
---|---|
boolean |
DefaultConsistentHashFactory.Builder.addOwner(int segment,
Address owner) |
void |
DefaultConsistentHashFactory.Builder.addPrimaryOwner(int segment,
Address newPrimaryOwner) |
void |
OwnershipStatistics.decOwned(Address a) |
void |
OwnershipStatistics.decPrimaryOwned(Address a) |
protected Address |
DefaultConsistentHashFactory.findNewBackupOwner(DefaultConsistentHashFactory.Builder builder,
Collection<Address> excludes,
Address owner) |
protected Address |
DefaultConsistentHashFactory.findNewPrimaryOwner(DefaultConsistentHashFactory.Builder builder,
Collection<Address> candidates,
Address primaryOwner) |
float |
DefaultConsistentHashFactory.Builder.getCapacityFactor(Address node) |
float |
SyncConsistentHashFactory.Builder.getCapacityFactor(Address node) |
int |
DefaultConsistentHashFactory.Builder.getOwned(Address node) |
int |
OwnershipStatistics.getOwned(Address a) |
float |
DefaultConsistentHashFactory.Builder.getOwnedPerCapacity(Address node) |
int |
OwnershipStatistics.getPrimaryOwned(Address a) |
float |
DefaultConsistentHashFactory.Builder.getPrimaryOwnedPerCapacity(Address node) |
Set<Integer> |
ReplicatedConsistentHash.getSegmentsForOwner(Address owner) |
Set<Integer> |
ConsistentHash.getSegmentsForOwner(Address owner)
Returns the segments owned by a cache member.
|
Set<Integer> |
DefaultConsistentHash.getSegmentsForOwner(Address owner) |
void |
OwnershipStatistics.incOwned(Address a) |
void |
OwnershipStatistics.incPrimaryOwned(Address a) |
boolean |
ReplicatedConsistentHash.isKeyLocalToNode(Address nodeAddress,
Object key) |
boolean |
ConsistentHash.isKeyLocalToNode(Address nodeAddress,
Object key)
Test to see whether a key is owned by a given node.
|
boolean |
DefaultConsistentHash.isKeyLocalToNode(Address nodeAddress,
Object key) |
boolean |
DefaultConsistentHashFactory.Builder.removeOwner(int segment,
Address owner) |
void |
DefaultConsistentHashFactory.Builder.replacePrimaryOwnerWithBackup(int segment,
Address newPrimaryOwner) |
Modifier and Type | Method and Description |
---|---|
boolean |
DefaultConsistentHashFactory.Builder.addOwners(int segment,
Collection<Address> newOwners) |
int |
DefaultConsistentHashFactory.Builder.computeActualNumOwners(int numOwners,
List<Address> members,
Map<Address,Float> capacityFactors) |
int |
DefaultConsistentHashFactory.Builder.computeActualNumOwners(int numOwners,
List<Address> members,
Map<Address,Float> capacityFactors) |
DefaultConsistentHash |
DefaultConsistentHashFactory.create(Hash hashFunction,
int numOwners,
int numSegments,
List<Address> members,
Map<Address,Float> capacityFactors) |
DefaultConsistentHash |
DefaultConsistentHashFactory.create(Hash hashFunction,
int numOwners,
int numSegments,
List<Address> members,
Map<Address,Float> capacityFactors) |
DefaultConsistentHash |
SyncConsistentHashFactory.create(Hash hashFunction,
int numOwners,
int numSegments,
List<Address> members,
Map<Address,Float> capacityFactors) |
DefaultConsistentHash |
SyncConsistentHashFactory.create(Hash hashFunction,
int numOwners,
int numSegments,
List<Address> members,
Map<Address,Float> capacityFactors) |
ReplicatedConsistentHash |
ReplicatedConsistentHashFactory.create(Hash hashFunction,
int numOwners,
int numSegments,
List<Address> members,
Map<Address,Float> capacityFactors) |
ReplicatedConsistentHash |
ReplicatedConsistentHashFactory.create(Hash hashFunction,
int numOwners,
int numSegments,
List<Address> members,
Map<Address,Float> capacityFactors) |
CH |
ConsistentHashFactory.create(Hash hashFunction,
int numOwners,
int numSegments,
List<Address> members,
Map<Address,Float> capacityFactors)
Create a new consistent hash instance.
|
CH |
ConsistentHashFactory.create(Hash hashFunction,
int numOwners,
int numSegments,
List<Address> members,
Map<Address,Float> capacityFactors)
Create a new consistent hash instance.
|
protected Address |
DefaultConsistentHashFactory.findNewBackupOwner(DefaultConsistentHashFactory.Builder builder,
Collection<Address> excludes,
Address owner) |
protected Address |
DefaultConsistentHashFactory.findNewPrimaryOwner(DefaultConsistentHashFactory.Builder builder,
Collection<Address> candidates,
Address primaryOwner) |
protected void |
TopologyAwareSyncConsistentHashFactory.populateOwnersFewSegments(SyncConsistentHashFactory.Builder builder,
SortedMap<Integer,Address> primarySegments) |
protected void |
SyncConsistentHashFactory.populateOwnersFewSegments(SyncConsistentHashFactory.Builder builder,
SortedMap<Integer,Address> primarySegments) |
protected void |
TopologyAwareSyncConsistentHashFactory.populateOwnersManySegments(SyncConsistentHashFactory.Builder builder,
SortedMap<Integer,Address> primarySegments) |
protected void |
SyncConsistentHashFactory.populateOwnersManySegments(SyncConsistentHashFactory.Builder builder,
SortedMap<Integer,Address> primarySegments) |
CH |
ConsistentHashFactory.updateMembers(CH baseCH,
List<Address> newMembers,
Map<Address,Float> capacityFactors)
Create a new consistent hash instance, based on an existing instance, but with a new list of members.
|
CH |
ConsistentHashFactory.updateMembers(CH baseCH,
List<Address> newMembers,
Map<Address,Float> capacityFactors)
Create a new consistent hash instance, based on an existing instance, but with a new list of members.
|
DefaultConsistentHash |
DefaultConsistentHashFactory.updateMembers(DefaultConsistentHash baseCH,
List<Address> actualMembers,
Map<Address,Float> actualCapacityFactors)
Leavers are removed and segments without owners are assigned new owners.
|
DefaultConsistentHash |
DefaultConsistentHashFactory.updateMembers(DefaultConsistentHash baseCH,
List<Address> actualMembers,
Map<Address,Float> actualCapacityFactors)
Leavers are removed and segments without owners are assigned new owners.
|
DefaultConsistentHash |
SyncConsistentHashFactory.updateMembers(DefaultConsistentHash baseCH,
List<Address> newMembers,
Map<Address,Float> actualCapacityFactors) |
DefaultConsistentHash |
SyncConsistentHashFactory.updateMembers(DefaultConsistentHash baseCH,
List<Address> newMembers,
Map<Address,Float> actualCapacityFactors) |
ReplicatedConsistentHash |
ReplicatedConsistentHashFactory.updateMembers(ReplicatedConsistentHash baseCH,
List<Address> newMembers,
Map<Address,Float> actualCapacityFactors) |
ReplicatedConsistentHash |
ReplicatedConsistentHashFactory.updateMembers(ReplicatedConsistentHash baseCH,
List<Address> newMembers,
Map<Address,Float> actualCapacityFactors) |
Constructor and Description |
---|
DefaultConsistentHash(Hash hashFunction,
int numOwners,
int numSegments,
List<Address> members,
Map<Address,Float> capacityFactors,
List<Address>[] segmentOwners) |
DefaultConsistentHash(Hash hashFunction,
int numOwners,
int numSegments,
List<Address> members,
Map<Address,Float> capacityFactors,
List<Address>[] segmentOwners) |
DefaultConsistentHashFactory.Builder(DefaultConsistentHash baseCH,
List<Address> actualMembers,
Map<Address,Float> actualCapacityFactors) |
DefaultConsistentHashFactory.Builder(DefaultConsistentHash baseCH,
List<Address> actualMembers,
Map<Address,Float> actualCapacityFactors) |
DefaultConsistentHashFactory.Builder(Hash hashFunction,
int numOwners,
int numSegments,
List<Address> members,
Map<Address,Float> capacityFactors) |
DefaultConsistentHashFactory.Builder(Hash hashFunction,
int numOwners,
int numSegments,
List<Address> members,
Map<Address,Float> capacityFactors) |
OwnershipStatistics(ConsistentHash ch,
List<Address> nodes) |
OwnershipStatistics(List<Address> nodes) |
ReplicatedConsistentHash(Hash hashFunction,
List<Address> members,
int[] primaryOwners) |
Modifier and Type | Method and Description |
---|---|
Address |
GroupingConsistentHash.locatePrimaryOwner(Object key) |
Address |
GroupingConsistentHash.locatePrimaryOwnerForSegment(int segmentId) |
Modifier and Type | Method and Description |
---|---|
List<Address> |
GroupingConsistentHash.getMembers() |
Set<Address> |
GroupingConsistentHash.locateAllOwners(Collection<Object> keys) |
List<Address> |
GroupingConsistentHash.locateOwners(Object key) |
List<Address> |
GroupingConsistentHash.locateOwnersForSegment(int segmentId) |
Modifier and Type | Method and Description |
---|---|
Set<Integer> |
GroupingConsistentHash.getSegmentsForOwner(Address owner) |
boolean |
GroupingConsistentHash.isKeyLocalToNode(Address nodeAddress,
Object key) |
Modifier and Type | Method and Description |
---|---|
Collection<Address> |
TopologyInfo.getMachineNodes(String site,
String rack,
String machine) |
Collection<Address> |
TopologyInfo.getRackNodes(String site,
String rack) |
Collection<Address> |
TopologyInfo.getSiteNodes(String site) |
Modifier and Type | Method and Description |
---|---|
int |
TopologyInfo.computeExpectedSegments(int numSegments,
int numOwners,
Address node) |
double |
TopologyInfo.computeMaxSegmentsForMachine(int numSegments,
double numCopies,
Collection<org.infinispan.distribution.topologyaware.TopologyInfo.Machine> machines,
org.infinispan.distribution.topologyaware.TopologyInfo.Machine machine,
Address node) |
double |
TopologyInfo.computeMaxSegmentsForNode(int numSegments,
double numCopies,
Collection<Address> nodes,
Address node) |
double |
TopologyInfo.computeMaxSegmentsForRack(int numSegments,
double numCopies,
Collection<org.infinispan.distribution.topologyaware.TopologyInfo.Rack> racks,
org.infinispan.distribution.topologyaware.TopologyInfo.Rack rack,
org.infinispan.distribution.topologyaware.TopologyInfo.Machine machine,
Address node) |
double |
TopologyInfo.computeMaxSegmentsForSite(int numSegments,
double numCopies,
Collection<org.infinispan.distribution.topologyaware.TopologyInfo.Site> sites,
org.infinispan.distribution.topologyaware.TopologyInfo.Site site,
org.infinispan.distribution.topologyaware.TopologyInfo.Rack rack,
org.infinispan.distribution.topologyaware.TopologyInfo.Machine machine,
Address node) |
Modifier and Type | Method and Description |
---|---|
double |
TopologyInfo.computeMaxSegmentsForNode(int numSegments,
double numCopies,
Collection<Address> nodes,
Address node) |
float |
TopologyInfo.computeTotalCapacity(Collection<Address> nodes,
Map<Address,Float> capacityFactors) |
float |
TopologyInfo.computeTotalCapacity(Collection<Address> nodes,
Map<Address,Float> capacityFactors) |
Constructor and Description |
---|
TopologyInfo(Collection<Address> members,
Map<Address,Float> capacityFactors) |
TopologyInfo(Collection<Address> members,
Map<Address,Float> capacityFactors) |
Modifier and Type | Method and Description |
---|---|
protected Map<Address,Response> |
BaseRpcInterceptor.totalOrderAnycastPrepare(Collection<Address> recipients,
PrepareCommand prepareCommand,
ResponseFilter responseFilter) |
protected Map<Address,Response> |
BaseRpcInterceptor.totalOrderBroadcastPrepare(PrepareCommand prepareCommand,
ResponseFilter responseFilter) |
Modifier and Type | Method and Description |
---|---|
protected ResponseFilter |
BaseRpcInterceptor.getIgnoreExtraResponseFilter(Collection<Address> recipients) |
protected Map<Address,Response> |
BaseRpcInterceptor.totalOrderAnycastPrepare(Collection<Address> recipients,
PrepareCommand prepareCommand,
ResponseFilter responseFilter) |
Modifier and Type | Method and Description |
---|---|
protected void |
VersionedDistributionInterceptor.prepareOnAffectedNodes(TxInvocationContext ctx,
PrepareCommand command,
Collection<Address> recipients,
boolean ignored) |
protected void |
TxDistributionInterceptor.prepareOnAffectedNodes(TxInvocationContext ctx,
PrepareCommand command,
Collection<Address> recipients,
boolean sync) |
Modifier and Type | Field and Description |
---|---|
static Address |
ClusteringDependentLogic.LOCAL_MODE_ADDRESS |
Modifier and Type | Method and Description |
---|---|
Address |
ClusteringDependentLogic.getAddress() |
Address |
ClusteringDependentLogic.LocalLogic.getAddress() |
Address |
ClusteringDependentLogic.InvalidationLogic.getAddress() |
Address |
ClusteringDependentLogic.DistributionLogic.getAddress() |
Address |
ClusteringDependentLogic.getPrimaryOwner(Object key) |
Address |
ClusteringDependentLogic.LocalLogic.getPrimaryOwner(Object key) |
Address |
ClusteringDependentLogic.InvalidationLogic.getPrimaryOwner(Object key) |
Address |
ClusteringDependentLogic.DistributionLogic.getPrimaryOwner(Object key) |
Modifier and Type | Method and Description |
---|---|
List<Address> |
ClusteringDependentLogic.getOwners(Collection<Object> keys) |
List<Address> |
ClusteringDependentLogic.LocalLogic.getOwners(Collection<Object> keys) |
List<Address> |
ClusteringDependentLogic.InvalidationLogic.getOwners(Collection<Object> keys) |
List<Address> |
ClusteringDependentLogic.DistributionLogic.getOwners(Collection<Object> affectedKeys) |
List<Address> |
ClusteringDependentLogic.getOwners(Object key) |
List<Address> |
ClusteringDependentLogic.LocalLogic.getOwners(Object key) |
List<Address> |
ClusteringDependentLogic.InvalidationLogic.getOwners(Object key) |
List<Address> |
ClusteringDependentLogic.DistributionLogic.getOwners(Object key) |
Modifier and Type | Method and Description |
---|---|
protected void |
TotalOrderDistributionInterceptor.prepareOnAffectedNodes(TxInvocationContext ctx,
PrepareCommand command,
Collection<Address> recipients,
boolean sync) |
protected void |
TotalOrderVersionedDistributionInterceptor.prepareOnAffectedNodes(TxInvocationContext ctx,
PrepareCommand command,
Collection<Address> recipients,
boolean sync) |
Modifier and Type | Method and Description |
---|---|
List<Address> |
DemoActions.listAllMembers()
Returns a list of Addresses of all members in the cluster
|
Modifier and Type | Method and Description |
---|---|
Address |
DefaultCacheManager.getAddress() |
Address |
EmbeddedCacheManager.getAddress() |
Address |
AbstractDelegatingEmbeddedCacheManager.getAddress() |
Address |
DefaultCacheManager.getCoordinator() |
Address |
EmbeddedCacheManager.getCoordinator() |
Address |
AbstractDelegatingEmbeddedCacheManager.getCoordinator() |
Modifier and Type | Method and Description |
---|---|
List<Address> |
DefaultCacheManager.getMembers() |
List<Address> |
EmbeddedCacheManager.getMembers() |
List<Address> |
AbstractDelegatingEmbeddedCacheManager.getMembers() |
Modifier and Type | Method and Description |
---|---|
Collection<Address> |
DataRehashedEvent.getMembersAtEnd() |
Collection<Address> |
EventImpl.getMembersAtEnd() |
Collection<Address> |
DataRehashedEvent.getMembersAtStart() |
Collection<Address> |
EventImpl.getMembersAtStart() |
Modifier and Type | Method and Description |
---|---|
void |
CacheManagerNotifierImpl.notifyMerge(List<Address> members,
List<Address> oldMembers,
Address myAddress,
int viewId,
List<List<Address>> subgroupsMerged) |
void |
CacheManagerNotifier.notifyMerge(List<Address> members,
List<Address> oldMembers,
Address myAddress,
int viewId,
List<List<Address>> subgroupsMerged) |
void |
CacheManagerNotifierImpl.notifyViewChange(List<Address> members,
List<Address> oldMembers,
Address myAddress,
int viewId) |
void |
CacheManagerNotifier.notifyViewChange(List<Address> members,
List<Address> oldMembers,
Address myAddress,
int viewId)
Notifies all registered listeners of a viewChange event.
|
Modifier and Type | Method and Description |
---|---|
void |
CacheManagerNotifierImpl.notifyMerge(List<Address> members,
List<Address> oldMembers,
Address myAddress,
int viewId,
List<List<Address>> subgroupsMerged) |
void |
CacheManagerNotifierImpl.notifyMerge(List<Address> members,
List<Address> oldMembers,
Address myAddress,
int viewId,
List<List<Address>> subgroupsMerged) |
void |
CacheManagerNotifierImpl.notifyMerge(List<Address> members,
List<Address> oldMembers,
Address myAddress,
int viewId,
List<List<Address>> subgroupsMerged) |
void |
CacheManagerNotifier.notifyMerge(List<Address> members,
List<Address> oldMembers,
Address myAddress,
int viewId,
List<List<Address>> subgroupsMerged) |
void |
CacheManagerNotifier.notifyMerge(List<Address> members,
List<Address> oldMembers,
Address myAddress,
int viewId,
List<List<Address>> subgroupsMerged) |
void |
CacheManagerNotifier.notifyMerge(List<Address> members,
List<Address> oldMembers,
Address myAddress,
int viewId,
List<List<Address>> subgroupsMerged) |
void |
CacheManagerNotifierImpl.notifyViewChange(List<Address> members,
List<Address> oldMembers,
Address myAddress,
int viewId) |
void |
CacheManagerNotifierImpl.notifyViewChange(List<Address> members,
List<Address> oldMembers,
Address myAddress,
int viewId) |
void |
CacheManagerNotifier.notifyViewChange(List<Address> members,
List<Address> oldMembers,
Address myAddress,
int viewId)
Notifies all registered listeners of a viewChange event.
|
void |
CacheManagerNotifier.notifyViewChange(List<Address> members,
List<Address> oldMembers,
Address myAddress,
int viewId)
Notifies all registered listeners of a viewChange event.
|
Modifier and Type | Method and Description |
---|---|
Address |
EventImpl.getLocalAddress() |
Address |
ViewChangedEvent.getLocalAddress() |
Modifier and Type | Method and Description |
---|---|
List<Address> |
EventImpl.getNewMembers() |
List<Address> |
ViewChangedEvent.getNewMembers()
Gets the current list of members.
|
List<Address> |
EventImpl.getOldMembers() |
List<Address> |
ViewChangedEvent.getOldMembers()
Gets the previous list of members.
|
List<List<Address>> |
MergeEvent.getSubgroupsMerged() |
List<List<Address>> |
EventImpl.getSubgroupsMerged() |
Modifier and Type | Method and Description |
---|---|
void |
EventImpl.setLocalAddress(Address localAddress) |
Modifier and Type | Method and Description |
---|---|
void |
EventImpl.setNewMembers(List<Address> newMembers) |
void |
EventImpl.setOldMembers(List<Address> oldMembers) |
void |
EventImpl.setSubgroupsMerged(List<List<Address>> subgroupsMerged) |
Constructor and Description |
---|
EventImpl(String cacheName,
EmbeddedCacheManager cacheManager,
Event.Type type,
List<Address> newMemberList,
List<Address> oldMemberList,
Address localAddress,
int viewId) |
Constructor and Description |
---|
EventImpl(String cacheName,
EmbeddedCacheManager cacheManager,
Event.Type type,
List<Address> newMemberList,
List<Address> oldMemberList,
Address localAddress,
int viewId) |
EventImpl(String cacheName,
EmbeddedCacheManager cacheManager,
Event.Type type,
List<Address> newMemberList,
List<Address> oldMemberList,
Address localAddress,
int viewId) |
Modifier and Type | Method and Description |
---|---|
Address |
QueryResponse.getAddress() |
Address |
ClusteredTopDocs.getNodeAddress() |
Modifier and Type | Method and Description |
---|---|
Object |
ClusteredQueryInvoker.getValue(int doc,
Address address,
UUID queryId)
Retrieves the value (using doc index) in a remote query instance
|
void |
QueryResponse.setAddress(Address address) |
void |
ClusteredTopDocs.setNodeAddress(Address nodeAddress) |
Modifier and Type | Method and Description |
---|---|
void |
Log.workListRemotedTo(Object workList,
Address primaryNodeAddress) |
Modifier and Type | Method and Description |
---|---|
void |
InboundInvocationHandler.handle(CacheRpcCommand command,
Address origin,
org.jgroups.blocks.Response response,
boolean preserveOrder)
Invokes a command on the cache, from a remote source.
|
void |
InboundInvocationHandlerImpl.handle(CacheRpcCommand cmd,
Address origin,
org.jgroups.blocks.Response response,
boolean preserveOrder) |
Modifier and Type | Method and Description |
---|---|
boolean |
ClusteredGetResponseValidityFilter.isAcceptable(Response response,
Address address) |
boolean |
KeysValidateFilter.isAcceptable(Response response,
Address sender) |
boolean |
SelfDeliverFilter.isAcceptable(Response response,
Address sender) |
boolean |
IgnoreExtraResponsesValidityFilter.isAcceptable(Response response,
Address address) |
Constructor and Description |
---|
ClusteredGetResponseValidityFilter(Collection<Address> targets,
Address self) |
IgnoreExtraResponsesValidityFilter(Collection<Address> targets,
Address self,
boolean removeSelf) |
KeysValidateFilter(Address localAddress,
Set<Object> keysAwaitingValidation) |
SelfDeliverFilter(Address localAddress) |
Constructor and Description |
---|
ClusteredGetResponseValidityFilter(Collection<Address> targets,
Address self) |
IgnoreExtraResponsesValidityFilter(Collection<Address> targets,
Address self,
boolean removeSelf) |
Modifier and Type | Method and Description |
---|---|
Address |
RpcManager.getAddress()
Returns the address associated with this RpcManager or null if not part of the cluster.
|
Address |
RpcManagerImpl.getAddress() |
Modifier and Type | Method and Description |
---|---|
boolean |
ResponseFilter.isAcceptable(Response response,
Address sender)
Determines whether a response from a given sender should be added to the response list of the request
|
Modifier and Type | Method and Description |
---|---|
Map<Address,Response> |
RpcManager.invokeRemotely(Collection<Address> recipients,
ReplicableCommand rpc,
boolean sync)
Deprecated.
this method may be removed in the future. Use
RpcManager.invokeRemotely(java.util.Collection, org.infinispan.commands.ReplicableCommand, RpcOptions) |
Map<Address,Response> |
RpcManagerImpl.invokeRemotely(Collection<Address> recipients,
ReplicableCommand rpc,
boolean sync) |
Map<Address,Response> |
RpcManager.invokeRemotely(Collection<Address> recipients,
ReplicableCommand rpc,
boolean sync,
boolean usePriorityQueue)
Deprecated.
this method may be removed in the future. Use
RpcManager.invokeRemotely(java.util.Collection, org.infinispan.commands.ReplicableCommand, RpcOptions) |
Map<Address,Response> |
RpcManagerImpl.invokeRemotely(Collection<Address> recipients,
ReplicableCommand rpc,
boolean sync,
boolean usePriorityQueue) |
Map<Address,Response> |
RpcManagerImpl.invokeRemotely(Collection<Address> recipients,
ReplicableCommand rpc,
boolean sync,
boolean usePriorityQueue,
long timeout) |
Map<Address,Response> |
RpcManager.invokeRemotely(Collection<Address> recipients,
ReplicableCommand rpcCommand,
ResponseMode mode,
long timeout)
Deprecated.
this method may be removed in the future. Use
RpcManager.invokeRemotely(java.util.Collection, org.infinispan.commands.ReplicableCommand, RpcOptions) |
Map<Address,Response> |
RpcManagerImpl.invokeRemotely(Collection<Address> recipients,
ReplicableCommand rpcCommand,
ResponseMode mode,
long timeout) |
Map<Address,Response> |
RpcManager.invokeRemotely(Collection<Address> recipients,
ReplicableCommand rpcCommand,
ResponseMode mode,
long timeout,
boolean usePriorityQueue)
Deprecated.
this method may be removed in the future. Use
RpcManager.invokeRemotely(java.util.Collection, org.infinispan.commands.ReplicableCommand, RpcOptions) |
Map<Address,Response> |
RpcManagerImpl.invokeRemotely(Collection<Address> recipients,
ReplicableCommand rpcCommand,
ResponseMode mode,
long timeout,
boolean usePriorityQueue) |
Map<Address,Response> |
RpcManager.invokeRemotely(Collection<Address> recipients,
ReplicableCommand rpcCommand,
ResponseMode mode,
long timeout,
boolean usePriorityQueue,
ResponseFilter responseFilter)
Deprecated.
this method may be removed in the future. Use
RpcManager.invokeRemotely(java.util.Collection, org.infinispan.commands.ReplicableCommand, RpcOptions) |
Map<Address,Response> |
RpcManagerImpl.invokeRemotely(Collection<Address> recipients,
ReplicableCommand rpcCommand,
ResponseMode mode,
long timeout,
boolean usePriorityQueue,
ResponseFilter responseFilter) |
Map<Address,Response> |
RpcManager.invokeRemotely(Collection<Address> recipients,
ReplicableCommand rpc,
RpcOptions options)
Invokes an RPC call on other caches in the cluster.
|
Map<Address,Response> |
RpcManagerImpl.invokeRemotely(Collection<Address> recipients,
ReplicableCommand rpc,
RpcOptions options) |
void |
RpcManager.invokeRemotelyInFuture(Collection<Address> recipients,
ReplicableCommand rpc,
boolean usePriorityQueue,
NotifyingNotifiableFuture<Object> future)
Deprecated.
this method may be removed in the future. Use
#invokeRemotelyInFuture(java.util.Collection, org.infinispan.commands.ReplicableCommand, RpcOptions, org.infinispan.util.concurrent.NotifyingNotifiableFuture) |
void |
RpcManagerImpl.invokeRemotelyInFuture(Collection<Address> recipients,
ReplicableCommand rpc,
boolean usePriorityQueue,
NotifyingNotifiableFuture<Object> l) |
void |
RpcManager.invokeRemotelyInFuture(Collection<Address> recipients,
ReplicableCommand rpc,
boolean usePriorityQueue,
NotifyingNotifiableFuture<Object> future,
long timeout)
Deprecated.
this method may be removed in the future. Use
#invokeRemotelyInFuture(java.util.Collection, org.infinispan.commands.ReplicableCommand, RpcOptions, org.infinispan.util.concurrent.NotifyingNotifiableFuture) |
void |
RpcManagerImpl.invokeRemotelyInFuture(Collection<Address> recipients,
ReplicableCommand rpc,
boolean usePriorityQueue,
NotifyingNotifiableFuture<Object> l,
long timeout) |
void |
RpcManager.invokeRemotelyInFuture(Collection<Address> recipients,
ReplicableCommand rpc,
boolean usePriorityQueue,
NotifyingNotifiableFuture<Object> future,
long timeout,
boolean ignoreLeavers)
Deprecated.
this method may be removed in the future. Use
#invokeRemotelyInFuture(java.util.Collection, org.infinispan.commands.ReplicableCommand, RpcOptions, org.infinispan.util.concurrent.NotifyingNotifiableFuture) |
void |
RpcManagerImpl.invokeRemotelyInFuture(Collection<Address> recipients,
ReplicableCommand rpc,
boolean usePriorityQueue,
NotifyingNotifiableFuture<Object> l,
long timeout,
boolean ignoreLeavers) |
void |
RpcManager.invokeRemotelyInFuture(Collection<Address> recipients,
ReplicableCommand rpc,
NotifyingNotifiableFuture<Object> future)
Deprecated.
this method may be removed in the future. Use
#invokeRemotelyInFuture(java.util.Collection, org.infinispan.commands.ReplicableCommand, RpcOptions, org.infinispan.util.concurrent.NotifyingNotifiableFuture) |
void |
RpcManagerImpl.invokeRemotelyInFuture(Collection<Address> recipients,
ReplicableCommand rpc,
NotifyingNotifiableFuture<Object> l) |
void |
RpcManager.invokeRemotelyInFuture(Collection<Address> recipients,
ReplicableCommand rpc,
RpcOptions options,
NotifyingNotifiableFuture<Object> future)
The same as
RpcManager.invokeRemotely(java.util.Collection, org.infinispan.commands.ReplicableCommand, RpcOptions)
except that the task is passed to the transport executor and a Future is returned. |
void |
RpcManagerImpl.invokeRemotelyInFuture(Collection<Address> recipients,
ReplicableCommand rpc,
RpcOptions options,
NotifyingNotifiableFuture<Object> future) |
Modifier and Type | Interface and Description |
---|---|
interface |
TopologyAwareAddress
Wraps a TopologyUUID JGroups address
|
Modifier and Type | Method and Description |
---|---|
Address |
AbstractDelegatingTransport.getAddress() |
Address |
Transport.getAddress()
Retrieves the current cache instance's network address
|
Address |
AbstractDelegatingTransport.getCoordinator() |
Address |
Transport.getCoordinator() |
Modifier and Type | Method and Description |
---|---|
List<Address> |
AbstractDelegatingTransport.getMembers() |
List<Address> |
Transport.getMembers()
Returns a list of members in the current cluster view.
|
List<Address> |
AbstractDelegatingTransport.getPhysicalAddresses() |
List<Address> |
Transport.getPhysicalAddresses()
Retrieves the current cache instance's physical network addresses.
|
Map<Address,Response> |
AbstractDelegatingTransport.invokeRemotely(Collection<Address> recipients,
ReplicableCommand rpcCommand,
ResponseMode mode,
long timeout,
boolean usePriorityQueue,
ResponseFilter responseFilter,
boolean totalOrder,
boolean anycast) |
Map<Address,Response> |
Transport.invokeRemotely(Collection<Address> recipients,
ReplicableCommand rpcCommand,
ResponseMode mode,
long timeout,
boolean usePriorityQueue,
ResponseFilter responseFilter,
boolean totalOrder,
boolean anycast)
Invokes an RPC call on other caches in the cluster.
|
Modifier and Type | Method and Description |
---|---|
boolean |
AbstractTransport.checkResponse(Object responseObject,
Address sender) |
protected boolean |
AbstractTransport.parseResponseAndAddToResponseList(Object responseObject,
Throwable exception,
Map<Address,Response> responseListToAddTo,
boolean wasSuspected,
boolean wasReceived,
Address sender,
boolean usedResponseFilter,
boolean ignoreLeavers) |
Modifier and Type | Method and Description |
---|---|
Map<Address,Response> |
AbstractDelegatingTransport.invokeRemotely(Collection<Address> recipients,
ReplicableCommand rpcCommand,
ResponseMode mode,
long timeout,
boolean usePriorityQueue,
ResponseFilter responseFilter,
boolean totalOrder,
boolean anycast) |
Map<Address,Response> |
Transport.invokeRemotely(Collection<Address> recipients,
ReplicableCommand rpcCommand,
ResponseMode mode,
long timeout,
boolean usePriorityQueue,
ResponseFilter responseFilter,
boolean totalOrder,
boolean anycast)
Invokes an RPC call on other caches in the cluster.
|
protected boolean |
AbstractTransport.parseResponseAndAddToResponseList(Object responseObject,
Throwable exception,
Map<Address,Response> responseListToAddTo,
boolean wasSuspected,
boolean wasReceived,
Address sender,
boolean usedResponseFilter,
boolean ignoreLeavers) |
Modifier and Type | Class and Description |
---|---|
class |
JGroupsAddress
An encapsulation of a JGroups Address
|
class |
JGroupsTopologyAwareAddress
An encapsulation of a JGroups Address
|
Modifier and Type | Field and Description |
---|---|
protected Address |
JGroupsTransport.address |
protected Address |
JGroupsTransport.coordinator |
protected Address |
JGroupsTransport.physicalAddress |
Modifier and Type | Field and Description |
---|---|
protected List<Address> |
JGroupsTransport.members |
Modifier and Type | Method and Description |
---|---|
Address |
JGroupsTransport.getAddress() |
Address |
JGroupsTransport.getCoordinator() |
Address |
SuspectException.getSuspect() |
Modifier and Type | Method and Description |
---|---|
List<Address> |
JGroupsTransport.getMembers() |
List<Address> |
JGroupsTransport.getPhysicalAddresses() |
Map<Address,Response> |
JGroupsTransport.invokeRemotely(Collection<Address> recipients,
ReplicableCommand rpcCommand,
ResponseMode mode,
long timeout,
boolean usePriorityQueue,
ResponseFilter responseFilter,
boolean totalOrder,
boolean anycast) |
Modifier and Type | Method and Description |
---|---|
int |
JGroupsAddress.compareTo(Address o) |
protected static org.jgroups.Address |
JGroupsTransport.toJGroupsAddress(Address a) |
Modifier and Type | Method and Description |
---|---|
Map<Address,Response> |
JGroupsTransport.invokeRemotely(Collection<Address> recipients,
ReplicableCommand rpcCommand,
ResponseMode mode,
long timeout,
boolean usePriorityQueue,
ResponseFilter responseFilter,
boolean totalOrder,
boolean anycast) |
Constructor and Description |
---|
SuspectException(String msg,
Address suspect) |
SuspectException(String msg,
Address suspect,
Throwable cause) |
Modifier and Type | Method and Description |
---|---|
Address |
ManagerInstance.getNodeName() |
Modifier and Type | Class and Description |
---|---|
class |
ServerAddress
A Hot Rod server address
|
Modifier and Type | Method and Description |
---|---|
AdvancedCache<Address,ServerAddress> |
CrashedMemberDetectorListener.addressCache() |
scala.collection.immutable.Map<Address,ServerAddress> |
HashDistAware11Response.serverEndpointsMap() |
scala.collection.immutable.Map<Address,ServerAddress> |
AbstractHashDistAwareResponse.serverEndpointsMap() |
scala.collection.immutable.Map<Address,ServerAddress> |
TopologyAwareResponse.serverEndpointsMap() |
scala.collection.immutable.Map<Address,ServerAddress> |
AbstractTopologyResponse.serverEndpointsMap() |
scala.collection.immutable.Map<Address,ServerAddress> |
HashDistAwareResponse.serverEndpointsMap() |
Modifier and Type | Method and Description |
---|---|
int |
ServerAddress.compareTo(Address o) |
Modifier and Type | Method and Description |
---|---|
protected AbstractHashDistAwareResponse |
AbstractEncoder1x.createHashDistAwareResp(int topologyId,
scala.collection.immutable.Map<Address,ServerAddress> serverEndpointsMap,
Configuration cfg) |
protected AbstractHashDistAwareResponse |
AbstractTopologyAwareEncoder1x.createHashDistAwareResp(int lastViewId,
scala.collection.immutable.Map<Address,ServerAddress> serverEndpointsMap,
Configuration cfg) |
AbstractTopologyResponse |
AbstractEncoder1x.getTopologyResponse(Response r,
Cache<Address,ServerAddress> addressCache,
HotRodServer server) |
abstract void |
AbstractVersionedEncoder.writeHeader(Response r,
org.jboss.netty.buffer.ChannelBuffer buf,
Cache<Address,ServerAddress> addressCache,
HotRodServer server)
Write the header to the given channel buffer
|
void |
AbstractEncoder1x.writeHeader(Response r,
org.jboss.netty.buffer.ChannelBuffer buf,
Cache<Address,ServerAddress> addressCache,
HotRodServer server) |
Constructor and Description |
---|
AbstractHashDistAwareResponse(int topologyId,
scala.collection.immutable.Map<Address,ServerAddress> serverEndpointsMap,
int numOwners,
byte hashFunction,
int hashSpace) |
AbstractTopologyResponse(int topologyId,
scala.collection.immutable.Map<Address,ServerAddress> serverEndpointsMap) |
CrashedMemberDetectorListener(Cache<Address,ServerAddress> cache,
HotRodServer server) |
HashDistAware11Response(int topologyId,
scala.collection.immutable.Map<Address,ServerAddress> serverEndpointsMap,
int numOwners,
byte hashFunction,
int hashSpace,
int numVNodes) |
HashDistAwareResponse(int topologyId,
scala.collection.immutable.Map<Address,ServerAddress> serverEndpointsMap,
int numOwners,
byte hashFunction,
int hashSpace) |
TopologyAwareResponse(int topologyId,
scala.collection.immutable.Map<Address,ServerAddress> serverEndpointsMap) |
Modifier and Type | Method and Description |
---|---|
Address |
OutboundTransferTask.getDestination() |
Address |
InboundTransferTask.getSource() |
Modifier and Type | Method and Description |
---|---|
Map<Address,Response> |
StateTransferManager.forwardCommandIfNeeded(TopologyAffectedCommand command,
Set<Object> affectedKeys,
Address origin,
boolean sync)
If there is an state transfer happening at the moment, this method forwards the supplied
command to the nodes that are new owners of the data, in order to assure consistency.
|
Map<Address,Response> |
StateTransferManagerImpl.forwardCommandIfNeeded(TopologyAffectedCommand command,
Set<Object> affectedKeys,
Address origin,
boolean sync) |
Modifier and Type | Method and Description |
---|---|
void |
StateConsumer.applyState(Address sender,
int topologyId,
Collection<StateChunk> stateChunks) |
void |
StateConsumerImpl.applyState(Address sender,
int topologyId,
Collection<StateChunk> stateChunks) |
void |
StateProvider.cancelOutboundTransfer(Address destination,
int topologyId,
Set<Integer> segments)
Cancel sending of cache entries that belong to the given set of segments.
|
void |
StateProviderImpl.cancelOutboundTransfer(Address destination,
int topologyId,
Set<Integer> segments) |
Map<Address,Response> |
StateTransferManager.forwardCommandIfNeeded(TopologyAffectedCommand command,
Set<Object> affectedKeys,
Address origin,
boolean sync)
If there is an state transfer happening at the moment, this method forwards the supplied
command to the nodes that are new owners of the data, in order to assure consistency.
|
Map<Address,Response> |
StateTransferManagerImpl.forwardCommandIfNeeded(TopologyAffectedCommand command,
Set<Object> affectedKeys,
Address origin,
boolean sync) |
List<TransactionInfo> |
StateProvider.getTransactionsForSegments(Address destination,
int topologyId,
Set<Integer> segments)
Gets the list of transactions that affect keys from the given segments.
|
List<TransactionInfo> |
StateProviderImpl.getTransactionsForSegments(Address destination,
int requestTopologyId,
Set<Integer> segments) |
void |
StateProvider.startOutboundTransfer(Address destination,
int topologyId,
Set<Integer> segments)
Start to send cache entries that belong to the given set of segments.
|
void |
StateProviderImpl.startOutboundTransfer(Address destination,
int requestTopologyId,
Set<Integer> segments) |
Constructor and Description |
---|
InboundTransferTask(Set<Integer> segments,
Address source,
int topologyId,
StateConsumerImpl stateConsumer,
RpcManager rpcManager,
CommandsFactory commandsFactory,
long timeout,
String cacheName) |
OutboundTransferTask(Address destination,
Set<Integer> segments,
int stateTransferChunkSize,
int topologyId,
ConsistentHash readCh,
StateProviderImpl stateProvider,
DataContainer dataContainer,
PersistenceManager persistenceManager,
RpcManager rpcManager,
CommandsFactory commandsFactory,
InternalEntryFactory ef,
long timeout,
String cacheName) |
StateRequestCommand(String cacheName,
StateRequestCommand.Type type,
Address origin,
int topologyId,
Set<Integer> segments) |
StateResponseCommand(String cacheName,
Address origin,
int topologyId,
Collection<StateChunk> stateChunks) |
Modifier and Type | Method and Description |
---|---|
Address |
ExtendedStatisticRpcManager.getAddress() |
Modifier and Type | Method and Description |
---|---|
List<Address> |
ExtendedStatisticRpcManager.getMembers() |
Map<Address,Response> |
ExtendedStatisticRpcManager.invokeRemotely(Collection<Address> recipients,
ReplicableCommand rpc,
boolean sync) |
Map<Address,Response> |
ExtendedStatisticRpcManager.invokeRemotely(Collection<Address> recipients,
ReplicableCommand rpc,
boolean sync,
boolean usePriorityQueue) |
Map<Address,Response> |
ExtendedStatisticRpcManager.invokeRemotely(Collection<Address> recipients,
ReplicableCommand rpcCommand,
ResponseMode mode,
long timeout) |
Map<Address,Response> |
ExtendedStatisticRpcManager.invokeRemotely(Collection<Address> recipients,
ReplicableCommand rpcCommand,
ResponseMode mode,
long timeout,
boolean usePriorityQueue) |
Map<Address,Response> |
ExtendedStatisticRpcManager.invokeRemotely(Collection<Address> recipients,
ReplicableCommand rpcCommand,
ResponseMode mode,
long timeout,
boolean usePriorityQueue,
ResponseFilter responseFilter) |
Map<Address,Response> |
ExtendedStatisticRpcManager.invokeRemotely(Collection<Address> recipients,
ReplicableCommand rpc,
RpcOptions options) |
Modifier and Type | Method and Description |
---|---|
Map<Address,Response> |
ExtendedStatisticRpcManager.invokeRemotely(Collection<Address> recipients,
ReplicableCommand rpc,
boolean sync) |
Map<Address,Response> |
ExtendedStatisticRpcManager.invokeRemotely(Collection<Address> recipients,
ReplicableCommand rpc,
boolean sync,
boolean usePriorityQueue) |
Map<Address,Response> |
ExtendedStatisticRpcManager.invokeRemotely(Collection<Address> recipients,
ReplicableCommand rpcCommand,
ResponseMode mode,
long timeout) |
Map<Address,Response> |
ExtendedStatisticRpcManager.invokeRemotely(Collection<Address> recipients,
ReplicableCommand rpcCommand,
ResponseMode mode,
long timeout,
boolean usePriorityQueue) |
Map<Address,Response> |
ExtendedStatisticRpcManager.invokeRemotely(Collection<Address> recipients,
ReplicableCommand rpcCommand,
ResponseMode mode,
long timeout,
boolean usePriorityQueue,
ResponseFilter responseFilter) |
Map<Address,Response> |
ExtendedStatisticRpcManager.invokeRemotely(Collection<Address> recipients,
ReplicableCommand rpc,
RpcOptions options) |
void |
ExtendedStatisticRpcManager.invokeRemotelyInFuture(Collection<Address> recipients,
ReplicableCommand rpc,
boolean usePriorityQueue,
NotifyingNotifiableFuture<Object> future) |
void |
ExtendedStatisticRpcManager.invokeRemotelyInFuture(Collection<Address> recipients,
ReplicableCommand rpc,
boolean usePriorityQueue,
NotifyingNotifiableFuture<Object> future,
long timeout) |
void |
ExtendedStatisticRpcManager.invokeRemotelyInFuture(Collection<Address> recipients,
ReplicableCommand rpc,
boolean usePriorityQueue,
NotifyingNotifiableFuture<Object> future,
long timeout,
boolean ignoreLeavers) |
void |
ExtendedStatisticRpcManager.invokeRemotelyInFuture(Collection<Address> recipients,
ReplicableCommand rpc,
NotifyingNotifiableFuture<Object> future) |
void |
ExtendedStatisticRpcManager.invokeRemotelyInFuture(Collection<Address> recipients,
ReplicableCommand rpc,
RpcOptions options,
NotifyingNotifiableFuture<Object> future) |
Modifier and Type | Method and Description |
---|---|
Address |
CacheTopologyControlCommand.getOrigin() |
Modifier and Type | Method and Description |
---|---|
Map<Address,Float> |
ClusterCacheStatus.getCapacityFactors() |
List<Address> |
ClusterCacheStatus.getJoiners() |
List<Address> |
ClusterCacheStatus.getMembers() |
List<Address> |
CacheTopology.getMembers() |
List<Address> |
ClusterCacheStatus.pruneInvalidMembers(List<Address> possibleMembers) |
Modifier and Type | Method and Description |
---|---|
boolean |
ClusterCacheStatus.addMember(Address joiner,
float capacityFactor) |
boolean |
ClusterCacheStatus.confirmRebalanceOnNode(Address member,
int receivedTopologyId) |
CacheTopology |
ClusterTopologyManager.handleJoin(String cacheName,
Address joiner,
CacheJoinInfo joinInfo,
int viewId)
Updates the members list and notifies the
RebalancePolicy . |
CacheTopology |
ClusterTopologyManagerImpl.handleJoin(String cacheName,
Address joiner,
CacheJoinInfo joinInfo,
int viewId) |
void |
ClusterTopologyManager.handleLeave(String cacheName,
Address leaver,
int viewId)
Updates the members list and notifies the
RebalancePolicy |
void |
ClusterTopologyManagerImpl.handleLeave(String cacheName,
Address leaver,
int viewId) |
void |
ClusterTopologyManager.handleRebalanceCompleted(String cacheName,
Address node,
int topologyId,
Throwable throwable,
int viewId)
Marks the rebalance as complete on the sender.
|
void |
ClusterTopologyManagerImpl.handleRebalanceCompleted(String cacheName,
Address node,
int topologyId,
Throwable throwable,
int viewId) |
boolean |
ClusterCacheStatus.removeMember(Address leaver) |
Modifier and Type | Method and Description |
---|---|
protected void |
ClusterTopologyManagerImpl.handleNewView(List<Address> ignored,
boolean mergeView,
int newViewId) |
List<Address> |
ClusterCacheStatus.pruneInvalidMembers(List<Address> possibleMembers) |
void |
ClusterTopologyManagerImpl.updateCacheStatusAfterMerge(String cacheName,
List<Address> clusterMembers,
List<CacheTopology> partitionTopologies) |
boolean |
ClusterCacheStatus.updateClusterMembers(List<Address> newClusterMembers) |
void |
ClusterTopologyManagerImpl.updateClusterMembers(List<Address> newClusterMembers) |
Constructor and Description |
---|
CacheTopologyControlCommand(String cacheName,
CacheTopologyControlCommand.Type type,
Address sender,
CacheJoinInfo joinInfo,
int viewId) |
CacheTopologyControlCommand(String cacheName,
CacheTopologyControlCommand.Type type,
Address sender,
CacheTopology cacheTopology,
int viewId) |
CacheTopologyControlCommand(String cacheName,
CacheTopologyControlCommand.Type type,
Address sender,
int viewId) |
CacheTopologyControlCommand(String cacheName,
CacheTopologyControlCommand.Type type,
Address sender,
int topologyId,
Throwable throwable,
int viewId) |
Modifier and Type | Method and Description |
---|---|
Collection<Address> |
LocalTransaction.getCommitNodes(Collection<Address> recipients,
int currentTopologyId,
Collection<Address> members)
Calculates the list of nodes to which a commit/rollback needs to be sent based on the nodes to which prepare
was sent.
|
Collection<Address> |
LocalTransaction.getRemoteLocksAcquired() |
Modifier and Type | Method and Description |
---|---|
Collection<Address> |
LocalTransaction.getCommitNodes(Collection<Address> recipients,
int currentTopologyId,
Collection<Address> members)
Calculates the list of nodes to which a commit/rollback needs to be sent based on the nodes to which prepare
was sent.
|
Collection<Address> |
LocalTransaction.getCommitNodes(Collection<Address> recipients,
int currentTopologyId,
Collection<Address> members)
Calculates the list of nodes to which a commit/rollback needs to be sent based on the nodes to which prepare
was sent.
|
void |
LocalTransaction.locksAcquired(Collection<Address> nodes) |
Modifier and Type | Field and Description |
---|---|
protected Address |
GlobalTransaction.addr |
Modifier and Type | Method and Description |
---|---|
Address |
GlobalTransaction.getAddress() |
Modifier and Type | Method and Description |
---|---|
GlobalTransaction |
TransactionFactory.newGlobalTransaction(Address addr,
boolean remote) |
abstract GlobalTransaction |
TransactionFactory.TxFactoryEnum.newGlobalTransaction(Address addr,
boolean remote,
VersionGenerator clusterIdGenerator,
boolean clustered) |
void |
GlobalTransaction.setAddress(Address address) |
Constructor and Description |
---|
DldGlobalTransaction(Address addr,
boolean remote) |
GlobalTransaction(Address addr,
boolean remote) |
Modifier and Type | Method and Description |
---|---|
Set<Address> |
InDoubtTxInfoImpl.getOwners() |
Set<Address> |
RecoveryManager.InDoubtTxInfo.getOwners()
Returns the set of nodes where this transaction information is maintained.
|
Modifier and Type | Method and Description |
---|---|
void |
InDoubtTxInfoImpl.addOwner(Address owner) |
String |
RecoveryManager.forceTransactionCompletionFromCluster(Xid xid,
Address where,
boolean commit)
This method invokes
RecoveryManager.forceTransactionCompletion(javax.transaction.xa.Xid, boolean) on the specified node. |
String |
RecoveryManagerImpl.forceTransactionCompletionFromCluster(Xid xid,
Address where,
boolean commit) |
Modifier and Type | Method and Description |
---|---|
void |
RecoveryAwareRemoteTransaction.computeOrphan(Collection<Address> currentMembers)
Check's if this transaction's originator is no longer part of the cluster (orphan transaction) and updates
RecoveryAwareRemoteTransaction.isOrphan() . |
void |
RecoveryManager.removeRecoveryInformationFromCluster(Collection<Address> where,
long internalId,
boolean sync)
Same as
#removeRecoveryInformationFromCluster(java.util.Collection but the transaction
is identified by its internal id, and not by its xid. |
void |
RecoveryManagerImpl.removeRecoveryInformationFromCluster(Collection<Address> where,
long internalId,
boolean sync) |
void |
RecoveryManager.removeRecoveryInformationFromCluster(Collection<Address> where,
Xid xid,
boolean sync,
GlobalTransaction gtx)
Removes from the specified nodes (or all nodes if the value of 'where' is null) the recovery information associated with
these Xids.
|
void |
RecoveryManagerImpl.removeRecoveryInformationFromCluster(Collection<Address> lockOwners,
Xid xid,
boolean sync,
GlobalTransaction gtx) |
Constructor and Description |
---|
RecoveryAwareDldGlobalTransaction(Address addr,
boolean remote) |
RecoveryAwareGlobalTransaction(Address addr,
boolean remote) |
Modifier and Type | Method and Description |
---|---|
void |
Log.cannotSelectRandomMembers(int numNeeded,
List<Address> members) |
void |
Log.expectedJustOneResponse(Map<Address,Response> lr) |
void |
Log.keyDoesNotMapToLocalNode(Object key,
Collection<Address> nodes) |
void |
Log.localAndPhysicalAddress(Address address,
List<Address> physicalAddresses) |
void |
Log.noLiveOwnersFoundForSegment(int segmentId,
String cacheName,
Collection<Address> owners,
Collection<Address> faultySources) |
void |
Log.noLiveOwnersFoundForSegment(int segmentId,
String cacheName,
Collection<Address> owners,
Collection<Address> faultySources) |
Copyright © 2014 JBoss, a division of Red Hat. All Rights Reserved.