Package org.aspectj.weaver.tools.cache
package org.aspectj.weaver.tools.cache
-
ClassDescriptionBasic "common"
CacheBacking
implementationUseful "common" functionality for caching to filesUses anindex
file to keep track of the cached entriesThe default index entry in the index fileUses a background thread to do the actual I/O and for caching "persistence" so that the caching works faster on repeated activations of the application.Represents an asynchronous command that can be sent to theAsynchronousFileCacheBacking
instance to be executed on it asynchronouslyAsynchronousFileCacheBacking.AsynchronousFileCacheBackingCreator<T extends AsynchronousFileCacheBacking>Base class forAsynchronousFileCacheBacking.AbstractCommand
s that refer to a cache keyInterface for the backing to the cache; usually a file, but could be an in-memory backing for testing.Represents a class which has been cachedA typed reference to a cached class entry.Facility for overriding the default CacheKeyResolver and CacheBacking; an implementing factory must be set on theWeavedClassCache
before theWeavingAdaptor
is configured.Interface to allow alternate hashing schemes for weaved and generated classes.Maintains some basic statistics on the class cache.Default factory for creating the backing and resolving classes.Naive default class and classloader hashing implementation useful for some multi-classloader environments.Naive File-Backed Class Cache with no expiry or application centric invalidation.Uses a "flat" files model to store the cached instrumented classes and aspects - i.e., each class/aspect is stored as a separate (binary) file.Handler for generated classes; such as Shadowed closures, etc.Copyright (c) 2012 Contributors.Manages a cache of weaved and generated classes similar to Eclipse Equinox, except designed to operate across multiple restarts of the JVM and with one cache per classloader; allowing URLClassLoaders with the same set of URI paths to share the same cache (with the default configuration).Uses a ZIP file to store the instrumented classes/aspects - each one as a separateZipEntry
.