|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Thread rice.selector.SelectorManager rice.selector.ProfileSelector
Field Summary | |
java.lang.String |
lastTaskClass
DESCRIBE THE FIELD |
long |
lastTaskHash
DESCRIBE THE FIELD |
java.lang.String |
lastTaskToString
DESCRIBE THE FIELD |
java.lang.String |
lastTaskType
DESCRIBE THE FIELD |
static boolean |
recordStats
DESCRIBE THE FIELD |
static boolean |
useHeartbeat
DESCRIBE THE FIELD |
Fields inherited from class rice.selector.SelectorManager |
cancelledKeys, instance, invocations, logger, modifyKeys, running, selector, TIMEOUT, timerQueue, timeSource, wakeupTime |
Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
ProfileSelector(java.lang.String instance,
TimeSource timeSource,
LogManager log)
|
Method Summary | |
void |
addStat(java.lang.String s,
long time)
Adds a feature to the Stat attribute of the ProfileSelector object |
protected void |
doInvocations()
Method which invokes all pending invocations. |
protected void |
doInvocations2()
DESCRIBE THE METHOD |
protected void |
doSelections()
DESCRIBE THE METHOD |
void |
invoke(java.lang.Runnable d)
DESCRIBE THE METHOD |
protected void |
onLoop()
DESCRIBE THE METHOD |
void |
printStats()
DESCRIBE THE METHOD |
Methods inherited from class rice.selector.SelectorManager |
addLoopObserver, cancel, destroy, executeDueTasks, getInvocation, getKey, getModifyKey, getNumInvocations, getSelector, getTimer, isSelectorThread, modifyKey, notifyLoopListeners, register, removeLoopObserver, run, schedule, schedule, scheduleAtFixedRate, selectedKeys |
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, 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 |
Field Detail |
public java.lang.String lastTaskType
public java.lang.String lastTaskClass
public java.lang.String lastTaskToString
public long lastTaskHash
public static boolean useHeartbeat
public static boolean recordStats
Constructor Detail |
public ProfileSelector(java.lang.String instance, TimeSource timeSource, LogManager log)
instance
- DESCRIBE THE PARAMETERtimeSource
- DESCRIBE THE PARAMETERlog
- DESCRIBE THE PARAMETERMethod Detail |
protected void onLoop()
onLoop
in class SelectorManager
public void invoke(java.lang.Runnable d)
invoke
in class SelectorManager
d
- DESCRIBE THE PARAMETERpublic void addStat(java.lang.String s, long time)
s
- The feature to be added to the Stat attributetime
- The feature to be added to the Stat attributepublic void printStats()
protected void doSelections() throws java.io.IOException
doSelections
in class SelectorManager
java.io.IOException
- DESCRIBE THE EXCEPTIONprotected void doInvocations()
doInvocations
in class SelectorManager
protected void doInvocations2()
|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |