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