public enum CacheType extends Enum<CacheType>
| Modifier and Type | Method and Description |
|---|---|
<K extends ScopeCacheKey,V extends Serializable> |
createFutureCache(org.exoplatform.services.cache.ExoCache<K,V> cache) |
<K extends ScopeCacheKey,V extends Serializable> |
getFromService(org.exoplatform.services.cache.CacheService service) |
static CacheType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CacheType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CacheType CATEGORY_DATA
public static final CacheType CATEGORY_LIST
public static final CacheType FORUM_DATA
public static final CacheType FORUM_LIST
public static final CacheType TOPIC_DATA
public static final CacheType TOPIC_LIST
public static final CacheType TOPIC_LIST_COUNT
public static final CacheType USER_PROFILE_DATA
public static final CacheType USER_PROFILE_LIST
public static final CacheType USER_PROFILE_LIST_COUNT
public static final CacheType LOGIN_USER_PROFILE
public static final CacheType POST_DATA
public static final CacheType POST_LIST
public static final CacheType POST_LIST_COUNT
public static final CacheType WATCH_LIST_DATA
public static final CacheType LINK_LIST_DATA
public static final CacheType OBJECT_NAME_DATA
public static final CacheType MISC_DATA
public static final CacheType FAQ_MARKUP
public static final CacheType POLL_DATA
public static final CacheType POLL_LIST
public static final CacheType POLL_SUMMARY_DATA
public static final CacheType BBCODE_DATA
public static final CacheType LIST_BBCODE_DATA
public static CacheType[] values()
for (CacheType c : CacheType.values()) System.out.println(c);
public static CacheType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic <K extends ScopeCacheKey,V extends Serializable> org.exoplatform.services.cache.ExoCache<K,V> getFromService(org.exoplatform.services.cache.CacheService service)
public <K extends ScopeCacheKey,V extends Serializable> org.exoplatform.services.cache.future.FutureExoCache<K,V,ServiceContext<V>> createFutureCache(org.exoplatform.services.cache.ExoCache<K,V> cache)
Copyright © 2003–2018 eXo Platform SAS. All rights reserved.