Interface CacheStoreFactory


public interface CacheStoreFactory
Cache store factory.
  • Method Summary

    Modifier and Type
    Method
    Description
    <K, V> CacheStore<K,V>
    create(Class<K> keyCls, Class<V> valCls)
    Create a cache store suitable to work with given key and value types.
  • Method Details

    • create

      <K, V> CacheStore<K,V> create(Class<K> keyCls, Class<V> valCls)
      Create a cache store suitable to work with given key and value types.
      Type Parameters:
      K - Key type.
      V - Value type.
      Parameters:
      keyCls - Key class.
      valCls - Value class.
      Returns:
      The cache store instance.