com.threerings.presents.server
Class PresentsAuthInvoker

java.lang.Object
  extended by java.lang.Thread
      extended by com.samskivert.util.LoopingThread
          extended by com.samskivert.util.Invoker
              extended by com.threerings.presents.server.ReportingInvoker
                  extended by com.threerings.presents.server.PresentsAuthInvoker
All Implemented Interfaces:
RunQueue, Runnable, Executor

public class PresentsAuthInvoker
extends ReportingInvoker

A separate invoker thread on which we perform client authentication. This allows the normal server operation to proceed even in the event that our authentication services have gone down and attempts to authenticate cause long timeouts and blockage.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.threerings.presents.server.ReportingInvoker
ReportingInvoker.Stats
 
Nested classes/interfaces inherited from class com.samskivert.util.Invoker
Invoker.Unit, Invoker.UnitProfile
 
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
 
Nested classes/interfaces inherited from interface com.samskivert.util.RunQueue
RunQueue.AsExecutor
 
Field Summary
 
Fields inherited from class com.threerings.presents.server.ReportingInvoker
_current, _currentUnit, _currentUnitStart, _defrep, _profrep, _recent, _totalUnitsRun
 
Fields inherited from class com.samskivert.util.Invoker
_defaultLongThreshold, _profileBucketCount, _profileBucketWidth, _queue, _receiver, _shutdownRequested, _tracker, PERF_TRACK
 
Fields inherited from class com.samskivert.util.LoopingThread
_running
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Fields inherited from interface com.samskivert.util.RunQueue
AWT
 
Constructor Summary
PresentsAuthInvoker(PresentsDObjectMgr omgr, ReportManager repmgr)
           
 
Method Summary
 
Methods inherited from class com.threerings.presents.server.ReportingInvoker
didInvokeUnit, getStats, willInvokeUnit
 
Methods inherited from class com.samskivert.util.Invoker
execute, getPendingUnits, isDispatchThread, iterate, postRunnable, postUnit, recordMetrics, setDefaultLongThreshold, setProfilingParameters, shutdown, shutdownRequested
 
Methods inherited from class com.samskivert.util.LoopingThread
didShutdown, handleIterateFailure, isRunning, kick, run, willStart
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.samskivert.util.RunQueue
isRunning
 

Constructor Detail

PresentsAuthInvoker

@Inject
public PresentsAuthInvoker(PresentsDObjectMgr omgr,
                                  ReportManager repmgr)