Class NoOpFieldCache
java.lang.Object
org.apache.nifi.repository.schema.NoOpFieldCache
- All Implemented Interfaces:
FieldCache
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
NoOpFieldCache
public NoOpFieldCache()
-
-
Method Details
-
cache
Description copied from interface:FieldCacheCheck if the given value already exists in the cache and if so returns it. If the value does not already exist in the cache, adds the given value to the cache, evicting an existing entry(ies) if necessary- Specified by:
cachein interfaceFieldCache- Parameters:
value- the value to cache- Returns:
- the canonical representation of the value that should be used
-
clear
public void clear()Description copied from interface:FieldCacheClears the cache- Specified by:
clearin interfaceFieldCache
-