com.croftsoft.core.util.loop
Interface LoopGovernor

All Known Implementing Classes:
FixedDelayLoopGovernor, NanoTimeLoopGovernor, SamplerLoopGovernor, WindowedLoopGovernor

public interface LoopGovernor

Regulates the loop frequency by putting the Thread to sleep.

Since:
2002-03-07
Version:
2002-05-22
Author:
David Wallace Croft

Method Summary
 void govern()
          This method puts the Thread to sleep for a limited time.
 

Method Detail

govern

void govern()
            throws InterruptedException
This method puts the Thread to sleep for a limited time.

Throws:
InterruptedException

CroftSoft Javadoc

CroftSoft Core Javadoc (2008-09-28 20:58:02)