Uses of Package
org.aspectj.weaver.tools.cache
Package
Description
-
-
ClassDescriptionManages 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).
-
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 asynchronouslyBase 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.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.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
.