Drizzled Public API Documentation

DefaultValueMapAllocator Class Reference

Public Member Functions

virtual ValueInternalMap * newMap ()
virtual ValueInternalMap * newMapCopy (const ValueInternalMap &other)
virtual void destructMap (ValueInternalMap *map)
virtual ValueInternalLink * allocateMapBuckets (unsigned int size)
virtual void releaseMapBuckets (ValueInternalLink *links)
virtual ValueInternalLink * allocateMapLink ()
virtual void releaseMapLink (ValueInternalLink *link)

Private Attributes

BatchAllocator
< ValueInternalMap, 1 > 
mapsAllocator_
BatchAllocator
< ValueInternalLink, 1 > 
linksAllocator_

Detailed Description

Todo:
make this thread-safe (lock when accessign batch allocator)

Definition at line 120 of file json_internalmap.inl.


The documentation for this class was generated from the following file: