bitronix.tm.timer
Class PoolShrinkingTask
java.lang.Object
bitronix.tm.timer.Task
bitronix.tm.timer.PoolShrinkingTask
public class PoolShrinkingTask
- extends Task
This task is used to notify a XA pool to close idle connections.
© Bitronix Software
- Author:
- lorban
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PoolShrinkingTask
public PoolShrinkingTask(XAPool xaPool,
java.util.Date executionTime,
TaskScheduler scheduler)
getObject
public java.lang.Object getObject()
- Specified by:
getObject
in class Task
execute
public void execute()
throws TaskException
- Specified by:
execute
in class Task
- Throws:
TaskException
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object