Class RuntimeConfigCache

java.lang.Object
com.turbospaces.ebean.RuntimeConfigCache
All Implemented Interfaces:
LocalCache, io.ebean.cache.ServerCache

public class RuntimeConfigCache extends Object implements LocalCache
  • Constructor Details

    • RuntimeConfigCache

      public RuntimeConfigCache(com.netflix.archaius.config.DefaultSettableConfig cfg)
  • Method Details

    • get

      public Object get(Object id)
      Specified by:
      get in interface io.ebean.cache.ServerCache
    • put

      public void put(Object id, Object value)
      Specified by:
      put in interface io.ebean.cache.ServerCache
    • remove

      public void remove(Object id)
      Specified by:
      remove in interface io.ebean.cache.ServerCache
    • clear

      public void clear()
      Specified by:
      clear in interface io.ebean.cache.ServerCache
    • onClear

      public int onClear()
      Specified by:
      onClear in interface LocalCache
    • size

      public int size()
      Specified by:
      size in interface io.ebean.cache.ServerCache
    • getHitRatio

      public int getHitRatio()
      Specified by:
      getHitRatio in interface io.ebean.cache.ServerCache
    • getStatistics

      public io.ebean.cache.ServerCacheStatistics getStatistics(boolean reset)
      Specified by:
      getStatistics in interface io.ebean.cache.ServerCache