proxygen
folly::detail::NodeRecycler< NodeType, NodeAlloc, typename std::enable_if< NodeType::template DestroyIsNoOp< NodeAlloc >::value >::type > Class Template Reference

#include <ConcurrentSkipList-inl.h>

Public Member Functions

 NodeRecycler (const NodeAlloc &alloc)
 
void addRef ()
 
void releaseRef ()
 
void add (NodeType *)
 
NodeAlloc & alloc ()
 

Private Attributes

NodeAlloc alloc_
 

Detailed Description

template<typename NodeType, typename NodeAlloc>
class folly::detail::NodeRecycler< NodeType, NodeAlloc, typename std::enable_if< NodeType::template DestroyIsNoOp< NodeAlloc >::value >::type >

Definition at line 354 of file ConcurrentSkipList-inl.h.

Constructor & Destructor Documentation

template<typename NodeType , typename NodeAlloc >
folly::detail::NodeRecycler< NodeType, NodeAlloc, typename std::enable_if< NodeType::template DestroyIsNoOp< NodeAlloc >::value >::type >::NodeRecycler ( const NodeAlloc &  alloc)
inlineexplicit

Member Function Documentation

template<typename NodeType , typename NodeAlloc >
void folly::detail::NodeRecycler< NodeType, NodeAlloc, typename std::enable_if< NodeType::template DestroyIsNoOp< NodeAlloc >::value >::type >::add ( NodeType *  )
inline

Definition at line 365 of file ConcurrentSkipList-inl.h.

365 {}
template<typename NodeType , typename NodeAlloc >
void folly::detail::NodeRecycler< NodeType, NodeAlloc, typename std::enable_if< NodeType::template DestroyIsNoOp< NodeAlloc >::value >::type >::addRef ( )
inline

Definition at line 362 of file ConcurrentSkipList-inl.h.

362 {}
template<typename NodeType , typename NodeAlloc >
NodeAlloc& folly::detail::NodeRecycler< NodeType, NodeAlloc, typename std::enable_if< NodeType::template DestroyIsNoOp< NodeAlloc >::value >::type >::alloc ( )
inline
template<typename NodeType , typename NodeAlloc >
void folly::detail::NodeRecycler< NodeType, NodeAlloc, typename std::enable_if< NodeType::template DestroyIsNoOp< NodeAlloc >::value >::type >::releaseRef ( )
inline

Definition at line 363 of file ConcurrentSkipList-inl.h.

363 {}

Member Data Documentation

template<typename NodeType , typename NodeAlloc >
NodeAlloc folly::detail::NodeRecycler< NodeType, NodeAlloc, typename std::enable_if< NodeType::template DestroyIsNoOp< NodeAlloc >::value >::type >::alloc_
private

Definition at line 372 of file ConcurrentSkipList-inl.h.


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