Interface GroovyEngine.Cloner

Enclosing class:
GroovyEngine

public static interface GroovyEngine.Cloner
Strategy used to clone session values for completion and inspection workflows.
  • Method Summary

    Modifier and Type
    Method
    Description
    Creates a copy of the given object.
    void
    Marks the current state of the cache.
    void
    Purges cache entries created since the last mark.
  • Method Details

    • clone

      Object clone(Object obj)
      Creates a copy of the given object.
      Parameters:
      obj - the object to clone
      Returns:
      a copy of the object
    • markCache

      void markCache()
      Marks the current state of the cache.
    • purgeCache

      void purgeCache()
      Purges cache entries created since the last mark.