From: <jsa...@us...> - 2008-10-23 15:45:56
|
Revision: 30 http://flexotask.svn.sourceforge.net/flexotask/?rev=30&view=rev Author: jsauerbach Date: 2008-10-23 15:45:52 +0000 (Thu, 23 Oct 2008) Log Message: ----------- Fix systematic confusion in comments between FlexotaskGraph and FlexotaskTemplate, probably resulting from previous mass edit. Modified Paths: -------------- trunk/flexotask/src/com/ibm/realtime/flexotask/distribution/FlexotaskDistributerFactory.java trunk/flexotask/src/com/ibm/realtime/flexotask/distribution/FlexotaskDistributionContext.java trunk/flexotask/src/com/ibm/realtime/flexotask/scheduling/DelegatingFlexotaskRunner.java trunk/flexotask/src/com/ibm/realtime/flexotask/scheduling/FlexotaskScheduler.java trunk/flexotask/src/com/ibm/realtime/flexotask/scheduling/FlexotaskSingleThreadRunner.java trunk/flexotask/src/com/ibm/realtime/flexotask/scheduling/FlexotaskThreadFactory.java Modified: trunk/flexotask/src/com/ibm/realtime/flexotask/distribution/FlexotaskDistributerFactory.java =================================================================== --- trunk/flexotask/src/com/ibm/realtime/flexotask/distribution/FlexotaskDistributerFactory.java 2008-10-23 15:43:02 UTC (rev 29) +++ trunk/flexotask/src/com/ibm/realtime/flexotask/distribution/FlexotaskDistributerFactory.java 2008-10-23 15:45:52 UTC (rev 30) @@ -16,7 +16,7 @@ import com.ibm.realtime.flexotask.template.FlexotaskValidationException; /** - * A representation of a system for distributing FlexotaskTemplates across process boundaries. + * A representation of a system for distributing FlexotaskGraphs across process boundaries. * FlexotaskDistributerFactories are named and registered with the FlexotaskDistributerRegistry. */ public interface FlexotaskDistributerFactory Modified: trunk/flexotask/src/com/ibm/realtime/flexotask/distribution/FlexotaskDistributionContext.java =================================================================== --- trunk/flexotask/src/com/ibm/realtime/flexotask/distribution/FlexotaskDistributionContext.java 2008-10-23 15:43:02 UTC (rev 29) +++ trunk/flexotask/src/com/ibm/realtime/flexotask/distribution/FlexotaskDistributionContext.java 2008-10-23 15:45:52 UTC (rev 30) @@ -16,7 +16,7 @@ /** * An interface implemented by exotask graph distribution systems. In addition to reporting the * system type required by the graph, objects implementing this interface typically encapsulate - * state needed to give the present (single process) FlexotaskTemplate a larger context + * state needed to give the present (single process) FlexotaskGraph a larger context * as part of a distributed exotask graph specification. */ public interface FlexotaskDistributionContext Modified: trunk/flexotask/src/com/ibm/realtime/flexotask/scheduling/DelegatingFlexotaskRunner.java =================================================================== --- trunk/flexotask/src/com/ibm/realtime/flexotask/scheduling/DelegatingFlexotaskRunner.java 2008-10-23 15:43:02 UTC (rev 29) +++ trunk/flexotask/src/com/ibm/realtime/flexotask/scheduling/DelegatingFlexotaskRunner.java 2008-10-23 15:45:52 UTC (rev 30) @@ -16,8 +16,8 @@ import com.ibm.realtime.flexotask.FlexotaskRunner; /** - * An FlexotaskRunner to be exposed outside the FlexotaskTemplate for the case where the scheduler's - * FlexotaskRunner is also one of its Runnables and is hence inside the FlexotaskTemplate. For + * An FlexotaskRunner to be exposed outside the FlexotaskGraph for the case where the scheduler's + * FlexotaskRunner is also one of its Runnables and is hence inside the FlexotaskGraph. For * example, FlexotaskSingleThreadRunner uses this class to provide the necessary isolation. * When the graph is shut down, the connection between this runner and the real runner is severed. */ Modified: trunk/flexotask/src/com/ibm/realtime/flexotask/scheduling/FlexotaskScheduler.java =================================================================== --- trunk/flexotask/src/com/ibm/realtime/flexotask/scheduling/FlexotaskScheduler.java 2008-10-23 15:43:02 UTC (rev 29) +++ trunk/flexotask/src/com/ibm/realtime/flexotask/scheduling/FlexotaskScheduler.java 2008-10-23 15:45:52 UTC (rev 30) @@ -21,7 +21,7 @@ /** * An FlexotaskScheduler is responsible for actually running all the Runnables in an - * FlexotaskTemplate. Only the Scheduler has access to these Runnables. No code outside the Flexotask + * FlexotaskGraph. Only the Scheduler has access to these Runnables. No code outside the Flexotask * system will be able to access them. * <p>A scheduler must be registered, and it will be rejected if it does not come from the * boot classpath (this check may be relaxed eventually to encompass other trusted code sources). Modified: trunk/flexotask/src/com/ibm/realtime/flexotask/scheduling/FlexotaskSingleThreadRunner.java =================================================================== --- trunk/flexotask/src/com/ibm/realtime/flexotask/scheduling/FlexotaskSingleThreadRunner.java 2008-10-23 15:43:02 UTC (rev 29) +++ trunk/flexotask/src/com/ibm/realtime/flexotask/scheduling/FlexotaskSingleThreadRunner.java 2008-10-23 15:45:52 UTC (rev 30) @@ -182,7 +182,7 @@ waitForOwnership(); if (threadState == THREAD_SHUT_DOWN) { throw new IllegalStateException( - "Trying to start a dead FlexotaskTemplate"); + "Trying to start a dead FlexotaskGraph"); } requestState = REQUEST_START; lock.notifyAll(); @@ -321,7 +321,7 @@ /** * Convenient version of cloneAndStartThread when there are no slave threads * @param toClone the FlexotaskSingleThreadRunner (extended) that is to be cloned and started - * @param threadFactory the FlexotaskThreadFactory for the current FlexotaskTemplate + * @param threadFactory the FlexotaskThreadFactory for the current FlexotaskGraph * @return the FlexotaskRunner object that the scheduler should return to the validator */ public static FlexotaskRunner cloneAndStartThread(FlexotaskSingleThreadRunner toClone, FlexotaskThreadFactory threadFactory) @@ -336,7 +336,7 @@ * runnable ("the master thread"). The slave threads are not started automatically; it is up to the * master thread to manage them. * @param toClone the FlexotaskSingleThreadRunner (extended) that is to be cloned and started - * @param threadFactory the FlexotaskThreadFactory for the current FlexotaskTemplate + * @param threadFactory the FlexotaskThreadFactory for the current FlexotaskGraph * @param otherRunnables the FlexotaskSchedulerRunnables for the other threads to be created (if any); null or the empty array if none * @return the FlexotaskRunner object that the scheduler should return to the validator */ Modified: trunk/flexotask/src/com/ibm/realtime/flexotask/scheduling/FlexotaskThreadFactory.java =================================================================== --- trunk/flexotask/src/com/ibm/realtime/flexotask/scheduling/FlexotaskThreadFactory.java 2008-10-23 15:43:02 UTC (rev 29) +++ trunk/flexotask/src/com/ibm/realtime/flexotask/scheduling/FlexotaskThreadFactory.java 2008-10-23 15:45:52 UTC (rev 30) @@ -29,7 +29,7 @@ public void addPropertyToTrace(String name, String value); /** - * Create the scheduler heap and the set of scheduler threads for this FlexotaskTemplate + * Create the scheduler heap and the set of scheduler threads for this FlexotaskGraph * @param runnables the array of FlexotaskSchedulerRunnables (at least one) that the Scheduler will * use. A successful execution of the method causes every member of the array to be replaced * with a clone that resides in the scheduler's memory space. @@ -37,7 +37,7 @@ * heap and will be pinned there. * @return an array of Threads of the same length as the argument * @exception IllegalStateException if this method is called more than once in the lifetime - * of this FlexotaskThreadFactory, whose lifetime is that of the FlexotaskTemplate. + * of this FlexotaskThreadFactory, whose lifetime is that of the FlexotaskGraph. */ public Thread[] createThreads(FlexotaskSchedulerRunnable[] runnables, Object[] locks); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |