| Package | Description |
|---|---|
| org.gridgain.grid |
Contains entry-point GridGain & HPC APIs.
|
| org.gridgain.grid.cache.affinity |
Contains cache node affinity implementations.
|
| org.gridgain.grid.cache.affinity.consistenthash |
Contains consistent hash based cache affinity for partitioned cache.
|
| org.gridgain.grid.cache.affinity.rendezvous |
Contains HRW-based cache affinity for partitioned cache.
|
| org.gridgain.grid.compute |
Contains Compute Grid functionality.
|
| org.gridgain.grid.ggfs.mapreduce |
Contains APIs for In-Memory MapReduce over GGFS.
|
| org.gridgain.grid.spi |
Contains common classes and interfaces for SPI implementations.
|
| org.gridgain.grid.spi.communication |
Contains APIs for grid communication SPI.
|
| org.gridgain.grid.spi.communication.tcp |
Contains default TCP/IP-based implementation for communication SPI.
|
| org.gridgain.grid.spi.discovery |
Contains APIs for topology manager SPI.
|
| org.gridgain.grid.spi.discovery.tcp |
Contains default TCP/IP implementation for discovery SPI.
|
| org.gridgain.grid.spi.failover |
Contains APIs for failover SPI.
|
| org.gridgain.grid.spi.failover.always |
Contains default "always" failover SPI.
|
| org.gridgain.grid.spi.failover.jobstealing |
Contains job stealing failover SPI.
|
| org.gridgain.grid.spi.failover.never |
Contains "never" failover SPI.
|
| org.gridgain.grid.spi.loadbalancing |
Contains APIs for load balancing SPI.
|
| org.gridgain.grid.spi.loadbalancing.adaptive |
Contains adaptive load balancing SPI.
|
| org.gridgain.grid.spi.loadbalancing.roundrobin |
Contains default round-robin implementation for load balancing SPI.
|
| org.gridgain.grid.spi.loadbalancing.weightedrandom |
Contains weighted random-base implementation for load balancing SPI.
|
| org.gridgain.grid.streamer |
Contains main Streaming APIs.
|
| org.gridgain.grid.streamer.router |
Contains streamer event router implementations.
|
| Modifier and Type | Method and Description |
|---|---|
GridNode |
Grid.localNode()
Gets local grid node.
|
GridNode |
GridSpringBean.localNode()
Gets local grid node.
|
<K> GridNode |
Grid.mapKeyToNode(String cacheName,
K key)
This method provides ability to detect which cache keys are mapped to which nodes
on cache instance with given name.
|
<K> GridNode |
GridSpringBean.mapKeyToNode(String cacheName,
K key)
This method provides ability to detect which cache keys are mapped to which nodes
on cache instance with given name.
|
GridNode |
GridSpringBean.node()
Gets first node from the list of nodes in this projection.
|
GridNode |
GridProjection.node()
Gets first node from the list of nodes in this projection.
|
GridNode |
GridSpringBean.node(UUID nid)
Gets a node for given ID from this grid projection.
|
GridNode |
GridProjection.node(UUID nid)
Gets a node for given ID from this grid projection.
|
| Modifier and Type | Method and Description |
|---|---|
<K> Map<GridNode,Collection<K>> |
Grid.mapKeysToNodes(String cacheName,
Collection<? extends K> keys)
This method provides ability to detect which cache keys are mapped to which nodes
on cache instance with given name.
|
<K> Map<GridNode,Collection<K>> |
GridSpringBean.mapKeysToNodes(String cacheName,
Collection<? extends K> keys)
This method provides ability to detect which cache keys are mapped to which nodes
on cache instance with given name.
|
Collection<GridNode> |
GridSpringBean.nodes()
Gets read-only collections of nodes in this projection.
|
Collection<GridNode> |
GridProjection.nodes()
Gets read-only collections of nodes in this projection.
|
GridPredicate<GridNode> |
GridSpringBean.predicate()
Gets predicate that defines a subset of nodes for this projection.
|
GridPredicate<GridNode> |
GridProjection.predicate()
Gets predicate that defines a subset of nodes for this projection.
|
Collection<GridNode> |
Grid.topology(long topVer)
Gets a topology by version.
|
Collection<GridNode> |
GridSpringBean.topology(long topVer)
Gets a topology by version.
|
| Modifier and Type | Method and Description |
|---|---|
GridProjection |
GridSpringBean.forHost(GridNode node)
Gets grid projection consisting from the nodes in this projection residing on the
same host as given node.
|
GridProjection |
GridProjection.forHost(GridNode node)
Gets grid projection consisting from the nodes in this projection residing on the
same host as given node.
|
GridProjection |
GridSpringBean.forNode(GridNode node,
GridNode... nodes)
Creates a grid projection for the given node.
|
GridProjection |
GridSpringBean.forNode(GridNode node,
GridNode... nodes)
Creates a grid projection for the given node.
|
GridProjection |
GridProjection.forNode(GridNode node,
GridNode... nodes)
Creates a grid projection for the given node.
|
GridProjection |
GridProjection.forNode(GridNode node,
GridNode... nodes)
Creates a grid projection for the given node.
|
GridProjection |
GridSpringBean.forOthers(GridNode node,
GridNode... nodes)
Creates a grid projection for nodes other than given nodes.
|
GridProjection |
GridSpringBean.forOthers(GridNode node,
GridNode... nodes)
Creates a grid projection for nodes other than given nodes.
|
GridProjection |
GridProjection.forOthers(GridNode node,
GridNode... nodes)
Creates a grid projection for nodes other than given nodes.
|
GridProjection |
GridProjection.forOthers(GridNode node,
GridNode... nodes)
Creates a grid projection for nodes other than given nodes.
|
| Modifier and Type | Method and Description |
|---|---|
GridProjection |
GridSpringBean.forNodes(Collection<? extends GridNode> nodes)
Creates a grid projection over a given set of nodes.
|
GridProjection |
GridProjection.forNodes(Collection<? extends GridNode> nodes)
Creates a grid projection over a given set of nodes.
|
GridProjection |
GridSpringBean.forPredicate(GridPredicate<GridNode> p)
Creates a grid projection which includes all nodes that pass the given predicate filter.
|
GridProjection |
GridProjection.forPredicate(GridPredicate<GridNode> p)
Creates a grid projection which includes all nodes that pass the given predicate filter.
|
| Modifier and Type | Method and Description |
|---|---|
GridNode |
GridCacheAffinity.mapKeyToNode(K key)
This method provides ability to detect to which primary node the given key
is mapped.
|
GridNode |
GridCacheAffinity.mapPartitionToNode(int part)
Gets primary node for the given partition.
|
| Modifier and Type | Method and Description |
|---|---|
List<List<GridNode>> |
GridCacheAffinityFunction.assignPartitions(GridCacheAffinityFunctionContext affCtx)
Gets affinity nodes for a partition.
|
List<GridNode> |
GridCacheAffinityFunctionContext.currentTopologySnapshot()
Gets current topology snapshot.
|
Map<GridNode,Collection<K>> |
GridCacheAffinity.mapKeysToNodes(Collection<? extends K> keys)
This method provides ability to detect which keys are mapped to which nodes.
|
Collection<GridNode> |
GridCacheAffinity.mapKeyToPrimaryAndBackups(K key)
Gets primary and backup nodes for the key.
|
Map<Integer,GridNode> |
GridCacheAffinity.mapPartitionsToNodes(Collection<Integer> parts)
Gets primary nodes for the given partitions.
|
Collection<GridNode> |
GridCacheAffinity.mapPartitionToPrimaryAndBackups(int part)
Gets primary and backup nodes for partition.
|
List<GridNode> |
GridCacheAffinityFunctionContext.previousAssignment(int part)
Gets affinity assignment for given partition on previous topology version.
|
| Modifier and Type | Method and Description |
|---|---|
int[] |
GridCacheAffinity.allPartitions(GridNode n)
Gets partition ids for which nodes of the given projection has ownership
(either primary or backup).
|
int[] |
GridCacheAffinity.backupPartitions(GridNode n)
Gets partition ids for which nodes of the given projection has backup
ownership.
|
boolean |
GridCacheAffinity.isBackup(GridNode n,
K key)
Returns
true if local node is one of the backup nodes for given key. |
boolean |
GridCacheAffinity.isPrimary(GridNode n,
K key)
Returns
true if given node is the primary node for given key. |
boolean |
GridCacheAffinity.isPrimaryOrBackup(GridNode n,
K key)
Returns
true if local node is primary or one of the backup nodes
for given key. |
int[] |
GridCacheAffinity.primaryPartitions(GridNode n)
Gets partition ids for which nodes of the given projection has primary
ownership.
|
Object |
GridCacheAffinityNodeIdHashResolver.resolve(GridNode node)
Resolve alternate hash value for the given Grid node.
|
Object |
GridCacheAffinityNodeHashResolver.resolve(GridNode node)
Resolve alternate hash value for the given Grid node.
|
Object |
GridCacheAffinityNodeAddressHashResolver.resolve(GridNode node)
Resolve alternate hash value for the given Grid node.
|
| Modifier and Type | Method and Description |
|---|---|
List<List<GridNode>> |
GridCacheConsistentHashAffinityFunction.assignPartitions(GridCacheAffinityFunctionContext ctx)
Gets affinity nodes for a partition.
|
GridBiPredicate<GridNode,GridNode> |
GridCacheConsistentHashAffinityFunction.getBackupFilter()
Gets optional backup filter.
|
GridBiPredicate<GridNode,GridNode> |
GridCacheConsistentHashAffinityFunction.getBackupFilter()
Gets optional backup filter.
|
Collection<GridNode> |
GridCacheConsistentHashAffinityFunction.nodes(int part,
Collection<GridNode> nodes,
int backups)
Assigns nodes to one partition.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<GridNode> |
GridCacheConsistentHashAffinityFunction.nodes(int part,
Collection<GridNode> nodes,
int backups)
Assigns nodes to one partition.
|
void |
GridCacheConsistentHashAffinityFunction.setBackupFilter(GridBiPredicate<GridNode,GridNode> backupFilter)
Sets optional backup filter.
|
void |
GridCacheConsistentHashAffinityFunction.setBackupFilter(GridBiPredicate<GridNode,GridNode> backupFilter)
Sets optional backup filter.
|
| Constructor and Description |
|---|
GridCacheConsistentHashAffinityFunction(int parts,
GridBiPredicate<GridNode,GridNode> backupFilter)
Initializes optional counts for replicas and backups.
|
GridCacheConsistentHashAffinityFunction(int parts,
GridBiPredicate<GridNode,GridNode> backupFilter)
Initializes optional counts for replicas and backups.
|
| Modifier and Type | Method and Description |
|---|---|
List<GridNode> |
GridCacheRendezvousAffinityFunction.assignPartition(int part,
List<GridNode> nodes,
int backups,
Map<UUID,Collection<GridNode>> neighborhoodCache)
Returns collection of nodes (primary first) for specified partition.
|
List<List<GridNode>> |
GridCacheRendezvousAffinityFunction.assignPartitions(GridCacheAffinityFunctionContext affCtx)
Gets affinity nodes for a partition.
|
GridBiPredicate<GridNode,GridNode> |
GridCacheRendezvousAffinityFunction.getBackupFilter()
Gets optional backup filter.
|
GridBiPredicate<GridNode,GridNode> |
GridCacheRendezvousAffinityFunction.getBackupFilter()
Gets optional backup filter.
|
| Modifier and Type | Method and Description |
|---|---|
List<GridNode> |
GridCacheRendezvousAffinityFunction.assignPartition(int part,
List<GridNode> nodes,
int backups,
Map<UUID,Collection<GridNode>> neighborhoodCache)
Returns collection of nodes (primary first) for specified partition.
|
List<GridNode> |
GridCacheRendezvousAffinityFunction.assignPartition(int part,
List<GridNode> nodes,
int backups,
Map<UUID,Collection<GridNode>> neighborhoodCache)
Returns collection of nodes (primary first) for specified partition.
|
void |
GridCacheRendezvousAffinityFunction.setBackupFilter(GridBiPredicate<GridNode,GridNode> backupFilter)
Sets optional backup filter.
|
void |
GridCacheRendezvousAffinityFunction.setBackupFilter(GridBiPredicate<GridNode,GridNode> backupFilter)
Sets optional backup filter.
|
| Constructor and Description |
|---|
GridCacheRendezvousAffinityFunction(int parts,
GridBiPredicate<GridNode,GridNode> backupFilter)
Initializes optional counts for replicas and backups.
|
GridCacheRendezvousAffinityFunction(int parts,
GridBiPredicate<GridNode,GridNode> backupFilter)
Initializes optional counts for replicas and backups.
|
| Modifier and Type | Method and Description |
|---|---|
GridNode |
GridComputeLoadBalancer.getBalancedNode(GridComputeJob job,
Collection<GridNode> exclNodes)
Gets the next balanced node according to the underlying load balancing policy.
|
GridNode |
GridComputeJobResult.getNode()
Gets node this job executed on.
|
| Modifier and Type | Method and Description |
|---|---|
Map<? extends GridComputeJob,GridNode> |
GridComputeTaskSplitAdapter.map(List<GridNode> subgrid,
T arg)
This method is called to map or split grid task into multiple grid jobs.
|
Map<? extends GridComputeJob,GridNode> |
GridComputeTask.map(List<GridNode> subgrid,
T arg)
This method is called to map or split grid task into multiple grid jobs.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GridComputeTaskContinuousMapper.send(GridComputeJob job,
GridNode node)
Sends given job to a specific grid node.
|
| Modifier and Type | Method and Description |
|---|---|
GridNode |
GridComputeLoadBalancer.getBalancedNode(GridComputeJob job,
Collection<GridNode> exclNodes)
Gets the next balanced node according to the underlying load balancing policy.
|
Map<? extends GridComputeJob,GridNode> |
GridComputeTaskSplitAdapter.map(List<GridNode> subgrid,
T arg)
This method is called to map or split grid task into multiple grid jobs.
|
Map<? extends GridComputeJob,GridNode> |
GridComputeTask.map(List<GridNode> subgrid,
T arg)
This method is called to map or split grid task into multiple grid jobs.
|
void |
GridComputeTaskContinuousMapper.send(Map<? extends GridComputeJob,GridNode> mappedJobs)
Sends collection of grid jobs to assigned nodes.
|
| Modifier and Type | Method and Description |
|---|---|
Map<? extends GridComputeJob,GridNode> |
GridGgfsTask.map(List<GridNode> subgrid,
GridGgfsTaskArgs<T> args)
This method is called to map or split grid task into multiple grid jobs.
|
| Modifier and Type | Method and Description |
|---|---|
Map<? extends GridComputeJob,GridNode> |
GridGgfsTask.map(List<GridNode> subgrid,
GridGgfsTaskArgs<T> args)
This method is called to map or split grid task into multiple grid jobs.
|
| Modifier and Type | Method and Description |
|---|---|
GridNode |
GridSpiContext.localNode()
Gets local grid node.
|
GridNode |
GridSpiContext.node(UUID nodeId)
Gets a node instance based on its ID.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<GridNode> |
GridSpiContext.nodes()
Gets a collection of all grid nodes.
|
Collection<GridNode> |
GridSpiContext.remoteNodes()
Gets a collection of remote grid nodes.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
GridSpiAdapter.checkConfigurationConsistency0(GridSpiContext spiCtx,
GridNode node,
boolean starting)
Method which is called in the end of checkConfigurationConsistency() method.
|
void |
GridSpiContext.send(GridNode node,
Serializable msg,
String topic)
Sends a message to a remote node.
|
GridHashIdResolversValidationResult |
GridSpiContext.validateHashIdResolvers(GridNode node)
Validate node ensuring that it can join topology.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GridCommunicationSpi.sendMessage(GridNode destNode,
T msg)
Sends given message to destination node.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
GridTcpCommunicationSpi.checkConfigurationConsistency0(GridSpiContext spiCtx,
GridNode node,
boolean starting)
Method which is called in the end of checkConfigurationConsistency() method.
|
protected org.gridgain.grid.util.nio.GridCommunicationClient |
GridTcpCommunicationSpi.createNioClient(GridNode node) |
protected org.gridgain.grid.util.nio.GridCommunicationClient |
GridTcpCommunicationSpi.createShmemClient(GridNode node,
Integer port) |
protected org.gridgain.grid.util.nio.GridCommunicationClient |
GridTcpCommunicationSpi.createTcpClient(GridNode node)
Establish TCP connection to remote node and returns client.
|
void |
GridTcpCommunicationSpi.sendMessage(GridNode node,
org.gridgain.grid.util.direct.GridTcpCommunicationMessageAdapter msg)
Sends given message to destination node.
|
| Modifier and Type | Method and Description |
|---|---|
GridNode |
GridDiscoverySpi.getLocalNode()
Gets local node.
|
GridNode |
GridDiscoverySpi.getNode(UUID nodeId)
Gets node by ID.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<GridNode> |
GridDiscoverySpi.getRemoteNodes()
Gets collection of remote nodes in grid or empty collection if no remote nodes found.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GridDiscoverySpiListener.onDiscovery(int type,
long topVer,
GridNode node,
Collection<GridNode> topSnapshot,
Map<Long,Collection<GridNode>> topHist)
Notification for grid node discovery events.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GridDiscoverySpiListener.onDiscovery(int type,
long topVer,
GridNode node,
Collection<GridNode> topSnapshot,
Map<Long,Collection<GridNode>> topHist)
Notification for grid node discovery events.
|
void |
GridDiscoverySpiListener.onDiscovery(int type,
long topVer,
GridNode node,
Collection<GridNode> topSnapshot,
Map<Long,Collection<GridNode>> topHist)
Notification for grid node discovery events.
|
| Modifier and Type | Method and Description |
|---|---|
GridNode |
GridTcpDiscoverySpi.getLocalNode()
Gets local node.
|
GridNode |
GridTcpDiscoverySpi.getNode(UUID nodeId)
Gets node by ID.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<GridNode> |
GridTcpDiscoverySpi.getRemoteNodes()
Gets collection of remote nodes in grid or empty collection if no remote nodes found.
|
| Modifier and Type | Method and Description |
|---|---|
GridNode |
GridFailoverSpi.failover(GridFailoverContext ctx,
List<GridNode> top)
This method is called when method
GridComputeTask.result(GridComputeJobResult, List) returns
value GridComputeJobResultPolicy.FAILOVER policy indicating that the result of
job execution must be failed over. |
GridNode |
GridFailoverContext.getBalancedNode(List<GridNode> top)
Gets the next balanced node for failed job.
|
| Modifier and Type | Method and Description |
|---|---|
GridNode |
GridFailoverSpi.failover(GridFailoverContext ctx,
List<GridNode> top)
This method is called when method
GridComputeTask.result(GridComputeJobResult, List) returns
value GridComputeJobResultPolicy.FAILOVER policy indicating that the result of
job execution must be failed over. |
GridNode |
GridFailoverContext.getBalancedNode(List<GridNode> top)
Gets the next balanced node for failed job.
|
| Modifier and Type | Method and Description |
|---|---|
GridNode |
GridAlwaysFailoverSpi.failover(GridFailoverContext ctx,
List<GridNode> top)
This method is called when method
GridComputeTask.result(GridComputeJobResult, List) returns
value GridComputeJobResultPolicy.FAILOVER policy indicating that the result of
job execution must be failed over. |
| Modifier and Type | Method and Description |
|---|---|
GridNode |
GridAlwaysFailoverSpi.failover(GridFailoverContext ctx,
List<GridNode> top)
This method is called when method
GridComputeTask.result(GridComputeJobResult, List) returns
value GridComputeJobResultPolicy.FAILOVER policy indicating that the result of
job execution must be failed over. |
| Modifier and Type | Method and Description |
|---|---|
GridNode |
GridJobStealingFailoverSpi.failover(GridFailoverContext ctx,
List<GridNode> top)
This method is called when method
GridComputeTask.result(GridComputeJobResult, List) returns
value GridComputeJobResultPolicy.FAILOVER policy indicating that the result of
job execution must be failed over. |
| Modifier and Type | Method and Description |
|---|---|
GridNode |
GridJobStealingFailoverSpi.failover(GridFailoverContext ctx,
List<GridNode> top)
This method is called when method
GridComputeTask.result(GridComputeJobResult, List) returns
value GridComputeJobResultPolicy.FAILOVER policy indicating that the result of
job execution must be failed over. |
| Modifier and Type | Method and Description |
|---|---|
GridNode |
GridNeverFailoverSpi.failover(GridFailoverContext ctx,
List<GridNode> top)
This method is called when method
GridComputeTask.result(GridComputeJobResult, List) returns
value GridComputeJobResultPolicy.FAILOVER policy indicating that the result of
job execution must be failed over. |
| Modifier and Type | Method and Description |
|---|---|
GridNode |
GridNeverFailoverSpi.failover(GridFailoverContext ctx,
List<GridNode> top)
This method is called when method
GridComputeTask.result(GridComputeJobResult, List) returns
value GridComputeJobResultPolicy.FAILOVER policy indicating that the result of
job execution must be failed over. |
| Modifier and Type | Method and Description |
|---|---|
GridNode |
GridLoadBalancingSpi.getBalancedNode(GridComputeTaskSession ses,
List<GridNode> top,
GridComputeJob job)
Gets balanced node for specified job within given task session.
|
| Modifier and Type | Method and Description |
|---|---|
GridNode |
GridLoadBalancingSpi.getBalancedNode(GridComputeTaskSession ses,
List<GridNode> top,
GridComputeJob job)
Gets balanced node for specified job within given task session.
|
| Modifier and Type | Method and Description |
|---|---|
GridNode |
GridAdaptiveLoadBalancingSpi.getBalancedNode(GridComputeTaskSession ses,
List<GridNode> top,
GridComputeJob job)
Gets balanced node for specified job within given task session.
|
| Modifier and Type | Method and Description |
|---|---|
double |
GridAdaptiveCpuLoadProbe.getLoad(GridNode node,
int jobsSentSinceLastUpdate)
Calculates load value for a given node.
|
double |
GridAdaptiveLoadProbe.getLoad(GridNode node,
int jobsSentSinceLastUpdate)
Calculates load value for a given node.
|
double |
GridAdaptiveProcessingTimeLoadProbe.getLoad(GridNode node,
int jobsSentSinceLastUpdate)
Calculates load value for a given node.
|
double |
GridAdaptiveJobCountLoadProbe.getLoad(GridNode node,
int jobsSentSinceLastUpdate)
Calculates load value for a given node.
|
| Modifier and Type | Method and Description |
|---|---|
GridNode |
GridAdaptiveLoadBalancingSpi.getBalancedNode(GridComputeTaskSession ses,
List<GridNode> top,
GridComputeJob job)
Gets balanced node for specified job within given task session.
|
| Modifier and Type | Method and Description |
|---|---|
GridNode |
GridRoundRobinLoadBalancingSpi.getBalancedNode(GridComputeTaskSession ses,
List<GridNode> top,
GridComputeJob job)
Gets balanced node for specified job within given task session.
|
| Modifier and Type | Method and Description |
|---|---|
GridNode |
GridRoundRobinLoadBalancingSpi.getBalancedNode(GridComputeTaskSession ses,
List<GridNode> top,
GridComputeJob job)
Gets balanced node for specified job within given task session.
|
| Modifier and Type | Method and Description |
|---|---|
GridNode |
GridWeightedRandomLoadBalancingSpi.getBalancedNode(GridComputeTaskSession ses,
List<GridNode> top,
GridComputeJob job)
Gets balanced node for specified job within given task session.
|
| Modifier and Type | Method and Description |
|---|---|
GridNode |
GridWeightedRandomLoadBalancingSpi.getBalancedNode(GridComputeTaskSession ses,
List<GridNode> top,
GridComputeJob job)
Gets balanced node for specified job within given task session.
|
| Modifier and Type | Method and Description |
|---|---|
<T> GridNode |
GridStreamerEventRouter.route(GridStreamerContext ctx,
String stageName,
T evt)
Selects a node for given event that should be processed by a stage with given name.
|
| Modifier and Type | Method and Description |
|---|---|
<T> Map<GridNode,Collection<T>> |
GridStreamerEventRouterAdapter.route(GridStreamerContext ctx,
String stageName,
Collection<T> evts)
Selects a node for given events that should be processed by a stage with given name.
|
<T> Map<GridNode,Collection<T>> |
GridStreamerEventRouter.route(GridStreamerContext ctx,
String stageName,
Collection<T> evts)
Selects a node for given events that should be processed by a stage with given name.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GridStreamerContext.broadcast(GridInClosure<GridStreamerContext> clo,
Collection<GridNode> nodes)
Queries streamer nodes deployed within grid.
|
<R> Collection<R> |
GridStreamerContext.query(GridClosure<GridStreamerContext,R> clo,
Collection<GridNode> nodes)
Queries streamer nodes deployed within grid.
|
<R1,R2> R2 |
GridStreamerContext.reduce(GridClosure<GridStreamerContext,R1> clo,
GridReducer<R1,R2> rdc,
Collection<GridNode> nodes)
Queries streamer nodes deployed within grid.
|
| Modifier and Type | Method and Description |
|---|---|
GridNode |
GridStreamerRoundRobinEventRouter.route(GridStreamerContext ctx,
String stageName,
Object evt)
Selects a node for given event that should be processed by a stage with given name.
|
GridNode |
GridStreamerRandomEventRouter.route(GridStreamerContext ctx,
String stageName,
Object evt)
Selects a node for given event that should be processed by a stage with given name.
|
<T> GridNode |
GridStreamerCacheAffinityEventRouter.route(GridStreamerContext ctx,
String stageName,
T evt)
Selects a node for given event that should be processed by a stage with given name.
|
<T> GridNode |
GridStreamerAffinityEventRouter.route(GridStreamerContext ctx,
String stageName,
T evt)
Selects a node for given event that should be processed by a stage with given name.
|
<T> GridNode |
GridStreamerLocalEventRouter.route(GridStreamerContext ctx,
String stageName,
T evt)
Selects a node for given event that should be processed by a stage with given name.
|
| Modifier and Type | Method and Description |
|---|---|
<T> Map<GridNode,Collection<T>> |
GridStreamerLocalEventRouter.route(GridStreamerContext ctx,
String stageName,
Collection<T> evts)
Selects a node for given events that should be processed by a stage with given name.
|
| Constructor and Description |
|---|
GridStreamerRandomEventRouter(Collection<GridPredicate<GridNode>> predicates)
Constructs random event router with optional set of filters to apply to streamer projection.
|
Core Products
:
Data Grid ver. 6.0.2,
Streaming ver. 6.0.2
Accelerators
:
Hadoop Accelerator ver. 6.0.2
Release Date
:
March 24 2014