Modified objects are written to the datastore within a transaction. If a failure occurs when a particular object is written, the caller may either skip the write, commit all prior writes by calling alp_hscm_write_modified_objects_end() or rollback all prior writes by calling alp_hscm_write_modified_objects_rollback().
Functions | |
| alp_status_t | alp_hscm_write_modified_object_content (AlpHsObjectWriteHandle hWrite, AlpHsObjectPtr pObj, AlpHsObjectTypePtr pSrcType, bool moreData, size_t size, const _TCHAR *buffer) |
| Write a modified object's content to an open datastore. | |
| alp_status_t | alp_hscm_write_modified_objects_begin (AlpHsChangeMgrHandle hChgMgr, AlpHsSnapshotHandle hSnapshot, AlpHsObjectWriteHandle *phWrite) |
| Begin writing modified objects to an open datastore. | |
| alp_status_t | alp_hscm_write_modified_objects_end (AlpHsObjectWriteHandle hWrite) |
| End writing modified objects to an open datastore and commit all prior writes. | |
| alp_status_t | alp_hscm_write_modified_objects_rollback (AlpHsObjectWriteHandle hWrite) |
| End writing modified objects to an open datastore and rollback all prior writes. | |
| alp_status_t | alp_hscm_write_next_modified_object (AlpHsObjectWriteHandle hWrite, AlpHsObjectPtr pObject) |
| Write a modified object to an open datastore. | |
|
||||||||||||||||||||||||||||
|
Write a modified object's content to an open datastore. Immediately after alp_hscm_write_next_modified_object() is used to write an object whose state is not deleted, this function must be called to write the object's content to the datastore. Each call should contain the next size bytes of the modified object's content formatted according to the specified srcType.
|
|
||||||||||||||||
|
Begin writing modified objects to an open datastore. This function initiates writing of modified objects from a remote datastore to the local datastore that is currently open.
|
|
|
End writing modified objects to an open datastore and commit all prior writes.
|
|
|
End writing modified objects to an open datastore and rollback all prior writes.
|
|
||||||||||||
|
Write a modified object to an open datastore.
|
Copyright © 1999-2008 ACCESS CO., LTD. All rights reserved.