Top Description Methods
org.apache.catalina

public Interface DistributedManager

Known Direct Subinterfaces
org.apache.catalina.StoreManager
Imports
java.util.Set

Interface implemented by session managers that do not keep a complete copy of all sessions in memory but do know where every session is. The BackupManager is an example of such a Manager as are implementations of the StoreManager interface.

With the BackupManager, sessions can be primary (primary copy on this node), backup (backup copy on this node) or proxy (only the session ID on this node). The identity of the primary and backup nodes are known for all sessions, including proxy sessions.

With StoreManager implementations, sessions can be primary (session is in memory) or proxy (session is in the Store).

Method Summary

Modifier and TypeMethod and Description
public int

Returns:

The total session count across the cluster.
getActiveSessionsFull
()

Returns the total session count for primary, backup and proxy.

public Set<String>

Returns:

The complete set of sessions IDs across the cluster.
getSessionIdsFull
()

Returns the list of all sessions IDS (primary, backup and proxy).

Method Detail

getActiveSessionsFullback to summary
public int getActiveSessionsFull()

Returns the total session count for primary, backup and proxy.

Returns:int

The total session count across the cluster.

getSessionIdsFullback to summary
public Set<String> getSessionIdsFull()

Returns the list of all sessions IDS (primary, backup and proxy).

Returns:Set<String>

The complete set of sessions IDs across the cluster.