IT. Expert System.

Android Reference

TimerTask


java.util

Class TimerTask

  • All Implemented Interfaces:
    Runnable


    public abstract class TimerTask
    extends Object
    implements Runnable
    The TimerTask class represents a task to run at a specified time. The task may be run once or repeatedly.
    See Also:
    Timer, Object.wait(long)
    • Constructor Detail

      • TimerTask

        protected TimerTask()
        Creates a new TimerTask.
    • Method Detail

      • cancel

        public boolean cancel()
        Cancels the TimerTask and removes it from the Timer's queue. Generally, it returns false if the call did not prevent a TimerTask from running at least once. Subsequent calls have no effect.
        Returns:
        true if the call prevented a scheduled execution from taking place, false otherwise.
      • scheduledExecutionTime

        public long scheduledExecutionTime()
        Returns the scheduled execution time. If the task execution is in progress it returns the execution time of the ongoing task. Tasks which have not yet run return an undefined value.
        Returns:
        the most recent execution time.
      • run

        public abstract void run()
        The task to run should be specified in the implementation of the run() method.
        Specified by:
        run in interface Runnable


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 1715 / . Delta: 0.02651 с