Class FunctionCacheEntry

  • All Implemented Interfaces:
    java.lang.AutoCloseable

    public class FunctionCacheEntry
    extends java.lang.Object
    implements java.lang.AutoCloseable
    A cache entry in the function cache. Tracks which workers still reference the dependencies. Once none reference it any more, the class loaders will be cleaned up.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      void register​(java.lang.String eid, java.util.Collection<java.lang.String> requiredJarFiles, java.util.Collection<java.net.URL> requiredClassPaths)  
      boolean unregister​(java.lang.String eid)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • JAVA_INSTANCE_JAR_PROPERTY

        public static final java.lang.String JAVA_INSTANCE_JAR_PROPERTY
        See Also:
        Constant Field Values
    • Method Detail

      • register

        public void register​(java.lang.String eid,
                             java.util.Collection<java.lang.String> requiredJarFiles,
                             java.util.Collection<java.net.URL> requiredClassPaths)
      • unregister

        public boolean unregister​(java.lang.String eid)
      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable