The use of a snapshot solves three basic problems:
Concurrent synchronizations will not introduce dangling references as long as:
Functions | |
| alp_status_t | alp_hscm_add_datastore_to_snapshot (AlpHsSnapshotHandle hSnapshot, _TCHAR *locURI, AlpHsPedigreePtr botCover) |
| Add a datastore to the input snapshot. | |
| alp_status_t | alp_hscm_close_snapshot (AlpHsSnapshotHandle hSnapshot) |
| Close the input snapshot. | |
| alp_status_t | alp_hscm_create_snapshot (AlpHsChangeMgrHandle hChgMgr, AlpHsSnapshotHandle *phSnapshot) |
| Create a new snapshot. | |
| alp_status_t | alp_hscm_delete_snapshot_handle (AlpHsSnapshotHandle hSnapshot) |
| Deletes the input snapshot. | |
| alp_status_t | alp_hscm_is_datastore_modified (AlpHsSnapshotHandle hSnapshot, const _TCHAR *locURI, bool *pIsModified) |
| Returns true if any objects from the specified datastore are included in the input snapshot. | |
| alp_status_t | alp_hscm_open_snapshot (AlpHsSnapshotHandle hSnapshot) |
| Open the input snapshot. | |
| alp_status_t | alp_hscm_query_snapshot_top (AlpHsSnapshotHandle hSnapshot, AlpHsPedigreePtr *pTopCover) |
| Retreives the current datastore's top cover. | |
| alp_status_t | alp_hscm_query_snapshot_top_local (AlpHsSnapshotHandle hSnapshot, _TCHAR *locURI, AlpHsPedigreePtr *pTopCover) |
| Retrieve's the specified datastore's top cover. | |
|
||||||||||||||||
|
Add a datastore to the input snapshot.
|
|
|
Close the input snapshot.
|
|
||||||||||||
|
Create a new snapshot.
|
|
|
Deletes the input snapshot. (OPTIONAL) Detailed description of function.
|
|
||||||||||||||||
|
Returns true if any objects from the specified datastore are included in the input snapshot.
|
|
|
Open the input snapshot. This function determines the object versions included in the input snapshot. For each datastore in the snapshot, the objects included in the snapshot have pedigrees that are:
|
|
||||||||||||
|
Retreives the current datastore's top cover. This function retrieves the top cover for the current datastore from the input snapshot. In this case the current datastore is defined as the datastore that was open when the snapshot was created.
|
|
||||||||||||||||
|
Retrieve's the specified datastore's top cover. This function retrieves the top cover for the specified datastore from the input snapshot.
|
Copyright © 1999-2008 ACCESS CO., LTD. All rights reserved.