IBM WebSphere Extended Deployment (XD)TM
Release 6.0

com.ibm.wsspi.filter
DispatchMode

java.lang.Object
  |
  +--com.ibm.wsspi.filter.DispatchMode


Typesafe enumerator representing the thread dispatch options for resuming ProxyServiceContext objects via the ProxyServiceContext#resume(DispatchMode) method. This class has been picked up from the proxy component.

Field Summary
public  DispatchModeCURRENT_THREAD
           Indicates a service context will resume execution immediately on the current thread.
public  DispatchModeANOTHER_THREAD
           Indicates a service context will resume execution on another thread upon successful dispatch. Upon failure to.
public  DispatchModeANOTHER_THREAD_DISCARD
           Indicates a service context will resume execution on another thread upon successful dispatch. Upon failure to.
public  DispatchModeANOTHER_THREAD_EXPAND
           Indicates a service context will resume execution on another thread upon succesful dispatch. If the request queue.
public  DispatchModeANOTHER_THREAD_EXPAND_DISCARD
           Indicates a service context will resume execution on another thread upon succesful dispatch. If the request queue is.

Method Summary
public  StringtoString()
           Returns a string representation of this dispatch mode.

Inherited Methods

Methods inherited from java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Field Detail

CURRENT_THREAD

public 
  static CURRENT_THREAD
Indicates a service context will resume execution immediately on the current thread.

ANOTHER_THREAD

public 
  static ANOTHER_THREAD
Indicates a service context will resume execution on another thread upon successful dispatch. Upon failure to dispatch, execution will resume on the current thread.

ANOTHER_THREAD_DISCARD

public 
  static ANOTHER_THREAD_DISCARD
Indicates a service context will resume execution on another thread upon successful dispatch. Upon failure to dispatch, the service context will be discarded and execution will not resume.

ANOTHER_THREAD_EXPAND

public 
  static ANOTHER_THREAD_EXPAND
Indicates a service context will resume execution on another thread upon succesful dispatch. If the request queue is full at the time of initial dispatch, it will be expanded and the service context will be dispatched to resume execution. If the expanded request buffer becomes full, execution will resume on the current thread.

ANOTHER_THREAD_EXPAND_DISCARD

public 
  static ANOTHER_THREAD_EXPAND_DISCARD
Indicates a service context will resume execution on another thread upon succesful dispatch. If the request queue is full at the time of initial dispatch, it will be expanded and the service context will be dispatched to resume execution. If the expanded request buffer becomes full, the service context will be discarded and execution will not resume.

Method Detail

toString

public String toString()
Returns a string representation of this dispatch mode.


Returns:
     A string representation of this dispatch mode.


IBM WebSphere Extended Deployment (XD)TM
Release 6.0