Class HazelcastMessageStore
java.lang.Object
org.springframework.integration.store.AbstractBatchingMessageGroupStore
org.springframework.integration.store.AbstractMessageGroupStore
org.springframework.integration.store.AbstractKeyValueMessageStore
org.springframework.integration.hazelcast.store.HazelcastMessageStore
- All Implemented Interfaces:
Iterable<MessageGroup>,BasicMessageGroupStore,MessageGroupStore,MessageStore
The Hazelcast
IMap-based AbstractKeyValueMessageStore implementation.- Author:
- Vinicius Carvalho, Artem Bilan
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.springframework.integration.store.MessageGroupStore
MessageGroupStore.MessageGroupCallback -
Field Summary
Fields inherited from class org.springframework.integration.store.AbstractKeyValueMessageStore
MESSAGE_GROUP_KEY_PREFIX, MESSAGE_KEY_PREFIXFields inherited from class org.springframework.integration.store.AbstractMessageGroupStore
GROUP_ID_MUST_NOT_BE_NULL, INTERRUPTED_WHILE_OBTAINING_LOCK, logger -
Constructor Summary
ConstructorsConstructorDescriptionHazelcastMessageStore(com.hazelcast.core.HazelcastInstance hazelcastInstance) HazelcastMessageStore(com.hazelcast.map.IMap<Object, Object> map) -
Method Summary
Modifier and TypeMethodDescriptionprotected Collection<?> doListKeys(String keyPattern) protected Objectprotected voiddoRemoveAll(Collection<Object> ids) protected ObjectdoRetrieve(Object id) protected voidprotected voiddoStoreIfAbsent(Object id, Object objectToStore) Methods inherited from class org.springframework.integration.store.AbstractKeyValueMessageStore
addMessage, doAddMessage, doAddMessage, doAddMessagesToGroup, doCompleteGroup, doPollMessageFromGroup, doRemoveMessageFromGroupById, doRemoveMessageGroup, doRemoveMessagesFromGroup, doSetGroupCondition, doSetLastReleasedSequenceNumberForGroup, getGroupMetadata, getGroupPrefix, getMessage, getMessageCount, getMessageFromGroup, getMessageGroup, getMessageMetadata, getMessagePrefix, getMessagesForGroup, getOneMessageFromGroup, iterator, messageGroupSize, removeMessage, streamMessagesForGroupMethods inherited from class org.springframework.integration.store.AbstractMessageGroupStore
addMessagesToGroup, addMessageToGroup, completeGroup, copy, executeLocked, executeLocked, expireMessageGroups, getLockRegistry, getMessageCountForAllMessageGroups, getMessageGroupCount, getMessageGroupFactory, isTimeoutOnIdle, pollMessageFromGroup, registerMessageGroupExpiryCallback, removeMessageFromGroupById, removeMessageGroup, removeMessagesFromGroup, removeMessagesFromGroup, setExpiryCallbacks, setGroupCondition, setLastReleasedSequenceNumberForGroup, setLazyLoadMessageGroups, setLockRegistry, setTimeoutOnIdleMethods inherited from class org.springframework.integration.store.AbstractBatchingMessageGroupStore
getRemoveBatchSize, setMessageGroupFactory, setRemoveBatchSizeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
HazelcastMessageStore
public HazelcastMessageStore(com.hazelcast.core.HazelcastInstance hazelcastInstance) -
HazelcastMessageStore
-
-
Method Details
-
doRetrieve
- Specified by:
doRetrievein classAbstractKeyValueMessageStore
-
doStore
- Specified by:
doStorein classAbstractKeyValueMessageStore
-
doStoreIfAbsent
- Specified by:
doStoreIfAbsentin classAbstractKeyValueMessageStore
-
doRemoveAll
- Specified by:
doRemoveAllin classAbstractKeyValueMessageStore
-
doRemove
- Specified by:
doRemovein classAbstractKeyValueMessageStore
-
doListKeys
- Specified by:
doListKeysin classAbstractKeyValueMessageStore
-