Class AbstractCache<K,V,E>

java.lang.Object
org.sql2o.tools.AbstractCache<K,V,E>

public abstract class AbstractCache<K,V,E> extends Object
just inherit and implement evaluate User: dimzon Date: 4/6/14 Time: 10:35 PM
  • Constructor Details

    • AbstractCache

      public AbstractCache(Map<K,V> map)
      Parameters:
      map - - allows to define your own map implementation
    • AbstractCache

      public AbstractCache()
  • Method Details

    • get

      public V get(K key, E param)
    • evaluate

      protected abstract V evaluate(K key, E param)