类 SpiImplPushExecutorHolder


  • public class SpiImplPushExecutorHolder
    extends java.lang.Object
    SPI push executor holder.
    作者:
    xiweng.yy
    • 构造器详细资料

      • SpiImplPushExecutorHolder

        private SpiImplPushExecutorHolder()
    • 方法详细资料

      • findPushExecutorSpiImpl

        public java.util.Optional<SpiPushExecutor> findPushExecutorSpiImpl​(java.lang.String clientId,
                                                                           Subscriber subscriber)
        Try to find an PushExecutor implement by SPI which interest to execute this push.
        参数:
        clientId - client id
        subscriber - subscriber infor
        返回:
        PushExecutor which interest to execute this push, otherwise Optional.empty()