org.jboss.metadata.web.jboss
Class PassivationConfig
java.lang.Object
org.jboss.metadata.javaee.support.IdMetaDataImpl
org.jboss.metadata.web.jboss.PassivationConfig
- All Implemented Interfaces:
- Serializable, Cloneable, IdMetaData
public class PassivationConfig
- extends IdMetaDataImpl
Represents a element of the jboss-web.xml
deployment descriptor
- Version:
- $Revision: 83549 $
- Author:
- Brian Stansberry
- See Also:
- Serialized Form
PassivationConfig
public PassivationConfig()
getPassivationMaxIdleTime
public Integer getPassivationMaxIdleTime()
- Gets the max time (seconds) the session must be idle after which it's
eligible for passivation whether or not maxActiveSessions has been reached.
setPassivationMaxIdleTime
public void setPassivationMaxIdleTime(Integer passivationMaxIdleTime)
- Sets the max time (seconds) the session must be idle after which it's
eligible for passivation whether or not maxActiveSessions has been reached.
getPassivationMinIdleTime
public Integer getPassivationMinIdleTime()
- Gets the min time (seconds) a session must be idle before it's eligible for passivation.
This overrides the maxActiveSessions config, to prevent thrashing if the there are lots of active sessions.
Setting to -1 means it's ignored
setPassivationMinIdleTime
public void setPassivationMinIdleTime(Integer passivationMinIdleTime)
- Sets the min time (seconds) a session must be idle before it's eligible for passivation.
This overrides the maxActiveSessions config, to prevent thrashing if the there are lots of active sessions.
Setting to -1 means it's ignored
getUseSessionPassivation
public Boolean getUseSessionPassivation()
- Gets whether passivation is enabled for this webapp.
setUseSessionPassivation
public void setUseSessionPassivation(Boolean useSessionPassivation)
- Sets whether passivation is enabled for this webapp.
Copyright © 2009 JBoss Inc.. All Rights Reserved.