Class MapPreparedParamCache

java.lang.Object
org.smartparam.engine.cache.MapCache<PreparedParameter>
org.smartparam.engine.cache.MapPreparedParamCache
All Implemented Interfaces:
PreparedParamCache

public class MapPreparedParamCache extends MapCache<PreparedParameter> implements PreparedParamCache
Implementation of PreparedParamCache based on concurrent HashMap version. Functions stored in this cache do not expire until method MapCache.invalidate(java.lang.String) will be called.
Since:
1.0.0
Version:
1.0.8
Author:
Przemek Hertel
  • Constructor Details

    • MapPreparedParamCache

      public MapPreparedParamCache()
  • Method Details

    • invalidate

      public void invalidate(int pid)
      will remove: - each parameter with id = [pid] - each slave parameter with mid = [pid]
      Specified by:
      invalidate in interface PreparedParamCache
      Parameters:
      pid - entry id