|
Jive Forums API (5.5.20.2-oracle) Developer Javadocs | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jivesoftware.forum.util.AdminCacheInfo
public class AdminCacheInfo
A utility class for the Jive Forums admin console to handle Cache administration.
Nested Class Summary | |
---|---|
static class |
AdminCacheInfo.CacheWrapper
A simple class which wraps a standard Jive cache object. |
Field Summary | |
---|---|
static java.lang.String |
CACHE_MODE_COOKIE
Name of the cookie used to store the cache mode (simple or advanced). |
static int |
CUSTOM_PRESET
Constant for custom size cache preset. |
static int |
LARGE_PRESET
Constant for large cache preset. |
static int |
MEDIUM_PRESET
Constant for medium cache preset. |
static int |
SMALL_PRESET
Constant for small cache preset. |
Method Summary | |
---|---|
static void |
clearAllClusterCaches()
|
static java.lang.String |
getCacheMode(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Returns the cache mode (simple or advanced) currently set for the user. |
static int[] |
getCachePresets()
Returns an array of all available preset types. |
static Cache[] |
getCaches()
Returns an array of all caches in the system. |
static int |
getCurrentPreset()
Returns the current preset - either SMALL_PRESET , MEDIUM_PRESET ,
LARGE_PRESET , or CUSTOM_PRESET . |
static AdminCacheInfo.CacheWrapper[] |
getWrappedCaches()
Returns a list of caches in the system. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String CACHE_MODE_COOKIE
getCacheMode(HttpServletRequest, HttpServletResponse)
,
Constant Field Valuespublic static int SMALL_PRESET
public static int MEDIUM_PRESET
public static int LARGE_PRESET
public static int CUSTOM_PRESET
Method Detail |
---|
public static void clearAllClusterCaches()
public static java.lang.String getCacheMode(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
public static int[] getCachePresets()
public static AdminCacheInfo.CacheWrapper[] getWrappedCaches()
AdminCacheInfo.CacheWrapper
object.
public static Cache[] getCaches()
public static int getCurrentPreset()
SMALL_PRESET
, MEDIUM_PRESET
,
LARGE_PRESET
, or CUSTOM_PRESET
.
|
Jive Forums Project Page | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |