com.nonesole.persistence.connectionpool
Class ConnectionPoolServer

java.lang.Object
  extended by com.nonesole.persistence.connectionpool.ConnectionPoolServer

public class ConnectionPoolServer
extends java.lang.Object

Connection Pool Server.

   Service: 
   1.start a non-stop thread with connection pool
   2.close the non-stop thread
   3.initialize a connection pool without thread
 

Version:
1.01 - modify in 2009-08-06 changed the method of creating Close_key, 1.0 - build in 2009-07-08
Author:
JACK LEE

Constructor Summary
ConnectionPoolServer()
           
 
Method Summary
static void initPool()
          Initialize connection pool without thread
static void start()
          start a non-stop thread with connection pool
static void stop()
          close the non-stop thread
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectionPoolServer

public ConnectionPoolServer()
Method Detail

initPool

public static final void initPool()
                           throws OperationsException
Initialize connection pool without thread

Throws:
OperationsException

start

public static final void start()
                        throws OperationsException
start a non-stop thread with connection pool

Throws:
OperationsException

stop

public static final void stop()
close the non-stop thread

Throws:
OperationsException