Klasse AbstractFileCacheBacking

java.lang.Object
org.aspectj.weaver.tools.cache.AbstractCacheBacking
org.aspectj.weaver.tools.cache.AbstractFileCacheBacking
Alle implementierten Schnittstellen:
CacheBacking
Bekannte direkte Unterklassen:
AbstractIndexedFileCacheBacking

public abstract class AbstractFileCacheBacking extends AbstractCacheBacking
Useful "common" functionality for caching to files
  • Felddetails

    • WEAVED_CLASS_CACHE_DIR

      public static final String WEAVED_CLASS_CACHE_DIR
      Default property used to specify a default weaving cache dir location
      Siehe auch:
  • Konstruktordetails

    • AbstractFileCacheBacking

      protected AbstractFileCacheBacking(File cacheDirectory)
  • Methodendetails

    • getCacheDirectory

      public File getCacheDirectory()
    • writeClassBytes

      protected void writeClassBytes(String key, byte[] bytes) throws Exception
      Löst aus:
      Exception
    • delete

      protected void delete(File file)
    • close

      protected void close(OutputStream out, File file)
    • close

      protected void close(InputStream in, File file)