Enum Class CacheName

java.lang.Object
java.lang.Enum<CacheName>
net.flectone.pulse.constant.CacheName
All Implemented Interfaces:
Serializable, Comparable<CacheName>, Constable

public enum CacheName extends Enum<CacheName>
Names the caches the plugin keeps, so each can be sized, read and invalidated on its own.
  • Enum Constant Details

    • ANIMATION

      public static final CacheName ANIMATION
    • COOLDOWN

      public static final CacheName COOLDOWN
    • DIALOG_CLICK

      public static final CacheName DIALOG_CLICK
    • OFFLINE_PLAYERS

      public static final CacheName OFFLINE_PLAYERS
    • MESSAGE_CONTEXT

      public static final CacheName MESSAGE_CONTEXT
    • MODERATION

      public static final CacheName MODERATION
    • EXTERNAL_MODERATION

      public static final CacheName EXTERNAL_MODERATION
    • ICU_MESSAGE

      public static final CacheName ICU_MESSAGE
    • IMAGE_PIXELS

      public static final CacheName IMAGE_PIXELS
    • LEGACY_COLOR_MESSAGE

      public static final CacheName LEGACY_COLOR_MESSAGE
    • MENTION_MESSAGE

      public static final CacheName MENTION_MESSAGE
    • SWEAR_MESSAGE

      public static final CacheName SWEAR_MESSAGE
    • REPLACEMENT_MESSAGE

      public static final CacheName REPLACEMENT_MESSAGE
    • REPLACEMENT_IMAGE

      public static final CacheName REPLACEMENT_IMAGE
    • TRANSLATE_MESSAGE

      public static final CacheName TRANSLATE_MESSAGE
    • PROFILE_PROPERTY

      public static final CacheName PROFILE_PROPERTY
    • PLAYTIME

      public static final CacheName PLAYTIME
    • PLAYER_COLOR

      public static final CacheName PLAYER_COLOR
    • PLAYER_SETTING

      public static final CacheName PLAYER_SETTING
    • PLAYER_IGNORE

      public static final CacheName PLAYER_IGNORE
  • Method Details

    • values

      public static CacheName[] 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 CacheName 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