Package org.apache.catalina.ha
Interface ClusterSession
- All Superinterfaces:
- HttpSession,- Session
- All Known Implementing Classes:
- DeltaSession
- 
Field SummaryFields inherited from interface org.apache.catalina.SessionSESSION_ACTIVATED_EVENT, SESSION_CREATED_EVENT, SESSION_DESTROYED_EVENT, SESSION_PASSIVATED_EVENT
- 
Method SummaryModifier and TypeMethodDescriptionbooleanreturns true if this session is the primary session, if that is the case, the manager can expire it upon timeout.voidsetPrimarySession(boolean primarySession) Sets whether this is the primary session or not.Methods inherited from interface jakarta.servlet.http.HttpSessiongetAttribute, getAttributeNames, getCreationTime, getId, getLastAccessedTime, getMaxInactiveInterval, getServletContext, invalidate, isNew, removeAttribute, setAttribute, setMaxInactiveIntervalMethods inherited from interface org.apache.catalina.Sessionaccess, addSessionListener, endAccess, expire, getAuthType, getCreationTime, getCreationTimeInternal, getId, getIdInternal, getIdleTime, getIdleTimeInternal, getLastAccessedTime, getLastAccessedTimeInternal, getManager, getMaxInactiveInterval, getNote, getNoteNames, getPrincipal, getSession, getThisAccessedTime, getThisAccessedTimeInternal, isAttributeDistributable, isValid, recycle, removeNote, removeSessionListener, setAuthType, setCreationTime, setId, setId, setManager, setMaxInactiveInterval, setNew, setNote, setPrincipal, setValid, tellChangedSessionId
- 
Method Details- 
isPrimarySessionboolean isPrimarySession()returns true if this session is the primary session, if that is the case, the manager can expire it upon timeout.- Returns:
- True if this session is primary
 
- 
setPrimarySessionvoid setPrimarySession(boolean primarySession) Sets whether this is the primary session or not.- Parameters:
- primarySession- Flag value
 
 
-