J avolution v3.7 (J2SE 1.5+)

javolution.realtime
Class ConcurrentContext.Logic

java.lang.Object
  extended by javolution.realtime.ConcurrentContext.Logic
All Implemented Interfaces:
java.lang.Runnable
Enclosing class:
ConcurrentContext

public abstract static class ConcurrentContext.Logic
extends java.lang.Object
implements java.lang.Runnable

This abstract class represents some parameterized code which may be executed concurrently.


Constructor Summary
ConcurrentContext.Logic()
           
 
Method Summary
 void run()
          Executes this logic with no arguments.
abstract  void run(java.lang.Object[] args)
          Executes this logic with the specified arguments.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConcurrentContext.Logic

public ConcurrentContext.Logic()
Method Detail

run

public final void run()
Executes this logic with no arguments.

Specified by:
run in interface java.lang.Runnable

run

public abstract void run(java.lang.Object[] args)
Executes this logic with the specified arguments.

Parameters:
args - the arguments. The number of arguments depends upon the ConcurrentContext.execute method which has been called (e.g. if ConcurrentContext.execute( ConcurrentContext.Logic, Object, Object), has been called, then (args.length == 2)).

J avolution v3.7 (J2SE 1.5+)

Copyright © 2006 Javolution.