org.objectweb.proactive.calcium
Class Calcium

java.lang.Object
  extended by org.objectweb.proactive.calcium.Calcium

public class Calcium
extends java.lang.Object

This class corresponds to the entry point of the skeleton framework. In order to instantiate this class, a resource Manager must be provided. This Manager must extend the AbstractManager class. The skeleton kernel can be used with different Managers, for example: Monothreaded, Multihreaded or Distributed (ProActive).

Author:
The ProActive Team (mleyton)

Constructor Summary
Calcium(ResourceManager manager)
           
 
Method Summary
 void boot()
           
 StatsGlobal getStatsGlobal()
           
<T> Stream<T>
newStream(Skeleton<T> root)
          This method is used to instantiate a new stream from the framework.
 void shutdown()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Calcium

public Calcium(ResourceManager manager)
Method Detail

newStream

public <T> Stream<T> newStream(Skeleton<T> root)
This method is used to instantiate a new stream from the framework. The stream is then used to input T into the framework, and then retrieve the results (T) from the framework. All the T inputed into this stream will be computed using the skeleton strucutre specified as parameter.

Type Parameters:
T - The type of the T this stream will work with.
Parameters:
root - This skeleton represents the structured code that will be executed for each T inputted into the stream.
Returns:
A Stream that can input and output T from the framework.

boot

public void boot()

shutdown

public void shutdown()

getStatsGlobal

public StatsGlobal getStatsGlobal()
Returns:
The current status of the global statistics.


Copyright 2001-2007 INRIA All Rights Reserved.