Interface ManifestNodeCache.NodeDataFactory<T>

Enclosing class:
ManifestNodeCache<T>

public static interface ManifestNodeCache.NodeDataFactory<T>
Interface to create a new data object in the event of a cache miss in the ManifestNodeCache .
Since:
9
Version:
9
  • Method Summary

    Modifier and Type
    Method
    Description
    Called when a nodeId is not currently in the cache and the nodeId is verified to be part of the running manifest.
  • Method Details

    • createNodeData

      T createNodeData(NodeId nodeId)
      Called when a nodeId is not currently in the cache and the nodeId is verified to be part of the running manifest.
      Parameters:
      nodeId -
      Returns:
      the new data entry for the cache
      Since:
      9