Class ClusterNodeManager
- java.lang.Object
-
- io.jans.as.server.service.cluster.ClusterNodeManager
-
@ApplicationScoped public class ClusterNodeManager extends Object
- Version:
- 1.0, 06/03/2024
- Author:
- Yuriy Movchan
-
-
Constructor Summary
Constructors Constructor Description ClusterNodeManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddestroy(jakarta.servlet.ServletContext init)IntegergetClusterNodeId()voidinit()voidinitTimer()voidreloadNodesTimerEvent(TokenPoolUpdateEvent tokenPoolUpdateEvent)
-
-
-
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()
-
-