类 DSContext2

java.lang.Object
com.sh.javax.util.DSContext2

public class DSContext2 extends Object
Description: 二级缓存(目前还不能使用,研发平台正常,但是在具体使用的时候缓存时出现不明原因的虚拟机内部错误java.lang.InternalError) 改为序列化Datastore对象中的关键属性,故重新启用二级缓存 Title:首亨软件 - CRM、TSS、ERP等信息化管理软件
  • 构造器详细资料

    • DSContext2

      public DSContext2()
  • 方法详细资料

    • put

      public static void put(String key, Datastore ds)
      缓存对象
      参数:
      key - String
      ds - Datastore
    • get

      public static Datastore get(String key)
      获取缓存变量
      参数:
      key - String
      返回:
      Datastore
    • updateTable

      public static void updateTable(String tableName)
      刷新表对应的缓存
      参数:
      tableName - 表名
    • clear

      public static void clear(String key)
      清空缓存
      参数:
      key - String
    • clearCache

      public static void clearCache()
    • clear

      public static void clear()
      清空所有缓存