/** * Sets all references to null. This method should be called * at the end of this object's life cycle. */ public void destroy() { if ((listeners != null) && (buckets != null) && (bucketLocks != null)) { clear(); listeners.clear(); } entryCountLk = null; hitCountLk = null; missCountLk = null; removalCountLk = null; refreshCountLk = null; addCountLk = null; overflowCountLk = null; buckets = null; bucketLocks = null; refreshFlags = null; listeners = null; }
/** * Sets all references to null. This method should be called * at the end of this object's life cycle. */ public void destroy() { if ((listeners != null) && (buckets != null) && (bucketLocks != null)) { clear(); listeners.clear(); } entryCountLk = null; hitCountLk = null; missCountLk = null; removalCountLk = null; refreshCountLk = null; addCountLk = null; overflowCountLk = null; buckets = null; bucketLocks = null; refreshFlags = null; listeners = null; }
/** * Sets all references to null. This method should be called * at the end of this object's life cycle. */ public void destroy() { if ((listeners != null) && (buckets != null) && (bucketLocks != null)) { clear(); listeners.clear(); } entryCountLk = null; hitCountLk = null; missCountLk = null; removalCountLk = null; refreshCountLk = null; addCountLk = null; overflowCountLk = null; buckets = null; bucketLocks = null; refreshFlags = null; listeners = null; }
/** * Sets all references to null. This method should be called * at the end of this object's life cycle. */ public void destroy() { if ((listeners != null) && (buckets != null) && (bucketLocks != null)) { clear(); listeners.clear(); } entryCountLk = null; hitCountLk = null; missCountLk = null; removalCountLk = null; refreshCountLk = null; addCountLk = null; overflowCountLk = null; buckets = null; bucketLocks = null; refreshFlags = null; listeners = null; }