Interface Op<V>

  • Method Summary

    Modifier and Type
    Method
    Description
    Runs the Op.
    List<Op<?>>
    Returns a list of Ops on which this Op depends.
    Returns the current cache key for this Op.
    void
    Invalidates the current cache key for this Op.
  • Method Details

    • eval

      V eval() throws Exception
      Runs the Op. This method should be called only by the caching framework.
      Returns:
      the result of running this Op
      Throws:
      Exception
    • getSources

      List<Op<?>> getSources()
      Returns a list of Ops on which this Op depends.
      Returns:
      the Ops on which this Op depends
    • newKey

      OpCache.Key<V> newKey()
      Returns the current cache key for this Op.
      Returns:
      the current cache key for this Op
    • update

      void update()
      Invalidates the current cache key for this Op.