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

    Author:

    trydofor

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
      HazelcastSyncPublisher(HazelcastInstance instance, ApplicationEventPublisher publisher)
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      UUID getMessageListenerUuid()
      void publishEvent(@NotNull() Object event)
      void onMessage(Message<Object> message)
      • Methods inherited from class org.springframework.context.ApplicationEventPublisher

        publishEvent
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait