PoolShrinkingTask (Bitronix Transaction Manager :: Core 2.1.4 API)
Date: 2013-09-15

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

Constructor Summary
`PoolShrinkingTask(XAPool xaPool, Date executionTime, TaskScheduler scheduler)`

Method Summary
`void` | `execute()`
`Object` | `getObject()`
`String` | `toString()`

Methods inherited from class bitronix.tm.timer.Task
`compareTo, getExecutionTime, getTaskScheduler`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### PoolShrinkingTask

    public PoolShrinkingTask(XAPool xaPool,
                             Date executionTime,
                             TaskScheduler scheduler)

Method Detail

### 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`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2006-2013 Bitronix Software. All Rights Reserved.