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

      • getSimpleCache

        public SimpleCache getSimpleCache()
        Get 基础缓存过期时间配置 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        SimpleCache 基础缓存过期时间配置 注意:此字段可能返回 null,表示取不到有效值。
      • setSimpleCache

        public void setSimpleCache​(SimpleCache SimpleCache)
        Set 基础缓存过期时间配置 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        SimpleCache - 基础缓存过期时间配置 注意:此字段可能返回 null,表示取不到有效值。
      • getAdvancedCache

        public AdvancedCache getAdvancedCache()
        Get 高级缓存过期时间配置(已弃用) 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        AdvancedCache 高级缓存过期时间配置(已弃用) 注意:此字段可能返回 null,表示取不到有效值。
      • setAdvancedCache

        public void setAdvancedCache​(AdvancedCache AdvancedCache)
        Set 高级缓存过期时间配置(已弃用) 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        AdvancedCache - 高级缓存过期时间配置(已弃用) 注意:此字段可能返回 null,表示取不到有效值。
      • getRuleCache

        public RuleCache[] getRuleCache()
        Get 高级路径缓存配置 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        RuleCache 高级路径缓存配置 注意:此字段可能返回 null,表示取不到有效值。
      • setRuleCache

        public void setRuleCache​(RuleCache[] RuleCache)
        Set 高级路径缓存配置 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        RuleCache - 高级路径缓存配置 注意:此字段可能返回 null,表示取不到有效值。