Saros
Distributed Collaborative Editing and Distributed Party Programming
de.fu_berlin.inf.dpp.net.DispatchThreadContext Class Reference

Inherits Disposable.

List of all members.

Public Member Functions

void executeAsDispatch (Runnable runnable)
ExecutorService getDispatchExecutor ()
void dispose ()

Protected Member Functions

void finalize () throws Throwable

Protected Attributes

ExecutorService dispatch

Detailed Description

The ExecutorService under which all incoming activities should be executed.


Member Function Documentation

void de.fu_berlin.inf.dpp.net.DispatchThreadContext.dispose ( )
void de.fu_berlin.inf.dpp.net.DispatchThreadContext.executeAsDispatch ( Runnable  runnable)

Execute the given runnable as if it was received via the network component.

This is used by the ConcurrentDocumentManager to skip sending a JupiterActivity via the network which originated on the host to the JupiterServer.

void de.fu_berlin.inf.dpp.net.DispatchThreadContext.finalize ( ) throws Throwable [protected]
ExecutorService de.fu_berlin.inf.dpp.net.DispatchThreadContext.getDispatchExecutor ( )

Member Data Documentation

Initial value:
 Executors
        .newSingleThreadExecutor(new NamedThreadFactory("DispatchContext",
            false))
 All Classes Namespaces Files Functions Variables Enumerations