Interface CachePutPlugin


public interface CachePutPlugin
  • Method Summary

    Modifier and Type
    Method
    Description
    Optional<ddf.catalog.data.Metacard>
    process(ddf.catalog.data.Metacard metacard)
    Modify (optional) a metacard prior to being put into the cache.
  • Method Details

    • process

      Optional<ddf.catalog.data.Metacard> process(ddf.catalog.data.Metacard metacard)
      Modify (optional) a metacard prior to being put into the cache. Implementations are not required to return the same metacard instance. Return Optional.empty() if the metacard should not be put into the cache.
      Parameters:
      metacard - the metacard to be modified
      Returns:
      the modifed metacard or Optional.empty()