Use the newly relocated Interval.Factory.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6635 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2011-04-27 20:43:11 +00:00
parent cdff0031fe
commit ca678f6df8
2 changed files with 1 additions and 17 deletions
@@ -1,16 +0,0 @@
package com.threerings.presents.dobj;
import com.samskivert.util.Interval;
public interface IntervalFactory
{
/**
* Creates an {@link Interval} that runs the supplied runnable.
*
* <pre>
* _factory.newInterval(someRunnable).schedule(500); // one shot
* Interval ival = _factory.newInterval(someRunnable).schedule(500, true); // repeater
* </pre>
*/
Interval newInterval (Runnable action);
}
@@ -32,7 +32,7 @@ import com.samskivert.util.RunQueue;
* distributed objects in question. VMs that operate proxies of objects can only implement the
* basic distributed object manager interface.
*/
public interface RootDObjectManager extends DObjectManager, RunQueue, Executor, IntervalFactory
public interface RootDObjectManager extends DObjectManager, RunQueue, Executor, Interval.Factory
{
/**
* Looks up and returns the requested distributed object in the dobj table, returning null if