public class TestCacheValueLoader extends java.lang.Object implements CacheValueLoader
| Constructor and Description |
|---|
TestCacheValueLoader() |
TestCacheValueLoader(java.lang.Object val) |
| Modifier and Type | Method and 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. |
public TestCacheValueLoader()
public TestCacheValueLoader(java.lang.Object val)
public java.lang.Object load(CacheKey key) throws CacheValueLoadException
CacheValueLoaderload in interface CacheValueLoaderCacheValueLoadExceptionpublic int getLoads()
public java.lang.Object getVal()
Copyright © 2018 SAP SE. All Rights Reserved.