public class NamedValueCacheImpl extends Object implements NamedValueCache
NamedValueCache used to cache NamedValue objects| Constructor and Description |
|---|
NamedValueCacheImpl(DataProvider dataProvider,
SdkTaskScheduler scheduler)
Initializes a new instance of
NamedValueCacheImpl |
| Modifier and Type | Method and Description |
|---|---|
NamedValue |
getNamedValue(int id)
Gets the
NamedValue specified by the provided id |
boolean |
isValueDefined(int id)
Determines if the specified
id exists in the current cache instance |
public NamedValueCacheImpl(DataProvider dataProvider, SdkTaskScheduler scheduler)
NamedValueCacheImpldataProvider - - the DataProvider which is used to retrieve NamedValuescheduler - - the SdkTaskScheduler used to perform repeating cache taskspublic NamedValue getNamedValue(int id)
NamedValue specified by the provided idgetNamedValue in interface NamedValueCacheid - - the id of the NamedValue to retrieve.NamedValue specified by the provided idpublic boolean isValueDefined(int id)
id exists in the current cache instanceisValueDefined in interface NamedValueCacheid - - the id that should be checkedtrue if the value is defined; otherwise falseCopyright © 2016–2025. All rights reserved.