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

## org.apache.tapestry5.ioc.services.cron
Interface PeriodicJob

    public interface PeriodicJob

Since:
  5.3

Method Summary
`void` | `cancel()` Cancels the job.
`java.lang.String` | `getName()` Returns the name for the job, supplied when the job is created; this is not unique or meaningful, and primarily exists to assist with debugging.
`boolean` | `isCanceled()` Has this job been canceled.
`boolean` | `isExecuting()` Is this Job currently executing (or queued, awaiting execution)?

Method Detail

### getName

    java.lang.String getName()

  Returns the name for the job, supplied when the job is created; this is not unique or meaningful, and primarily exists to assist with debugging.

  Returns:
    name provided for the job

### isExecuting

    boolean isExecuting()

  Is this Job currently executing (or queued, awaiting execution)?

  Returns:
    true if executing

### isCanceled

    boolean isCanceled()

  Has this job been canceled.

### cancel

    void cancel()

  Cancels the job. If currently executing, the Job will finish (this includes awaiting execution). If not currently executing, the job is discarded immediately.

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 © 2003-2012 The Apache Software Foundation.