Drizzled Public API Documentation

DefaultValueArrayAllocator Class Reference

Public Member Functions

virtual ValueInternalArray * newArray ()
virtual ValueInternalArray * newArrayCopy (const ValueInternalArray &other)
virtual void destructArray (ValueInternalArray *array)
virtual void reallocateArrayPageIndex (Value **&indexes, ValueInternalArray::PageIndex &indexCount, ValueInternalArray::PageIndex minNewIndexCount)
virtual void releaseArrayPageIndex (Value **indexes, ValueInternalArray::PageIndex indexCount)
virtual Value * allocateArrayPage ()
virtual void releaseArrayPage (Value *value)

Private Attributes

BatchAllocator
< ValueInternalArray, 1 > 
arraysAllocator_
BatchAllocator< Value,
ValueInternalArray::itemsPerPage > 
pagesAllocator_

Detailed Description

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

Definition at line 112 of file json_internalarray.inl.


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