ariba.util.core
Class ThreadLocalHolder<V>

java.lang.Object
  extended by ariba.util.core.ThreadLocalHolder<V>
Direct Known Subclasses:
IOUtil.BufferHolder

public abstract class ThreadLocalHolder<V>
extends java.lang.Object


Constructor Summary
ThreadLocalHolder()
           
 
Method Summary
 V checkoutBuffer()
          Checks the byte buffer out of this holder.
 int getRecursionDepth()
          Returns the recursion depth.
abstract  V make()
           
 void returnBuffer(V object)
          Returns the byte buffer to this holder.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThreadLocalHolder

public ThreadLocalHolder()
Method Detail

make

public abstract V make()

checkoutBuffer

public V checkoutBuffer()
Checks the byte buffer out of this holder.


returnBuffer

public void returnBuffer(V object)
Returns the byte buffer to this holder.


getRecursionDepth

public int getRecursionDepth()
Returns the recursion depth.



AribaWeb User Interface Development Framework
Copyright © 2000-2014 Ariba, Inc. All Rights Reserved.