Interface SessionPersistedObjectAnalyzer<T>

    • Method Detail

      • checkAndResetDirtyState

        boolean checkAndResetDirtyState​(T sessionPersistedObject)
        Atomically check and reset the dirty state of the session persisted object. The implementer should take consideration for the fact that session attributes are accessed concurrently. A naive check/set algorithm may allow changes to go un-noticed.
        Parameters:
        sessionPersistedObject - the session attribute (never null)
        Returns:
        true if the object needs to be re-stored into the session
        Since:
        5.3