org.apache.accumulo.server.util.time
Class SimpleTimer
java.lang.Object
org.apache.accumulo.server.util.time.SimpleTimer
public class SimpleTimer
- extends Object
Generic singleton timer: don't use it if you are going to do anything that will take very long. Please use it to reduce the number of threads dedicated to
simple events.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static SimpleTimer getInstance()
schedule
public void schedule(TimerTask task,
long delay)
schedule
public void schedule(TimerTask task,
long delay,
long period)
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.