Class CacheSettings

java.lang.Object
org.highlife.api.settings.CacheSettings

public class CacheSettings extends Object
  • Field Details

    • NPC_CACHE_TIMER

      public static String NPC_CACHE_TIMER
    • GAME_OBJECTS_CACHE_TIMER

      public static String GAME_OBJECTS_CACHE_TIMER
    • GROUND_ITEM_CACHE_TIMER

      public static String GROUND_ITEM_CACHE_TIMER
    • WIDGET_CACHE_TIMER

      public static String WIDGET_CACHE_TIMER
    • PLAYER_CACHE_TIMER

      public static String PLAYER_CACHE_TIMER
    • WORLD_CACHE_TIMER

      public static String WORLD_CACHE_TIMER
  • Constructor Details

    • CacheSettings

      public CacheSettings()
  • Method Details

    • setCacheTimer

      public static void setCacheTimer(String key, Integer cacheTime)
    • getCacheTime

      public static int getCacheTime(String key)
    • resetToDefaults

      public static void resetToDefaults()