Optimize the request of different resources and the rollback if one failes. More...
#include <generic_service.h>
Public Member Functions | |
QuotaGuard (Utcb &utcb, unsigned pseudonym, const char *name, long value_in, QuotaGuard *prev=0) | |
~QuotaGuard () | |
void | commit () |
unsigned | status () |
Optimize the request of different resources and the rollback if one failes.
QuotaGuard< T >::QuotaGuard | ( | Utcb & | utcb, | |
unsigned | pseudonym, | |||
const char * | name, | |||
long | value_in, | |||
QuotaGuard< T > * | prev = 0 | |||
) | [inline] |
QuotaGuard< T >::~QuotaGuard | ( | ) | [inline] |
void QuotaGuard< T >::commit | ( | ) | [inline] |
unsigned QuotaGuard< T >::status | ( | ) | [inline] |