com.marringtons.util
Interface IdleInterface

All Known Implementing Classes:
Backup

public interface IdleInterface

Any class that wants to do low priority tasks while the system is not busy needs to implement IdleInterface and then register themselves with the Idle process.

 public class IdleTest implements IdleInterface
   {
 	   public IdleTest()
 	     { Idle.register( this); }
 	   public void whileIdling()
 	     { ... }
   }
 

Author:
Paul Marrington

Method Summary
 void whileIdling()
          Called every minute that an application has been left not doing anything useful.
 

Method Detail

whileIdling

public void whileIdling()
Called every minute that an application has been left not doing anything useful.



Copyright © 2005 Paul Marrington http://library.marringtons.com