Class AbstractCacheBacking
java.lang.Object
org.aspectj.weaver.tools.cache.AbstractCacheBacking
- All Implemented Interfaces:
CacheBacking
- Direct Known Subclasses:
AbstractFileCacheBacking
Basic "common"
CacheBacking implementation-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic final longcrc(byte[] bytes) Calculates CRC32 on the provided bytesMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface CacheBacking
clear, get, getKeys, put, removeModifier and TypeMethodDescriptionvoidclear()Clear the entire cacheget(CachedClassReference ref, byte[] originalBytes) Get a cache entryString[]Return a list of keys which match the given regex.voidput(CachedClassEntry entry, byte[] originalBytes) Put an entry in the cachevoidRemove an entry from the cache
-
Field Details
-
logger
-
-
Constructor Details
-
AbstractCacheBacking
protected AbstractCacheBacking()
-
-
Method Details
-
crc
public static final long crc(byte[] bytes) Calculates CRC32 on the provided bytes- Parameters:
bytes- The bytes array - ignored ifnull/empty- Returns:
- Calculated CRC
- See Also:
-