protected class DBConnectionPool.DBConnectionReaper
extends java.lang.Object
implements java.lang.Runnable
Check for connections whose lease has expired and return them to the free connection pool.
Constructor and Description |
---|
DBConnectionPool.DBConnectionReaper(long intvl)
Class constructor
|
Modifier and Type | Method and Description |
---|---|
void |
run()
Connection reaper thread
|
void |
setOnlineCheckInterval(int interval)
Set the database online check interval
|
void |
shutdownRequest()
Shutdown the connection reaper
|
public DBConnectionPool.DBConnectionReaper(long intvl)
intvl
- longpublic final void shutdownRequest()
public final void setOnlineCheckInterval(int interval)
interval
- intpublic void run()
run
in interface java.lang.Runnable
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.