Uses of Class
com.sun.grizzly.comet.CometTask

Packages that use CometTask
com.sun.grizzly.comet   
 

Uses of CometTask in com.sun.grizzly.comet
 

Fields in com.sun.grizzly.comet with type parameters of type CometTask
protected  ConcurrentHashMap<CometHandler,CometTask> CometContext.handlers
          The list of registered CometHandler
protected static ThreadLocal<CometTask> CometEngine.updatedContexts
          Store updatedCometContextCometContext.
 

Methods in com.sun.grizzly.comet that return types with arguments of type CometTask
protected  ConcurrentHashMap<CometHandler,CometTask> CometContext.handlers()
          Return the internal list of active CometHandler
 

Methods in com.sun.grizzly.comet with parameters of type CometTask
protected  void CometContext.addActiveHandler(CometTask cometTask)
          adds a CometTask to the active set
protected  void CometEngine.flushPostExecute(CometTask task, boolean cancelkey)
          Ensures ProcessorTask is recycled and that Selectionkey is canceled when needed.
protected  boolean CometEngine.interrupt(CometTask task, boolean finishExecution)
          Interrupt a CometHandler by invoking CometHandler.onInterrupt(com.sun.grizzly.comet.CometEvent)
protected  void CometEngine.interrupt0(CometTask task, boolean finishExecution)
          Interrupt logic in its own method, so it can be executed either async or sync.
cometHandler.onInterrupt is performed async due to its functionality is unknown, hence not safe to run in the performance critical selector thread.
 



Copyright © 2009 SUN Microsystems. All Rights Reserved.