@UriEndpoint(firstVersion="2.17.0",
scheme="ignite-cache",
title="Ignite Cache",
syntax="ignite-cache:[cacheName]",
label="nosql,cache,compute",
consumerClass=IgniteCacheContinuousQueryConsumer.class)
public class IgniteCacheEndpoint
extends AbstractIgniteEndpoint
component| Constructor and Description |
|---|
IgniteCacheEndpoint(String endpointUri,
String remaining,
Map<String,Object> parameters,
IgniteCacheComponent igniteComponent) |
IgniteCacheEndpoint(String endpointUri,
URI remainingUri,
Map<String,Object> parameters,
IgniteComponent igniteComponent)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
org.apache.camel.Consumer |
createConsumer(org.apache.camel.Processor processor) |
org.apache.camel.Producer |
createProducer() |
String |
getCacheName()
Gets the cache name.
|
org.apache.ignite.cache.CachePeekMode |
getCachePeekMode()
Gets the
CachePeekMode, only needed for operations that require it (IgniteCacheOperation.SIZE). |
IgniteCacheOperation |
getOperation()
Gets the cache operation to invoke.
|
int |
getPageSize()
Gets the page size.
|
org.apache.ignite.cache.query.Query<javax.cache.Cache.Entry<Object,Object>> |
getQuery()
Gets the query to execute, only needed for operations that require it,
and for the Continuous Query Consumer.
|
org.apache.ignite.cache.CacheEntryEventSerializableFilter<Object,Object> |
getRemoteFilter()
Gets the remote filter, only used by the Continuous Query Consumer.
|
long |
getTimeInterval()
Gets the time interval for the Continuous Query Consumer.
|
boolean |
isAutoUnsubscribe()
Gets whether auto unsubscribe is enabled in the Continuous Query Consumer.
|
boolean |
isFailIfInexistentCache()
Whether to fail the initialization if the cache doesn't exist.
|
boolean |
isFireExistingQueryResults()
Gets whether to process existing results that match the query.
|
boolean |
isOneExchangePerUpdate()
Gets whether to pack each update in an individual Exchange, even if multiple updates are
received in one batch.
|
void |
setAutoUnsubscribe(boolean autoUnsubscribe)
Whether auto unsubscribe is enabled in the Continuous Query Consumer.
|
void |
setCacheName(String cacheName)
The cache name.
|
void |
setCachePeekMode(org.apache.ignite.cache.CachePeekMode cachePeekMode)
The
CachePeekMode, only needed for operations that require it (IgniteCacheOperation.SIZE). |
void |
setFailIfInexistentCache(boolean failIfInexistentCache)
Whether to fail the initialization if the cache doesn't exist.
|
void |
setFireExistingQueryResults(boolean fireExistingQueryResults)
Whether to process existing results that match the query.
|
void |
setOneExchangePerUpdate(boolean oneExchangePerUpdate)
Whether to pack each update in an individual Exchange, even if multiple updates are
received in one batch.
|
void |
setOperation(IgniteCacheOperation operation)
The cache operation to invoke.
|
void |
setPageSize(int pageSize)
The page size.
|
void |
setQuery(org.apache.ignite.cache.query.Query<javax.cache.Cache.Entry<Object,Object>> query)
The
Query to execute, only needed for operations that require it,
and for the Continuous Query Consumer. |
void |
setRemoteFilter(org.apache.ignite.cache.CacheEntryEventSerializableFilter<Object,Object> remoteFilter)
The remote filter, only used by the Continuous Query Consumer.
|
void |
setTimeInterval(long timeInterval)
The time interval for the Continuous Query Consumer.
|
ignite, igniteComponent, isPropagateIncomingBodyIfNoReturnValue, isSingleton, isTreatCollectionsAsCacheObjects, setPropagateIncomingBodyIfNoReturnValue, setTreatCollectionsAsCacheObjectsconfigureConsumer, configurePollingConsumer, configureProperties, createEndpointConfiguration, createEndpointUri, createExchange, createExchange, createExchange, createPollingConsumer, doStart, doStop, equals, getCamelContext, getComponent, getConsumerProperties, getEndpointConfiguration, getEndpointKey, getEndpointUri, getExceptionHandler, getExchangePattern, getId, getPollingConsumerBlockTimeout, getPollingConsumerQueueSize, hashCode, isBridgeErrorHandler, isLenientProperties, isPollingConsumerBlockWhenFull, isSynchronous, setBridgeErrorHandler, setCamelContext, setConsumerProperties, setEndpointConfiguration, setEndpointUri, setEndpointUriIfNotSpecified, setExceptionHandler, setExchangePattern, setPollingConsumerBlockTimeout, setPollingConsumerBlockWhenFull, setPollingConsumerQueueSize, setProperties, setSynchronous, toStringdoResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend@Deprecated public IgniteCacheEndpoint(String endpointUri, URI remainingUri, Map<String,Object> parameters, IgniteComponent igniteComponent)
public org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor)
throws Exception
Exceptionpublic String getCacheName()
public void setCacheName(String cacheName)
cacheName - cache namepublic IgniteCacheOperation getOperation()
public void setOperation(IgniteCacheOperation operation)
Possible values: GET, PUT, REMOVE, SIZE, REBALANCE, QUERY, CLEAR.
operation - public boolean isFailIfInexistentCache()
public void setFailIfInexistentCache(boolean failIfInexistentCache)
failIfInexistentCache - public org.apache.ignite.cache.CachePeekMode getCachePeekMode()
CachePeekMode, only needed for operations that require it (IgniteCacheOperation.SIZE).public void setCachePeekMode(org.apache.ignite.cache.CachePeekMode cachePeekMode)
CachePeekMode, only needed for operations that require it (IgniteCacheOperation.SIZE).cachePeekMode - public org.apache.ignite.cache.query.Query<javax.cache.Cache.Entry<Object,Object>> getQuery()
public void setQuery(org.apache.ignite.cache.query.Query<javax.cache.Cache.Entry<Object,Object>> query)
Query to execute, only needed for operations that require it,
and for the Continuous Query Consumer.query - public org.apache.ignite.cache.CacheEntryEventSerializableFilter<Object,Object> getRemoteFilter()
public void setRemoteFilter(org.apache.ignite.cache.CacheEntryEventSerializableFilter<Object,Object> remoteFilter)
remoteFilter - public boolean isOneExchangePerUpdate()
public void setOneExchangePerUpdate(boolean oneExchangePerUpdate)
oneExchangePerUpdate - public boolean isAutoUnsubscribe()
public void setAutoUnsubscribe(boolean autoUnsubscribe)
autoUnsubscribe - public int getPageSize()
public void setPageSize(int pageSize)
pageSize - public boolean isFireExistingQueryResults()
public void setFireExistingQueryResults(boolean fireExistingQueryResults)
fireExistingQueryResults - public long getTimeInterval()
public void setTimeInterval(long timeInterval)
timeInterval - Apache Camel