All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Data Fields
as_memtracker_hooks Struct Reference

Detailed Description

The interface which all memtrackers should implement.

Definition at line 42 of file src/include/aerospike/as_memtracker.h.

#include "as_memtracker.h"

+ Collaboration diagram for as_memtracker_hooks:

Data Fields

int(* destroy )(as_memtracker *)
 
bool(* release )(const as_memtracker *, const uint32_t)
 
bool(* reserve )(const as_memtracker *, const uint32_t)
 
bool(* reset )(const as_memtracker *)
 

Field Documentation

int(* as_memtracker_hooks::destroy)(as_memtracker *)

The destroy should free resources associated with the memtracker's source. The destroy should not free the memtracker itself.

Definition at line 47 of file src/include/aerospike/as_memtracker.h.

bool(* as_memtracker_hooks::release)(const as_memtracker *, const uint32_t)

Definition at line 50 of file src/include/aerospike/as_memtracker.h.

bool(* as_memtracker_hooks::reserve)(const as_memtracker *, const uint32_t)

Definition at line 49 of file src/include/aerospike/as_memtracker.h.

bool(* as_memtracker_hooks::reset)(const as_memtracker *)

Definition at line 51 of file src/include/aerospike/as_memtracker.h.


The documentation for this struct was generated from the following files: