[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 goCold()
 Perform a write of work area memory to the data store
------------------------------------------------------------------------------
 Prototype

     ERRCODE goCold(
                       AREAP wa
                     )

 Arguments

     wa is a pointer to self.

 Description

     goCold() forces the RDD to ensure that any data contained in memory
     matches the data store (usually a disk).

 Default Behavior

     You must implement the default behavior of this method through a
     subclass.

 Implementation Notes

     .  The concept of hot and cold refers to the current state of
        information in memory as it relates to information on disk.  If the
        information in memory, has changed since last written to disk, it is
        considered hot.  A cold work area's memory is in sync with its disk-
        based counterpart.

        In any implementation of goCold(), you should determine whether the
        buffer holding the current cursor's data has been written to.  If so,
        it is hot and must be turned cold by flushing or writing it to disk.

     .  wa should remain cold until it is marked hot by goHot().

 Files  Header file is Rdd.api.


See Also: AREA append() flush() goHot()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson