All Executors, all the time.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6002 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -21,8 +21,6 @@
|
||||
|
||||
package com.threerings.presents.server;
|
||||
|
||||
import java.util.concurrent.Executor;
|
||||
|
||||
import com.google.inject.Inject;
|
||||
import com.google.inject.Singleton;
|
||||
|
||||
@@ -36,7 +34,7 @@ public class PresentsAuthInvoker extends ReportingInvoker
|
||||
{
|
||||
@Inject public PresentsAuthInvoker (PresentsDObjectMgr omgr, ReportManager repmgr)
|
||||
{
|
||||
super("presents.AuthInvoker", (Executor)omgr, repmgr);
|
||||
super("presents.AuthInvoker", omgr, repmgr);
|
||||
setDaemon(true);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,7 +22,6 @@
|
||||
package com.threerings.presents.server;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.concurrent.Executor;
|
||||
|
||||
import com.google.common.collect.Lists;
|
||||
import com.google.inject.Inject;
|
||||
@@ -44,7 +43,7 @@ public class PresentsInvoker extends ReportingInvoker
|
||||
{
|
||||
@Inject public PresentsInvoker (PresentsDObjectMgr omgr, Lifecycle cycle, ReportManager repmgr)
|
||||
{
|
||||
super("presents.Invoker", (Executor)omgr, repmgr);
|
||||
super("presents.Invoker", omgr, repmgr);
|
||||
cycle.addComponent(this);
|
||||
_omgr = omgr;
|
||||
}
|
||||
|
||||
@@ -24,7 +24,6 @@ package com.threerings.presents.server;
|
||||
import java.util.concurrent.Executor;
|
||||
|
||||
import com.samskivert.util.Invoker;
|
||||
import com.samskivert.util.RunQueue;
|
||||
import com.samskivert.util.StringUtil;
|
||||
|
||||
/**
|
||||
@@ -39,15 +38,6 @@ public class ReportingInvoker extends Invoker
|
||||
public int maxQueueSize;
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a new reporting invoker. The instance will be registered with the report manager
|
||||
* if profiling is enabled ({@link Invoker#PERF_TRACK}).
|
||||
*/
|
||||
public ReportingInvoker (String name, RunQueue resultsQueue, ReportManager repmgr)
|
||||
{
|
||||
this(name, new RunQueue.AsExecutor(resultsQueue), repmgr);
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a new reporting invoker. The instance will be registered with the report manager
|
||||
* if profiling is enabled ({@link Invoker#PERF_TRACK}).
|
||||
|
||||
Reference in New Issue
Block a user