Class ClassCache

java.lang.Object
org.jppf.server.nio.classloader.ClassCache

public class ClassCache extends Object
A cache for resources loaded by client class loaders.
Author:
Laurent Cohen
  • Constructor Details

    • ClassCache

      public ClassCache()
  • Method Details

    • setCacheContent

      public void setCacheContent(String uuid, String name, byte[] content)
      Add a resource content to the class cache.
      Parameters:
      uuid - uuid of the resource provider.
      name - name of the resource.
      content - content of the resource.
    • getCacheContent

      public byte[] getCacheContent(String uuid, String name)
      Get a resource definition from the resource cache.
      Parameters:
      uuid - uuid of the resource provider.
      name - name of the resource.
      Returns:
      the content of the resource as an array of bytes.