#include <CachedFactory.h>
Public Member Functions | |
void | setMaxCreation (unsigned maxCreation) |
Protected Member Functions | |
AmountLimitedCreation () | |
bool | canCreate () |
void | onCreate () |
void | onDestroy () |
const char * | name () |
This implementation will prevent from Creating more than maxCreation objects within byTime ms by calling eviction policy. Use the setRate method to set the rate parameters. default is 10 objects.
Definition at line 253 of file CachedFactory.h.