Package org.jboss.modcluster.config
Interface SessionDrainingStrategy
-
- All Known Implementing Classes:
SessionDrainingStrategyEnum
public interface SessionDrainingStrategyDefines the strategy for draining sessions from a context- Author:
- Paul Ferraro
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisEnabled(Context context)Indicates whether or not to drain sessions prior to stopping the specified context.
-
-
-
Method Detail
-
isEnabled
boolean isEnabled(Context context)
Indicates whether or not to drain sessions prior to stopping the specified context.- Parameters:
context- a web application context- Returns:
- true, if sessions draining is enabled, false otherwise
-
-