Save This Page
Home » tapestry-src-5.0.19 » org.apache.tapestry5.ioc.internal.util » [javadoc | source]
org.apache.tapestry5.ioc.internal.util
static class: ConcurrentBarrier.ThreadBoolean [javadoc | source]
java.lang.Object
   java.lang.ThreadLocal<Boolean>
      org.apache.tapestry5.ioc.internal.util.ConcurrentBarrier$ThreadBoolean
This is, of course, a bit of a problem. We don't have an avenue for ensuring that this ThreadLocal is destroyed at the end of the request, and that means a thread can hold a reference to the class and the class loader which loaded it. This may cause redeployment problems (leaked classes and class loaders). Apparently JDK 1.6 provides the APIs to check to see if the current thread has a read lock. So, we tend to remove the TL, rather than set its value to false.
Method from org.apache.tapestry5.ioc.internal.util.ConcurrentBarrier$ThreadBoolean Summary:
initialValue
Methods from java.lang.ThreadLocal:
access$400,   childValue,   createInheritedMap,   createMap,   get,   getMap,   initialValue,   remove,   set
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.tapestry5.ioc.internal.util.ConcurrentBarrier$ThreadBoolean Detail:
 protected Boolean initialValue()