Package com.xpn.xwiki.cache.api
Interface XWikiCache
-
@Deprecated public interface XWikiCache
Deprecated.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description void
cancelUpdate(String key)
Deprecated.void
flushAll()
Deprecated.void
flushEntry(String key)
Deprecated.Object
getFromCache(String key)
Deprecated.Object
getFromCache(String key, int refeshPeriod)
Deprecated.int
getNumberEntries()
Deprecated.void
putInCache(String key, Object obj)
Deprecated.void
setCapacity(int capacity)
Deprecated.
-
-
-
Method Detail
-
setCapacity
void setCapacity(int capacity)
Deprecated.
-
flushEntry
void flushEntry(String key)
Deprecated.
-
getFromCache
Object getFromCache(String key) throws XWikiCacheNeedsRefreshException
Deprecated.- Throws:
XWikiCacheNeedsRefreshException
-
getFromCache
Object getFromCache(String key, int refeshPeriod) throws XWikiCacheNeedsRefreshException
Deprecated.- Throws:
XWikiCacheNeedsRefreshException
-
getNumberEntries
int getNumberEntries()
Deprecated.
-
cancelUpdate
void cancelUpdate(String key)
Deprecated.
-
flushAll
void flushAll()
Deprecated.
-
-