| Modifier and Type | Field and Description |
|---|---|
| private final int | maxActiveSessions
The maximum number of active sessions the server will tolerate. |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | TooManyActiveSessionsException(String
A description for the exception. message, int The maximum number of active sessions allowed by the session manager. maxActive)Creates a new TooManyActiveSessionsException. |
| Modifier and Type | Method and Description |
|---|---|
| public int | Returns: The maximum number of sessions allowed by the session manager.Gets the maximum number of sessions allowed by the session manager. |
| maxActiveSessions | back to summary |
|---|---|
| private final int maxActiveSessions The maximum number of active sessions the server will tolerate. | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| TooManyActiveSessionsException | back to summary |
|---|---|
| public TooManyActiveSessionsException(String message, int maxActive) Creates a new TooManyActiveSessionsException.
| |
| getMaxActiveSessions | back to summary |
|---|---|
| public int getMaxActiveSessions() Gets the maximum number of sessions allowed by the session manager.
| |