public class HazelcastIdempotentRepository
extends org.apache.camel.support.service.ServiceSupport
implements org.apache.camel.spi.IdempotentRepository
| Constructor and Description |
|---|
HazelcastIdempotentRepository(com.hazelcast.core.HazelcastInstance hazelcastInstance) |
HazelcastIdempotentRepository(com.hazelcast.core.HazelcastInstance hazelcastInstance,
String repositoryName) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(String key) |
void |
clear() |
boolean |
confirm(String key) |
boolean |
contains(String key) |
protected void |
doStart() |
protected void |
doStop() |
String |
getRepositoryName() |
boolean |
remove(String key) |
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, suspendclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitadd, confirm, contains, removepublic HazelcastIdempotentRepository(com.hazelcast.core.HazelcastInstance hazelcastInstance)
public HazelcastIdempotentRepository(com.hazelcast.core.HazelcastInstance hazelcastInstance,
String repositoryName)
protected void doStart()
throws Exception
doStart in class org.apache.camel.support.service.BaseServiceExceptionprotected void doStop()
throws Exception
doStop in class org.apache.camel.support.service.BaseServiceExceptionpublic boolean add(String key)
add in interface org.apache.camel.spi.IdempotentRepositorypublic boolean confirm(String key)
confirm in interface org.apache.camel.spi.IdempotentRepositorypublic boolean contains(String key)
contains in interface org.apache.camel.spi.IdempotentRepositorypublic boolean remove(String key)
remove in interface org.apache.camel.spi.IdempotentRepositorypublic void clear()
clear in interface org.apache.camel.spi.IdempotentRepositorypublic String getRepositoryName()
Apache Camel