com.planet_ink.coffee_mud.core.threads
Interface CMRunnable

All Superinterfaces:
java.lang.Runnable
All Known Subinterfaces:
Session, TickableGroup
All Known Implementing Classes:
DefaultSession, DefaultSession.LoginLogoutThread, FakeSession, RequestHandler, StdTickGroup

public interface CMRunnable
extends java.lang.Runnable


Method Summary
 long activeTimeMillis()
          Returns the number of milliseconds this runnable has been running.
 int getGroupID()
          The group identifier for this runnable, which may be used for executor selection
 long getStartTime()
          Either the time this runnable did start running, or will start running, depending on whether it's scheduled
 
Methods inherited from interface java.lang.Runnable
run
 

Method Detail

activeTimeMillis

long activeTimeMillis()
Returns the number of milliseconds this runnable has been running.

Returns:
the time in millis

getStartTime

long getStartTime()
Either the time this runnable did start running, or will start running, depending on whether it's scheduled

Returns:
the time in millis

getGroupID

int getGroupID()
The group identifier for this runnable, which may be used for executor selection

Returns:
the identifier for this runnable