Enum Class CacheType

java.lang.Object
java.lang.Enum<CacheType>
org.exoplatform.social.core.storage.cache.CacheType
All Implemented Interfaces:
Serializable, Comparable<CacheType>, Constable

public enum CacheType extends Enum<CacheType>
Version:
$Revision$
Author:
Alain Defrance
  • Enum Constant Details

    • IDENTITY

      public static final CacheType IDENTITY
    • IDENTITY_INDEX

      public static final CacheType IDENTITY_INDEX
    • PROFILE

      public static final CacheType PROFILE
    • IDENTITIES_COUNT

      public static final CacheType IDENTITIES_COUNT
    • IDENTITIES

      public static final CacheType IDENTITIES
    • PROFILE_AVATAR

      public static final CacheType PROFILE_AVATAR
    • RELATIONSHIP

      public static final CacheType RELATIONSHIP
    • RELATIONSHIP_FROM_IDENTITY

      public static final CacheType RELATIONSHIP_FROM_IDENTITY
    • RELATIONSHIPS_COUNT

      public static final CacheType RELATIONSHIPS_COUNT
    • RELATIONSHIPS

      public static final CacheType RELATIONSHIPS
    • SUGGESTIONS

      public static final CacheType SUGGESTIONS
    • ACTIVITY

      public static final CacheType ACTIVITY
    • ACTIVITIES_COUNT

      public static final CacheType ACTIVITIES_COUNT
    • ACTIVITIES

      public static final CacheType ACTIVITIES
    • ACTIVITY_REF

      public static final CacheType ACTIVITY_REF
    • ACTIVITIES_REF_COUNT

      public static final CacheType ACTIVITIES_REF_COUNT
    • ACTIVITIES_REF

      public static final CacheType ACTIVITIES_REF
    • SPACE

      public static final CacheType SPACE
    • SPACE_REF

      public static final CacheType SPACE_REF
    • SPACES_COUNT

      public static final CacheType SPACES_COUNT
    • SPACES

      public static final CacheType SPACES
    • SPACE_SIMPLE

      public static final CacheType SPACE_SIMPLE
  • Method Details

    • values

      public static CacheType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static CacheType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getFromService

      public <K extends CacheKey, V extends Serializable> org.exoplatform.services.cache.ExoCache<K,V> getFromService(org.exoplatform.services.cache.CacheService service)
    • createFutureCache

      public <K extends CacheKey, V extends Serializable> org.exoplatform.commons.cache.future.FutureExoCache<K,V,ServiceContext<V>> createFutureCache(org.exoplatform.services.cache.ExoCache<K,V> cache)