@Override public void expire(boolean notify) { if (notify) { getOperatingRegion().destroy(this.getId(), this); } else { super.expire(false); } }
@Override public void processExpired() { DeltaSessionManager manager = (DeltaSessionManager) getManager(); if (manager != null && manager.getLogger() != null && manager.getLogger().isDebugEnabled()) { ((DeltaSessionManager) getManager()).getLogger().debug(this + ": Expired"); } // Set expired (so region.destroy is not called again) setExpired(true); // Do expire processing super.expire(true); // Update statistics if (manager != null) { manager.getStatistics().incSessionsExpired(); } }
/** * Perform the internal processing required to invalidate this session, * without triggering an exception if the session has already expired. */ public void expire() { expire(true); }
/** * Perform the internal processing required to invalidate this session, * without triggering an exception if the session has already expired. */ @Override public void expire() { expire(true); }
/** * Perform the internal processing required to invalidate this session, * without triggering an exception if the session has already expired. */ @Override public void expire() { expire(true); }
/** * Perform the internal processing required to invalidate this session, * without triggering an exception if the session has already expired. */ @Override public void expire() { expire(true); }
/** * Perform the internal processing required to invalidate this session, * without triggering an exception if the session has already expired. */ @Override public void expire() { expire(true); }
/** * Perform the internal processing required to invalidate this session, * without triggering an exception if the session has already expired. */ public void expire() { expire(true); }
/** * Perform the internal processing required to invalidate this session, * without triggering an exception if the session has already expired. */ public void expire() { expire(true); }
/** * Perform the internal processing required to invalidate this session, * without triggering an exception if the session has already expired. */ @Override public void expire() { expire(true); }
/** * Perform the internal processing required to invalidate this session, * without triggering an exception if the session has already expired. */ @Override public void expire() { expire(true); }
/** * Set the maximum time interval, in seconds, between client requests * before the servlet container will invalidate the session. A negative * time indicates that the session should never time out. * * @param interval The new maximum interval */ public void setMaxInactiveInterval(int interval) { this.maxInactiveInterval = interval; if (isValid && interval == 0) { expire(); } }
/** * Set the maximum time interval, in seconds, between client requests * before the servlet container will invalidate the session. A negative * time indicates that the session should never time out. * * @param interval The new maximum interval */ public void setMaxInactiveInterval(int interval) { this.maxInactiveInterval = interval; if (isValid && interval == 0) { expire(); } }
/** * Perform the internal processing required to invalidate this session, * without triggering an exception if the session has already expired. */ public void expire() { expire(true); }
/** * Perform the internal processing required to invalidate this session, * without triggering an exception if the session has already expired. * * @param notify Should we notify listeners about the demise of * this session? */ public void expire(boolean notify) { expire(notify, true); }
/** * Perform the internal processing required to invalidate this session, * without triggering an exception if the session has already expired. */ @Override public void expire() { expire(true); }
/** * Perform the internal processing required to invalidate this session, * without triggering an exception if the session has already expired. */ @Override public void expire() { expire(true); }
/** * Invalidates this session and unbinds any objects bound to it. * * @exception IllegalStateException if this method is called on * an invalidated session */ @Override public void invalidate() { if (!isValidInternal()) throw new IllegalStateException (sm.getString("standardSession.invalidate.ise")); // Cause this session to expire expire(); }
/** * Invalidates this session and unbinds any objects bound to it. * * @exception IllegalStateException if this method is called on * an invalidated session */ public void invalidate() { if (!isValidInternal()) throw MESSAGES.invalidSession(); // Cause this session to expire expire(); }
@Override public void expire(boolean notify) { if (notify) { getOperatingRegion().destroy(this.getId(), this); } else { super.expire(false); } }