Class TestCacheValueLoader

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getLoads()  
      java.lang.Object getVal()  
      java.lang.Object load​(CacheKey key)
      Used by cache region to load missing value.
      This method does not have to be thread safe.
      If CacheValueLoadException thrown unit is not added to cache.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TestCacheValueLoader

        public TestCacheValueLoader()
      • TestCacheValueLoader

        public TestCacheValueLoader​(java.lang.Object val)