Interface NamedValueCache
- All Known Implementing Classes:
NamedValueCacheImpl
public interface NamedValueCache
Defines the available methods used to handle
NamedValue caching-
Method Summary
Modifier and TypeMethodDescriptiongetNamedValue(int id) Gets theNamedValuespecified by the providedidbooleanisValueDefined(int id) Determines if the specifiedidexists in the current cache instance
-
Method Details
-
getNamedValue
Gets theNamedValuespecified by the providedid- Parameters:
id- - theidof theNamedValueto retrieve.- Returns:
- - the
NamedValuespecified by the providedid
-
isValueDefined
boolean isValueDefined(int id) Determines if the specifiedidexists in the current cache instance- Parameters:
id- - theidthat should be checked- Returns:
trueif the value is defined; otherwisefalse
-