com.jolbox.bonecp
Class ConnectionReleaseHelperThread

java.lang.Object
  extended by com.jolbox.bonecp.ConnectionReleaseHelperThread
All Implemented Interfaces:
Runnable

public class ConnectionReleaseHelperThread
extends Object
implements Runnable

A thread that monitors a queue containing connections to be released and moves those connections to the partition queue.

Author:
wallacew

Constructor Summary
ConnectionReleaseHelperThread(BlockingQueue<ConnectionHandle> queue, BoneCP pool)
          Helper Thread constructor.
 
Method Summary
 void run()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectionReleaseHelperThread

public ConnectionReleaseHelperThread(BlockingQueue<ConnectionHandle> queue,
                                     BoneCP pool)
Helper Thread constructor.

Parameters:
queue - Handle to the release queue.
pool - handle to the connection pool.
Method Detail

run

public void run()

Specified by:
run in interface Runnable
See Also:
Runnable.run()


Copyright © 2009-2011 JolBox. All Rights Reserved.