|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Thread
cgl.narada.service.buffering.BufferHandler
public class BufferHandler
This thread is responsible for sorting the buffer and releasing the events in the buffer.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.lang.Thread |
|---|
Thread.State, Thread.UncaughtExceptionHandler |
| Field Summary |
|---|
| Fields inherited from class java.lang.Thread |
|---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
|---|---|
BufferHandler(BufferingServiceImpl buffServiceImpl)
Generates a new BufferHandler object. |
|
| Method Summary | |
|---|---|
void |
notifyBufferHandler()
This thread can be notified by calling this method. |
void |
run()
Waits on the buffering object. |
void |
stopRunning()
Stops the running thread. |
void |
terminateService()
|
void |
waitOnBuffer()
Calling this method causes the caller to wait on the synchronization object for a maximum entry duration. |
void |
waitOnBuffer(long time)
Calling this method causes the caller to wait on the synchronization object for the time specified. |
| 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 |
| Constructor Detail |
|---|
public BufferHandler(BufferingServiceImpl buffServiceImpl)
buffServiceImpl - - parent that initiates this thread| Method Detail |
|---|
public void notifyBufferHandler()
public void run()
run in interface Runnablerun in class Threadpublic void stopRunning()
public void terminateService()
public void waitOnBuffer()
public void waitOnBuffer(long time)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||