| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void | doStart()
Overrides org. Method to override to start the lifecycle |
| protected void | doStop()
Overrides org. Method to override to stop the lifecycle |
| public void | dump(Appendable
The appendable to dump to out, String The indent to apply after any new lines. indent)Implements org. Dump this object (and children) into an Appendable using the provided indent after any new lines. |
| public int | |
| public Collection | |
| public boolean | |
| public void | onWebSocketSessionClosed(Session session)
Overrides default org.
|
| public void | onWebSocketSessionOpened(Session session)
Overrides default org.
|
| public CompletableFuture |
| isShutdown | back to summary |
|---|---|
| private boolean isShutdown | |
| sessions | back to summary |
|---|---|
| private final Set<Session> sessions | |
| SessionTracker | back to summary |
|---|---|
| public SessionTracker() | |
| doStart | back to summary |
|---|---|
| protected void doStart() throws Exception Overrides org. Doc from org. Method to override to start the lifecycle | |
| doStop | back to summary |
|---|---|
| protected void doStop() throws Exception Overrides org. Doc from org. Method to override to stop the lifecycle | |
| dump | back to summary |
|---|---|
| public void dump(Appendable out, String indent) throws IOException Implements org. Doc from org. Dump this object (and children) into an Appendable using the provided indent after any new lines. The indent should not be applied to the first object dumped.
| |
| getNumSessions | back to summary |
|---|---|
public int getNumSessions()
| |
| getSessions | back to summary |
|---|---|
| public Collection | |
| isShutdown | back to summary |
|---|---|
| public boolean isShutdown() Implements org.
| |
| onWebSocketSessionClosed | back to summary |
|---|---|
| public void onWebSocketSessionClosed(Session session) Overrides default org.
| |
| onWebSocketSessionOpened | back to summary |
|---|---|
| public void onWebSocketSessionOpened(Session session) Overrides default org.
| |
| shutdown | back to summary |
|---|---|
| public CompletableFuture Implements org. Doc from org. Shutdown the component. When this method returns, the component should not accept any new load.
| |