类 TooManyActiveSessionsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalStateException
cn.taketoday.session.TooManyActiveSessionsException
- 所有已实现的接口:
Serializable
An exception that indicates the maximum number of active sessions has been
reached and the server is refusing to create any new sessions.
- 从以下版本开始:
- 4.0 2023/2/28 22:35
- 作者:
- Harry Yang
- 另请参阅:
-
字段概要
字段修饰符和类型字段说明private final intThe maximum number of active sessions the server will tolerate.private static final long -
构造器概要
构造器构造器说明TooManyActiveSessionsException(String message, int maxActive) Creates a new TooManyActiveSessionsException. -
方法概要
修饰符和类型方法说明intGets the maximum number of sessions allowed by the session manager.
-
字段详细资料
-
serialVersionUID
private static final long serialVersionUID- 另请参阅:
-
maxActiveSessions
private final int maxActiveSessionsThe maximum number of active sessions the server will tolerate.
-
-
构造器详细资料
-
TooManyActiveSessionsException
Creates a new TooManyActiveSessionsException.- 参数:
message- A description for the exception.maxActive- The maximum number of active sessions allowed by the session manager.
-
-
方法详细资料
-
getMaxActiveSessions
public int getMaxActiveSessions()Gets the maximum number of sessions allowed by the session manager.- 返回:
- The maximum number of sessions allowed by the session manager.
-