Interface COM.ibm.jaws.services.bcfw.Syncable
All Packages Class Hierarchy This Package Previous Next Index
Interface COM.ibm.jaws.services.bcfw.Syncable
- public interface Syncable
- extends Object
This interface allows an object client to tell the object to
write its EssentialData to its persistent storage if it is dirty.
-
sync()
- This method tells the object to write its EssentialData
to its persistent storage if it is dirty.
sync
public abstract void sync()
- This method tells the object to write its EssentialData
to its persistent storage if it is dirty. This event may
happen prior to a sync() call, but sync() ensures that
the cached objects are synced to their persistent storage.
The sync() method should propagate this to any objects that
have cached resources other than its persistent state.
An important special case is a BaseCollection which should
propagate the sync() to its Managed objects that are Syncable.
We will eventually replace this with a transactional
programming model.
All Packages Class Hierarchy This Package Previous Next Index