rht_on_trash_cb
| |
void rht_on_trash_cb(rht r, rht_code
err, const void *key_cntxt); |
|
Parameters
| |
r |
replica being garbage collected |
| |
err |
error code if any at the time the
replica is being garbage collected (full
list) |
| |
key_cntxt |
user context passed in
upon the creation of the replica |
|
Return Values
|
Description
| |
on_trash_cb is called
when a replica is completely garbage collected. The
time between a successful rht_create
call and the on_trash_cb for that replica is the lifetime
of the replica. The main purpose of this call is to
give the user a chance to reclaim resources from their
key_cntxt if necessary.
|
|
Requirements
| |
Header: Declared in rht.h
Library: Use rht.lib
Version: 2.0 |
|
Also See
|