Class NoOpFieldCache

java.lang.Object
org.apache.nifi.repository.schema.NoOpFieldCache
All Implemented Interfaces:
FieldCache

public class NoOpFieldCache extends Object implements FieldCache
  • Constructor Details

    • NoOpFieldCache

      public NoOpFieldCache()
  • Method Details

    • cache

      public String cache(String value)
      Description copied from interface: FieldCache
      Check 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:
      cache in interface FieldCache
      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: FieldCache
      Clears the cache
      Specified by:
      clear in interface FieldCache