The BukkitRunnable is a Runnable found in Bukkit. It's possible to schedule a task directly from a BukkitRunnable, and also cancel it from inside itself.
Important: The time on the tasks is measured in Ticks. A second has 20 ticks.
Non-RepeatingTask:
JavaPlugin plugin; //Your plugin instance ...