![]() |
#include <syzextra.h>
Public Types | |
typedef Base::value_type | Bucket |
Public Member Functions | |
SBucketFactory (const ring r) | |
~SBucketFactory () | |
Bucket | getBucket (const ring r, const bool remove=true) |
void | putBucket (const Bucket &bt, const bool replace=false) |
Private Types | |
typedef std::stack< sBucket_pt > | Base |
Private Member Functions | |
SBucketFactory () | |
SBucketFactory (const SBucketFactory &) | |
void | operator= (const SBucketFactory &) |
Static Private Member Functions | |
static ring | _GetBucketRing (const Bucket &bt) |
get bucket ring More... | |
static bool | _IsBucketEmpty (const Bucket &bt) |
static Bucket | _CreateBucket (const ring r) |
inital allocation for new buckets More... | |
static void | _DestroyBucket (Bucket &bt) |
we only expect empty buckets to be left at the end for destructor bt will be set to NULL More... | |
Private Attributes | |
const ring | m_ring |
For debugging: all buckets are over the same ring... right?! More... | |
|
private |
Definition at line 77 of file syzextra.h.
typedef Base::value_type SBucketFactory::Bucket |
Definition at line 83 of file syzextra.h.
|
inline |
Definition at line 85 of file syzextra.h.
|
inline |
Definition at line 94 of file syzextra.h.
|
private |
|
private |
inital allocation for new buckets
|
staticprivate |
we only expect empty buckets to be left at the end for destructor bt will be set to NULL
Definition at line 101 of file syzextra.cc.
Definition at line 103 of file syzextra.h.
|
private |
Definition at line 135 of file syzextra.h.
|
private |
For debugging: all buckets are over the same ring... right?!
Definition at line 160 of file syzextra.h.