groovyx.gpars.extra166y
Class CustomConcurrentHashMap.EmbeddedWeakReference

java.lang.Object
  extended by java.lang.ref.Reference<T>
      extended by java.lang.ref.WeakReference
          extended by groovyx.gpars.extra166y.CustomConcurrentHashMap.EmbeddedWeakReference
All Implemented Interfaces:
CustomConcurrentHashMap.Reclaimable
Enclosing class:
CustomConcurrentHashMap<K,V>

static class CustomConcurrentHashMap.EmbeddedWeakReference
extends java.lang.ref.WeakReference
implements CustomConcurrentHashMap.Reclaimable


Field Summary
(package private)  CustomConcurrentHashMap.Reclaimable outer
           
 
Constructor Summary
CustomConcurrentHashMap.EmbeddedWeakReference(java.lang.Object x, CustomConcurrentHashMap.Reclaimable outer)
           
 
Method Summary
 void onReclamation()
          The action taken upon removal of this object from a ReferenceQueue.
 
Methods inherited from class java.lang.ref.Reference
clear, enqueue, get, isEnqueued
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

outer

final CustomConcurrentHashMap.Reclaimable outer
Constructor Detail

CustomConcurrentHashMap.EmbeddedWeakReference

CustomConcurrentHashMap.EmbeddedWeakReference(java.lang.Object x,
                                              CustomConcurrentHashMap.Reclaimable outer)
Method Detail

onReclamation

public final void onReclamation()
Description copied from interface: CustomConcurrentHashMap.Reclaimable
The action taken upon removal of this object from a ReferenceQueue.

Specified by:
onReclamation in interface CustomConcurrentHashMap.Reclaimable

Copyright © 2008–2012 Václav Pech. All Rights Reserved.