bitronix.tm.timer
Class PoolShrinkingTask
java.lang.Object
bitronix.tm.timer.Task
bitronix.tm.timer.PoolShrinkingTask
- All Implemented Interfaces:
- java.lang.Comparable<Task>
public class PoolShrinkingTask
- extends Task
This task is used to notify a XA pool to close idle connections.
- 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
Copyright © 2006-2018 Bitronix Software. All Rights Reserved.