com.googlecode.ehcache.annotations.support
Class TimerTaskSchedulerAdapter

java.lang.Object
  extended by com.googlecode.ehcache.annotations.support.TimerTaskSchedulerAdapter
All Implemented Interfaces:
TaskSchedulerAdapter

public class TimerTaskSchedulerAdapter
extends java.lang.Object
implements TaskSchedulerAdapter

Wraps a Timer to work with the TaskSchedulerAdapter interface

Version:
$Revision: 664 $
Author:
Eric Dalquist

Constructor Summary
TimerTaskSchedulerAdapter(java.util.Timer timer)
           
 
Method Summary
 void scheduleAtFixedRate(java.lang.Runnable task, long period)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimerTaskSchedulerAdapter

public TimerTaskSchedulerAdapter(java.util.Timer timer)
Method Detail

scheduleAtFixedRate

public void scheduleAtFixedRate(java.lang.Runnable task,
                                long period)
Specified by:
scheduleAtFixedRate in interface TaskSchedulerAdapter
See Also:
TaskScheduler.scheduleAtFixedRate(Runnable, long)


Copyright © 2011. All Rights Reserved.