Clearing JADE Object Manager Buffers

The jomClearBuffers call, shown in the following example, marks the object buffer as obsolete.

int jomClearBuffers(const DskHandle   *pHandle,
                    const DskObjectId *pOid,
                    UInt32            lineNo)

When an obsolete object buffer is referenced, the JADE Object Manager client asks the server program to reload it with the contents of a new buffer, if necessary.

This call guarantees that the next time this object is referenced, its latest copy is used.

A newly loaded object buffer can be guaranteed to be current only when an object is locked.

The parameters for this call are described in the following subsections.