bitronix.tm.timer
Class PoolShrinkingTask
java.lang.Object
bitronix.tm.timer.Task
bitronix.tm.timer.PoolShrinkingTask
- All Implemented Interfaces:
- Comparable<Task>
public class PoolShrinkingTask
- extends Task
This task is used to notify a XA pool to close idle connections.
- Author:
- lorban
PoolShrinkingTask
public PoolShrinkingTask(XAPool xaPool,
Date executionTime,
TaskScheduler scheduler)
getObject
public Object getObject()
- Specified by:
getObject
in class Task
execute
public void execute()
throws TaskException
- Specified by:
execute
in class Task
- Throws:
TaskException
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2006-2013 Bitronix Software. All Rights Reserved.