类 SqlCachedHsqldbImpl

java.lang.Object
com.gdxsoft.easyweb.cache.SqlCachedHsqldbImpl
所有已实现的接口:
ISqlCached

public class SqlCachedHsqldbImpl extends Object implements ISqlCached
  • 字段详细资料

    • CONN_STR

      public static String CONN_STR
    • DEBUG

      public static Boolean DEBUG
  • 构造器详细资料

    • SqlCachedHsqldbImpl

      public SqlCachedHsqldbImpl()
  • 方法详细资料

    • getInstance

      public static SqlCachedHsqldbImpl getInstance()
    • add

      public boolean add(String key, String value)
      Add a cache
      指定者:
      add 在接口中 ISqlCached
      参数:
      key - the cache key
      value - the cache value
      返回:
      successful
    • add

      public boolean add(String key, String value, String memo)
      Add a cache
      指定者:
      add 在接口中 ISqlCached
      参数:
      key - the cache key
      value - the cache value
      memo - the cache memo
      返回:
      successful
    • add

      public boolean add(String key, byte[] value, String memo)
      Cached a binary data
      指定者:
      add 在接口中 ISqlCached
      参数:
      key - the cached key
      value - the cached value
      memo - the cached memo
      返回:
      successful
    • add

      public boolean add(String key, byte[] value)
      Cached a binary data
      指定者:
      add 在接口中 ISqlCached
      参数:
      key - the cached key
      value - the cached value
      返回:
      successful
    • getBinary

      public SqlCachedValue getBinary(String key)
      Get a binary data
      指定者:
      getBinary 在接口中 ISqlCached
      参数:
      key - the cached key
      返回:
    • getText

      public SqlCachedValue getText(String key)
      Get a text data
      指定者:
      getText 在接口中 ISqlCached
      参数:
      key - the cached key
      返回:
    • get

      public SqlCachedValue get(String key, String type)
      Get a cached object
      指定者:
      get 在接口中 ISqlCached
      参数:
      key - the cached key
      type - the cached type(BIN/ TEXT)
      返回:
    • remove

      public boolean remove(String key, String type)
      删除单个缓存
      指定者:
      remove 在接口中 ISqlCached
      参数:
      key -
      type -
      返回:
    • removes

      public boolean removes(String[] keys, String type)
      删除多个缓存
      指定者:
      removes 在接口中 ISqlCached
      参数:
      keys -
      type -
      返回:
    • createTable

      public static boolean createTable(String tableName, List<String> sqlCreates)
      如果不存在则创建表
      参数:
      tableName -
      sqlCreate -
      返回: