Monotone-Parent: 77ad8a694cd0c4e8f61d9c0ba6162d0d8340c0e7

Monotone-Revision: d102adf292e54c9c4f3572b83e38879d24b721d0

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2011-11-18T15:14:31
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2011-11-18 15:14:31 +00:00
parent a4cdda510c
commit 5eccd63a2b
3 changed files with 12 additions and 0 deletions

View File

@@ -1,3 +1,8 @@
2011-11-18 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* SoObjects/SOGo/SOGoCache.m (-disableLocalCache): new method to
disable the local cache altogether (helper for non-WO access).
2011-11-17 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* OpenChange/MAPIStoreSamDBUtils.m: new module containing helpers

View File

@@ -54,6 +54,7 @@
+ (SOGoCache *) sharedCache;
- (void) disableRequestsCache;
- (void) disableLocalCache;
- (void) killCache;

View File

@@ -154,6 +154,12 @@ static memcached_st *handle = NULL;
requestsCacheEnabled = NO;
}
- (void) disableLocalCache
{
[localCache release];
localCache = nil;
}
- (void) killCache
{
[cache removeAllObjects];