net.sf.oval.internal.util
Class ThreadLocalObjectCache<K,V>

java.lang.Object
  extended by java.lang.ThreadLocal<ObjectCache<K,V>>
      extended by net.sf.oval.internal.util.ThreadLocalObjectCache<K,V>

public final class ThreadLocalObjectCache<K,V>
extends ThreadLocal<ObjectCache<K,V>>

Author:
Sebastian Thomschke

Constructor Summary
ThreadLocalObjectCache()
           
ThreadLocalObjectCache(int maxElementsToKeep)
           
 
Method Summary
 ObjectCache<K,V> initialValue()
          
 
Methods inherited from class java.lang.ThreadLocal
get, remove, set
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThreadLocalObjectCache

public ThreadLocalObjectCache()

ThreadLocalObjectCache

public ThreadLocalObjectCache(int maxElementsToKeep)
Method Detail

initialValue

public ObjectCache<K,V> initialValue()

Overrides:
initialValue in class ThreadLocal<ObjectCache<K,V>>


Copyright © 2005–2015 The OVal Development Team. All rights reserved.