- All Known Implementing Classes:
public interface OptimizedSessionPersistedObjectAn optional interface implemented by objects that are persisted in the
Session. At the end of each request, any objects read from the session are re-stored into the session, to ensure that in-memory changes are flushed to other persistent session stores (e.g. RDBMS, servers in a cluster, etc). Objects that implement this interface are expected to track when they are dirty (have pending changes), so that the save back into the session can be avoided when not necessary. This method is accessed concurrently.
- true if the object has in-memory changes since the last time this method was called.