|
MySQL 5.6.14 Source Code Document
|


Public Member Functions | |
| SafeArrayPool (NdbMutex *mutex=0) | |
| int | lock () |
| int | unlock () |
| bool | seize (Ptr< T > &) |
| void | release (Uint32 i) |
| void | release (Ptr< T > &) |
Public Member Functions inherited from ArrayPool< T > | |
| bool | setSize (Uint32 noOfElements, bool align=false, bool exit_on_error=true, bool guard=true, Uint32 paramId=0) |
| bool | set (T *, Uint32 cnt, bool align=false) |
| void | clear () |
| Uint32 | getNoOfFree () const |
| Uint32 | getSize () const |
| Uint32 | getUsed () const |
| Uint32 | getUsedHi () const |
| void | updateFreeMin (void) |
| void | decNoFree (void) |
| void | decNoFree (Uint32 cnt) |
| Uint32 | getEntrySize () const |
| void | getPtr (Ptr< T > &) |
| void | getPtr (ConstPtr< T > &) const |
| void | getPtr (Ptr< T > &, bool CrashOnBoundaryError) |
| void | getPtr (ConstPtr< T > &, bool CrashOnBoundaryError) const |
| T * | getPtr (Uint32 i) |
| const T * | getConstPtr (Uint32 i) const |
| T * | getPtr (Uint32 i, bool CrashOnBoundaryError) |
| const T * | getConstPtr (Uint32 i, bool CrashOnBoundaryError) const |
| void | getPtr (Ptr< T > &, Uint32 i) |
| void | getPtr (ConstPtr< T > &, Uint32 i) const |
| void | getPtr (Ptr< T > &, Uint32 i, bool CrashOnBoundaryError) |
| void | getPtr (ConstPtr< T > &, Uint32 i, bool CrashOnBoundaryError) const |
| bool | seizeId (Ptr< T > &, Uint32 i) |
| bool | findId (Uint32 i) const |
| bool | seize (LockFun, Cache &, Ptr< T > &) |
| void | release (LockFun, Cache &, Uint32 i) |
| void | release (LockFun, Cache &, Ptr< T > &) |
| void | releaseList (LockFun, Cache &, Uint32 n, Uint32 first, Uint32 last) |
| void | setChunkSize (Uint32 sz) |
| void | releaseList (Uint32 n, Uint32 first, Uint32 last) |
Additional Inherited Members | |
Protected Member Functions inherited from ArrayPool< T > | |
| void | releaseChunk (LockFun, Cache &, Uint32 n) |
| bool | seizeChunk (Uint32 &n, Ptr< T > &) |
| void | releaseChunk (Uint32 n, Uint32 first, Uint32 last) |
| Uint32 | seizeN (Uint32 n) |
| void | releaseN (Uint32 base, Uint32 n) |
Protected Attributes inherited from ArrayPool< T > | |
| Uint32 | firstFree |
| Uint32 | size |
| Uint32 | noOfFree |
| Uint32 | noOfFreeMin |
| T * | theArray |
| void * | alloc_ptr |
Definition at line 1386 of file ArrayPool.hpp.
|
inline |
Return an object to pool
Reimplemented from ArrayPool< T >.
Definition at line 1458 of file ArrayPool.hpp.

|
inline |
Return an object to pool
Reimplemented from ArrayPool< T >.
Definition at line 1469 of file ArrayPool.hpp.

|
inline |
Allocate an object from pool - update Ptr
Return i
Reimplemented from ArrayPool< T >.
Definition at line 1445 of file ArrayPool.hpp.
