org.aspectj.weaver.tools.cache
Class AbstractCacheBacking

java.lang.Object
  extended by org.aspectj.weaver.tools.cache.AbstractCacheBacking
All Implemented Interfaces:
CacheBacking
Direct Known Subclasses:
AbstractFileCacheBacking

public abstract class AbstractCacheBacking
extends java.lang.Object
implements CacheBacking

Basic "common" CacheBacking implementation


Field Summary
protected  Trace logger
           
 
Constructor Summary
protected AbstractCacheBacking()
           
 
Method Summary
static long crc(byte[] bytes)
          Calculates CRC32 on the provided bytes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.aspectj.weaver.tools.cache.CacheBacking
clear, get, getKeys, put, remove
 

Field Detail

logger

protected final Trace logger
Constructor Detail

AbstractCacheBacking

protected AbstractCacheBacking()
Method Detail

crc

public static final long crc(byte[] bytes)
Calculates CRC32 on the provided bytes

Parameters:
bytes - The bytes array - ignored if null/empty
Returns:
Calculated CRC
See Also:
CRC32}