Class Cache

    • Constructor Detail

      • Cache

        public Cache()
      • Cache

        public Cache​(Cache source)
        NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
    • Method Detail

      • getSwitch

        public String getSwitch()
        Get 缓存配置开关,取值有:
      • on:开启;
      • off:关闭。
Returns:
Switch 缓存配置开关,取值有:
  • on:开启;
  • off:关闭。
  • Parameters:
    Switch - 缓存配置开关,取值有:
  • on:开启;
  • off:关闭。