groovyx.gpars.extra166y
Class CustomConcurrentHashMap.EmbeddedSoftReference

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

static class CustomConcurrentHashMap.EmbeddedSoftReference
extends java.lang.ref.SoftReference
implements CustomConcurrentHashMap.Reclaimable


Field Summary
(package private)  CustomConcurrentHashMap.Reclaimable outer
           
 
Constructor Summary
CustomConcurrentHashMap.EmbeddedSoftReference(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.SoftReference
get
 
Methods inherited from class java.lang.ref.Reference
clear, enqueue, 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.EmbeddedSoftReference

CustomConcurrentHashMap.EmbeddedSoftReference(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.