Class PlatformClusterEventSender

    • Constructor Detail

      • PlatformClusterEventSender

        public PlatformClusterEventSender()
    • Method Detail

      • postConstruct

        @Deprecated(since="ages",
                    forRemoval=true)
        @PostConstruct
        public void postConstruct()
        Deprecated, for removal: This API element is subject to removal in a future version.
        since ages
      • registerBinaryListenerHook

        public void registerBinaryListenerHook()
      • preDestroy

        @PreDestroy
        public void preDestroy()
      • processPacket

        public void processPacket​(byte[] message)
        be aware of the fact that this is running in a different thread!
        Specified by:
        processPacket in interface BinaryBroadcastListener
      • isForOwnTenant

        protected boolean isForOwnTenant​(AbstractEvent event)
      • setExecutor

        public void setExecutor​(java.util.concurrent.Executor executor)
        Sets the executor to use for sending local events asynchronous. If this property is set, ALL(!!) local events will be sent asynchronously by the specified Executor.
        Parameters:
        executor - executor to use or null for synchronous sending
      • getExecutor

        public java.util.concurrent.Executor getExecutor()
        Gets the executor used for sending local events asynchronous. Returns null if local events are send synchronous.
        Returns:
        executor or null
      • setSerializationService

        public void setSerializationService​(SerializationService serializationService)
      • setTenant

        public void setTenant​(Tenant tenant)