Class NamedCassandraIdempotentRepository
- java.lang.Object
-
- org.apache.camel.support.service.BaseService
-
- org.apache.camel.support.service.ServiceSupport
-
- org.apache.camel.processor.idempotent.cassandra.CassandraIdempotentRepository
-
- org.apache.camel.processor.idempotent.cassandra.NamedCassandraIdempotentRepository
-
- All Implemented Interfaces:
AutoCloseable
,org.apache.camel.Service
,org.apache.camel.ShutdownableService
,org.apache.camel.spi.IdempotentRepository
,org.apache.camel.StatefulService
,org.apache.camel.SuspendableService
public class NamedCassandraIdempotentRepository extends CassandraIdempotentRepository
Concrete implementation ofCassandraIdempotentRepository
using 2 columns as primary key: name (partition key) and key (clustering key).
-
-
Constructor Summary
Constructors Constructor Description NamedCassandraIdempotentRepository()
NamedCassandraIdempotentRepository(com.datastax.oss.driver.api.core.CqlSession session, String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getName()
void
setName(String name)
-
Methods inherited from class org.apache.camel.processor.idempotent.cassandra.CassandraIdempotentRepository
add, clear, confirm, contains, doStart, doStop, getPKColumns, getPKValues, getPrefixPKValues, getReadConsistencyLevel, getSession, getTable, getTtl, getWriteConsistencyLevel, initClearStatement, initDeleteStatement, initInsertStatement, initSelectStatement, isApplied, remove, setPKColumns, setPrefixPKValues, setReadConsistencyLevel, setSession, setTable, setTtl, setWriteConsistencyLevel
-
Methods inherited from class org.apache.camel.support.service.BaseService
build, doBuild, doFail, doInit, doLifecycleChange, doResume, doShutdown, doSuspend, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.camel.spi.IdempotentRepository
add, confirm, contains, remove
-
-
-
-
Constructor Detail
-
NamedCassandraIdempotentRepository
public NamedCassandraIdempotentRepository()
-
NamedCassandraIdempotentRepository
public NamedCassandraIdempotentRepository(com.datastax.oss.driver.api.core.CqlSession session, String name)
-
-