Task (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 Task

    java.lang.Object
      bitronix.tm.timer.Task

All Implemented Interfaces:
  Comparable<Task>

Direct Known Subclasses:
  PoolShrinkingTask, RecoveryTask, TransactionTimeoutTask

    public abstract class Task

extends Object
implements Comparable<Task>

Asbtract superclass of all timed tasks.

Author:
  lorban

Constructor Summary
`protected` | `Task(Date executionTime, TaskScheduler scheduler)`

Method Summary
`int` | `compareTo(Task otherTask)`
`abstract void` | `execute()`
`Date` | `getExecutionTime()`
`abstract Object` | `getObject()`
`protected TaskScheduler` | `getTaskScheduler()`

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

Constructor Detail

### Task

    protected Task(Date executionTime,
                   TaskScheduler scheduler)

Method Detail

### getExecutionTime

    public Date getExecutionTime()

### getTaskScheduler

    protected TaskScheduler getTaskScheduler()

### compareTo

    public int compareTo(Task otherTask)

  Specified by:
    `compareTo` in interface `Comparable<Task>`

### getObject

    public abstract Object getObject()

### execute

    public abstract void execute()
                          throws TaskException

  Throws:
    `TaskException`

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.