001package edu.wpi.first.wpilibj.networktables2.thread; 002 003/** 004 * A runnable where the run method will be called periodically 005 * 006 * @author Mitchell 007 * 008 */ 009public interface PeriodicRunnable { 010 /** 011 * the method that will be called periodically on a thread 012 * 013 * @throws InterruptedException thrown when the thread is supposed to be interrupted and stop (implementers should always let this exception fall through) 014 */ 015 public void run() throws InterruptedException; 016}