Top Description Fields Constructors Methods
org.aspectj.weaver.tools.cache

public abstract Class AbstractCacheBacking

extends Object
implements CacheBacking
Class Inheritance
All Implemented Interfaces
org.aspectj.weaver.tools.cache.CacheBacking
Known Direct Subclasses
org.aspectj.weaver.tools.cache.AbstractFileCacheBacking
Imports
java.util.zip.CRC32, org.aspectj.weaver.tools.Trace, .TraceFactory

Basic "common" CacheBacking implementation

Field Summary

Modifier and TypeField and Description
protected final Trace

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public static final long

Returns:

Calculated CRC
crc
(byte[]
The bytes array - ignored if null/empty
bytes
)

Calculates CRC32 on the provided bytes

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

loggerback to summary
protected final Trace logger

Constructor Detail

AbstractCacheBackingback to summary
protected AbstractCacheBacking()

Method Detail

crcback to summary
public static final long crc(byte[] bytes)

Calculates CRC32 on the provided bytes

Parameters
bytes:byte[]

The bytes array - ignored if null/empty

Returns:long

Calculated CRC

See Also
CRC32