org.apache.catalina.ha

Interface ClusterSession

public interface ClusterSession extends Session, HttpSession

Method Summary
booleanisPrimarySession()
returns 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.

Method Detail

isPrimarySession

public boolean 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

setPrimarySession

public void setPrimarySession(boolean primarySession)
Sets whether this is the primary session or not.

Parameters: primarySession Flag value

Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.