@UriEndpoint(firstVersion="2.17.0",
scheme="ignite-compute",
title="Ignite Compute",
syntax="ignite-compute:endpointId",
label="nosql,cache,compute",
producerOnly=true)
public class IgniteComputeEndpoint
extends AbstractIgniteEndpoint
component| Constructor and Description |
|---|
IgniteComputeEndpoint(String uri,
String remaining,
Map<String,Object> parameters,
IgniteComputeComponent igniteComponent) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.camel.Consumer |
createConsumer(org.apache.camel.Processor processor) |
org.apache.ignite.IgniteCompute |
createIgniteCompute() |
org.apache.camel.Producer |
createProducer() |
ClusterGroupExpression |
getClusterGroupExpression()
Gets the cluster group expression.
|
String |
getComputeName()
Gets the name of the compute job, which will be set via
IgniteCompute.withName(String). |
String |
getEndpointId()
Gets the endpoint ID.
|
IgniteComputeExecutionType |
getExecutionType()
Gets the execution type of this producer.
|
String |
getTaskName()
Gets the task name, only applicable if using the
IgniteComputeExecutionType.EXECUTE execution type. |
Long |
getTimeoutMillis()
Gets the timeout interval for triggered jobs, in milliseconds, which will be set via
IgniteCompute.withTimeout(long). |
void |
setClusterGroupExpression(ClusterGroupExpression clusterGroupExpression)
An expression that returns the Cluster Group for the IgniteCompute instance.
|
void |
setComputeName(String computeName)
The name of the compute job, which will be set via
IgniteCompute.withName(String). |
void |
setEndpointId(String endpointId)
The endpoint ID (not used).
|
void |
setExecutionType(IgniteComputeExecutionType executionType)
The compute operation to perform.
|
void |
setTaskName(String taskName)
The task name, only applicable if using the
IgniteComputeExecutionType.EXECUTE execution type. |
void |
setTimeoutMillis(Long timeoutMillis)
The timeout interval for triggered jobs, in milliseconds, which will be set via
IgniteCompute.withTimeout(long). |
ignite, igniteComponent, isPropagateIncomingBodyIfNoReturnValue, isSingleton, isTreatCollectionsAsCacheObjects, setPropagateIncomingBodyIfNoReturnValue, setTreatCollectionsAsCacheObjectsconfigureConsumer, configurePollingConsumer, configureProperties, createAsyncProducer, createEndpointUri, createExchange, createExchange, createPollingConsumer, doInit, doStart, doStop, equals, getCamelContext, getComponent, getEndpointKey, getEndpointUri, getExceptionHandler, getExchangePattern, getId, getPollingConsumerBlockTimeout, getPollingConsumerQueueSize, hashCode, isBasicPropertyBinding, isBridgeErrorHandler, isLazyStartProducer, isLenientProperties, isPollingConsumerBlockWhenFull, isSynchronous, setBasicPropertyBinding, setBridgeErrorHandler, setCamelContext, setEndpointUri, setEndpointUriIfNotSpecified, setExceptionHandler, setExchangePattern, setLazyStartProducer, setPollingConsumerBlockTimeout, setPollingConsumerBlockWhenFull, setPollingConsumerQueueSize, setProperties, setSynchronous, toStringdoResume, doShutdown, doSuspend, getStatus, init, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendpublic IgniteComputeEndpoint(String uri, String remaining, Map<String,Object> parameters, IgniteComputeComponent igniteComponent) throws ClassNotFoundException
ClassNotFoundExceptionpublic org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor)
throws Exception
Exceptionpublic org.apache.ignite.IgniteCompute createIgniteCompute()
public String getEndpointId()
public void setEndpointId(String endpointId)
endpointId - endpoint ID (not used)public ClusterGroupExpression getClusterGroupExpression()
public void setClusterGroupExpression(ClusterGroupExpression clusterGroupExpression)
clusterGroupExpression - cluster group expressionpublic IgniteComputeExecutionType getExecutionType()
public void setExecutionType(IgniteComputeExecutionType executionType)
executionType - public String getTaskName()
IgniteComputeExecutionType.EXECUTE execution type.public void setTaskName(String taskName)
IgniteComputeExecutionType.EXECUTE execution type.taskName - public String getComputeName()
IgniteCompute.withName(String).public void setComputeName(String computeName)
IgniteCompute.withName(String).computeName - public Long getTimeoutMillis()
IgniteCompute.withTimeout(long).public void setTimeoutMillis(Long timeoutMillis)
IgniteCompute.withTimeout(long).timeoutMillis - Apache Camel