public void setMaxActiveSessions ( final int max ) { final int oldMaxActiveSessions = _maxActiveSessions ; _maxActiveSessions = max ; support . firePropertyChange ( "maxActiveSessions" , Integer . valueOf ( oldMaxActiveSessions ) , Integer . valueOf ( _maxActiveSessions ) ) ; }
Set the maximum number of active Sessions allowed or - 1 for no limit .