Enum DataID

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<DataID>

    public enum DataID
    extends java.lang.Enum<DataID>
    Enum for different JSON data entries that can be stored in cache.
    • Enum Constant Detail

      • PLAYERS

        public static final DataID PLAYERS
      • SESSIONS

        public static final DataID SESSIONS
      • SERVERS

        public static final DataID SERVERS
      • KILLS

        public static final DataID KILLS
      • PING_TABLE

        public static final DataID PING_TABLE
      • GRAPH_PERFORMANCE

        public static final DataID GRAPH_PERFORMANCE
      • GRAPH_OPTIMIZED_PERFORMANCE

        public static final DataID GRAPH_OPTIMIZED_PERFORMANCE
      • GRAPH_ONLINE

        public static final DataID GRAPH_ONLINE
      • GRAPH_UNIQUE_NEW

        public static final DataID GRAPH_UNIQUE_NEW
      • GRAPH_HOURLY_UNIQUE_NEW

        public static final DataID GRAPH_HOURLY_UNIQUE_NEW
      • GRAPH_CALENDAR

        public static final DataID GRAPH_CALENDAR
      • GRAPH_WORLD_PIE

        public static final DataID GRAPH_WORLD_PIE
      • GRAPH_WORLD_MAP

        public static final DataID GRAPH_WORLD_MAP
      • GRAPH_ACTIVITY

        public static final DataID GRAPH_ACTIVITY
      • GRAPH_PING

        public static final DataID GRAPH_PING
      • GRAPH_SERVER_PIE

        public static final DataID GRAPH_SERVER_PIE
      • GRAPH_HOSTNAME_PIE

        public static final DataID GRAPH_HOSTNAME_PIE
      • GRAPH_PUNCHCARD

        public static final DataID GRAPH_PUNCHCARD
      • SERVER_OVERVIEW

        public static final DataID SERVER_OVERVIEW
      • ONLINE_OVERVIEW

        public static final DataID ONLINE_OVERVIEW
      • SESSIONS_OVERVIEW

        public static final DataID SESSIONS_OVERVIEW
      • PVP_PVE

        public static final DataID PVP_PVE
      • PLAYERBASE_OVERVIEW

        public static final DataID PLAYERBASE_OVERVIEW
      • PERFORMANCE_OVERVIEW

        public static final DataID PERFORMANCE_OVERVIEW
      • EXTENSION_NAV

        public static final DataID EXTENSION_NAV
      • EXTENSION_TABS

        public static final DataID EXTENSION_TABS
      • LIST_SERVERS

        public static final DataID LIST_SERVERS
    • Method Detail

      • values

        public static DataID[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (DataID c : DataID.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static DataID valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • of

        public java.lang.String of​(ServerUUID serverUUID)