Top Interfaces Classes
[default module]

Package org.aspectj.weaver.tools.cache


Interface Summary

Modifier and TypeInterface and Description
public interface
CacheBacking

Interface for the backing to the cache; usually a file, but could be an in-memory backing for testing.

public interface
CacheFactory

Facility for overriding the default CacheKeyResolver and CacheBacking; an implementing factory must be set on the WeavedClassCache before the org.

public interface
CacheKeyResolver

Interface to allow alternate hashing schemes for weaved and generated classes.

Class Summary

Modifier and TypeClass and Description
public abstract class
AbstractCacheBacking

Basic "common" CacheBacking implementation

public abstract class
AbstractFileCacheBacking

Useful "common" functionality for caching to files

public abstract class
AbstractIndexedFileCacheBacking

Uses an index file to keep track of the cached entries

public abstract class
AsynchronousFileCacheBacking

Uses 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.

public class
CachedClassEntry

Represents a class which has been cached

public class
CachedClassReference

A typed reference to a cached class entry.

public class
CacheStatistics

Maintains some basic statistics on the class cache.

public class
DefaultCacheFactory

Default factory for creating the backing and resolving classes.

public class
DefaultCacheKeyResolver

Naive default class and classloader hashing implementation useful for some multi-classloader environments.

public class
DefaultFileCacheBacking

Naive File-Backed Class Cache with no expiry or application centric invalidation.

public class
FlatFileCacheBacking

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.

public class
GeneratedCachedClassHandler

Handler for generated classes; such as Shadowed closures, etc. This wraps the normal generated class handler with caching

public class
SimpleCache

Copyright (c) 2012 Contributors.

public class
public class
WeavedClassCache

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).

public class
ZippedFileCacheBacking

Uses a ZIP file to store the instrumented classes/aspects - each one as a separate ZipEntry.