Class ClusterNodeManager


  • @ApplicationScoped
    public class ClusterNodeManager
    extends Object
    Version:
    1.0, 06/03/2024
    Author:
    Yuriy Movchan
    • Constructor Detail

      • ClusterNodeManager

        public ClusterNodeManager()
    • Method Detail

      • init

        @PostConstruct
        public void init()
      • initTimer

        public void initTimer()
      • reloadNodesTimerEvent

        @Asynchronous
        public void reloadNodesTimerEvent​(@Observes
                                          TokenPoolUpdateEvent tokenPoolUpdateEvent)
      • destroy

        public void destroy​(@Observes @BeforeDestroyed(jakarta.enterprise.context.ApplicationScoped.class)
                            jakarta.servlet.ServletContext init)
      • getClusterNodeId

        public Integer getClusterNodeId()