Class HazelcastSyncPublisher
-
- All Implemented Interfaces:
-
com.hazelcast.topic.MessageListener,java.util.EventListener,org.springframework.context.ApplicationEventPublisher
public class HazelcastSyncPublisher implements ApplicationEventPublisher, MessageListener<E>ApplicationEventPublisher is a helper. Generally used for non-transactional Event processing, with the following main functions: (1) Asynchronous publishing. (2) IDE prompt navigation. (3) Hazelcast topic (#HazelcastTopic) in the SpringEvent pattern.
- Since:
2021-06-07
trydofor
-
-
Constructor Summary
Constructors Constructor Description HazelcastSyncPublisher(HazelcastInstance instance, ApplicationEventPublisher publisher)
-
Method Summary
Modifier and Type Method Description UUIDgetMessageListenerUuid()voidpublishEvent(@NotNull() Object event)voidonMessage(Message<Object> message)-
-
Method Detail
-
getMessageListenerUuid
UUID getMessageListenerUuid()
-
publishEvent
void publishEvent(@NotNull() Object event)
-
-
-
-