Home | History | Annotate | Download | only in common

Lines Matching refs:UnifiedCache

7 * File UNIFIEDCACHE.CPP 
12 #include "unifiedcache.h"
18 static icu::UnifiedCache *gCache = NULL;
77 gCache = new UnifiedCache(status);
93 UnifiedCache *UnifiedCache::getInstance(UErrorCode &status) {
102 UnifiedCache::UnifiedCache(UErrorCode &status) :
124 void UnifiedCache::setEvictionPolicy(
138 int32_t UnifiedCache::unusedCount() const {
143 int64_t UnifiedCache::autoEvictedCount() const {
148 int32_t UnifiedCache::keyCount() const {
153 void UnifiedCache::flush() const {
165 void UnifiedCache::dump() {
167 const UnifiedCache *cache = getInstance(status);
175 void UnifiedCache::dumpContents() const {
183 void UnifiedCache::_dumpContents() const {
209 UnifiedCache::~UnifiedCache() {
225 UnifiedCache::_nextElement() const {
240 UBool UnifiedCache::_flush(UBool all) const {
260 int32_t UnifiedCache::_computeCountOfItemsToEvict() const {
274 void UnifiedCache::_runEvictionSlice() const {
299 void UnifiedCache::_putNew(
331 void UnifiedCache::_putIfAbsentAndGet(
362 UBool UnifiedCache::_poll(
391 void UnifiedCache::_get(
419 void UnifiedCache::decrementItemsInUseWithLockingAndEviction() const {
425 void UnifiedCache::incrementItemsInUse() const {
429 void UnifiedCache::decrementItemsInUse() const {
438 void UnifiedCache::_registerMaster(
451 void UnifiedCache::_put(
473 UnifiedCache::copyPtr(const SharedObject *src, const SharedObject *&dest) {
486 UnifiedCache::clearPtr(const SharedObject *&ptr) {
501 void UnifiedCache::_fetch(
511 UnifiedCache::copyPtr((const SharedObject *) element->value.pointer, value);
516 UBool UnifiedCache::_inProgress(const UHashElement *element) {
525 UnifiedCache::clearPtr(value);
531 UBool UnifiedCache::_inProgress(
538 UBool UnifiedCache::_isEvictable(const UHashElement *element) {