Index
Date: 2013-11-17

A B C D E F G H I J K L M N O P R S T U V W

## A

acquire() - Method in class org.simgrid.msg.Mutex
acquire(double) - Method in class org.simgrid.msg.Semaphore
  Locks on the semaphore object until the provided timeout expires
acquire() - Method in class org.simgrid.msg.Semaphore
  Locks on the semaphore object with no timeout
advanceState(int, int) - Method in class org.simgrid.msg.RngStream
  Advances the state of the stream by k values, without modifying the states of other streams (as in RngStream_SetSeed), nor the values of Bg and Ig associated with this stream.
all() - Static method in class org.simgrid.msg.Host
  This static method returns all of the hosts of the installed platform.
args - Variable in class org.simgrid.msg.Process
  The arguments of the method function of the process.
As - Class in org.simgrid.msg
As() - Constructor for class org.simgrid.msg.As

## B

bind(Process) - Method in class org.simgrid.msg.VM
  Add the given process into the VM.

## C

cancel() - Method in class org.simgrid.msg.Task
  Cancels a task.
capacity - Variable in class org.simgrid.msg.Semaphore
  Semaphore capacity, defined when the semaphore is created.
clean() - Static method in class org.simgrid.msg.Msg
  Deprecated.
close() - Method in class org.simgrid.msg.File
  Close the file.
Comm - Class in org.simgrid.msg
  Communication action, representing an ongoing communication between processes.
Comm() - Constructor for class org.simgrid.msg.Comm
  Protected constructor, used by Comm factories in Task.
create(String) - Method in class org.simgrid.msg.Process
  The natively implemented method to create an MSG process.
createEnvironment(String) - Static method in class org.simgrid.msg.Msg
  The native implemented method to create the environment of the simulation.
critical(String) - Static method in class org.simgrid.msg.Msg
  Issue an critical logging message.
currentHost() - Static method in class org.simgrid.msg.Host
  This static method return an instance to the host of the current process.
currentProcess() - Static method in class org.simgrid.msg.Process
  This static method returns the currently running process.

## D

debug(String) - Static method in class org.simgrid.msg.Msg
  Issue a debug logging message.
deployApplication(String) - Static method in class org.simgrid.msg.Msg
  The method to deploy the simulation.
destroy() - Method in class org.simgrid.msg.Comm
  Unbind the communication object
destroy() - Method in class org.simgrid.msg.Task
  The natively implemented method to destroy a MSG task.
destroy() - Method in class org.simgrid.msg.VM
  Destroy the VM
dsend(String) - Method in class org.simgrid.msg.Task
  Send the task asynchronously on the mailbox identified by the specified name, with no way to retrieve whether the communication succeeded or not
dsendBounded(String, double) - Method in class org.simgrid.msg.Task
  Send the task asynchronously on the mailbox identified by the specified name, with no way to retrieve whether the communication succeeded or not

## E

environmentGetRoutingRoot() - Static method in class org.simgrid.msg.Msg
error(String) - Static method in class org.simgrid.msg.Msg
  Issue an error logging message.
execute() - Method in class org.simgrid.msg.Task
  Executes a task on the location on which the process is running.
exit() - Method in class org.simgrid.msg.Process

## F

File - Class in org.simgrid.msg
  Copyright (c) 2012-2013.
File(String, String) - Constructor for class org.simgrid.msg.File
  Constructor, opens the file.
finalize() - Method in class org.simgrid.msg.Comm
  Finalize the communication object, destroying it.
finalize() - Method in class org.simgrid.msg.File
finalize() - Method in class org.simgrid.msg.Mutex
finalize() - Method in class org.simgrid.msg.RngStream
  Destructor
finalize() - Method in class org.simgrid.msg.Semaphore
  Deletes this semaphore
finalize() - Method in class org.simgrid.msg.Task
  Deletes a task.
finalize() - Method in class org.simgrid.msg.VM
finished - Variable in class org.simgrid.msg.Comm
  Indicates if the communication is finished
fromPID(int) - Static method in class org.simgrid.msg.Process
  This static method gets a process from a PID.

## G

getByName(String) - Static method in class org.simgrid.msg.Host
  This static method gets an host instance associated with a native host of your platform.
getCapacity() - Method in class org.simgrid.msg.Semaphore
  Returns the semaphore capacity
getClock() - Static method in class org.simgrid.msg.Msg
  Retrieve the simulation time
getComputeDuration() - Method in class org.simgrid.msg.Task
  Gets the computing amount of the task FIXME: Cache it !
getCoreNumber() - Method in class org.simgrid.msg.Host
  This method returns the number of core of a host.
getCount() - Static method in class org.simgrid.msg.Host
  This static method returns the count of the installed hosts.
getCount() - Static method in class org.simgrid.msg.Process
  This static method returns the current amount of processes running
getData() - Method in class org.simgrid.msg.Host
  Gets the data of the host.
getHost() - Method in class org.simgrid.msg.Process
  Returns the host of the process.
getHosts() - Method in class org.simgrid.msg.As
getId() - Method in class org.simgrid.msg.Task
getLoad() - Method in class org.simgrid.msg.Host
  This method returns the number of tasks currently running on a host.
getMessageSize() - Method in class org.simgrid.msg.Task
getModel() - Method in class org.simgrid.msg.As
getName() - Method in class org.simgrid.msg.As
getName() - Method in class org.simgrid.msg.Host
  This method returns the name of a host.
getName() - Method in class org.simgrid.msg.Task
  Gets the name of a task
getName() - Method in class org.simgrid.msg.VM
getPID() - Method in class org.simgrid.msg.Process
  This method returns the PID of the process.
getPPID() - Method in class org.simgrid.msg.Process
  This method returns the PID of the parent of a process.
getProperty(String) - Method in class org.simgrid.msg.As
getProperty(String) - Method in class org.simgrid.msg.Host
  Returns the value of a given host property.
getProperty(String) - Method in class org.simgrid.msg.Process
  Returns the value of a given process property.
getRemainingDuration() - Method in class org.simgrid.msg.Task
  Gets the remaining computation of the task
getSender() - Method in class org.simgrid.msg.Task
  Gets the sender of the task Returns null if the task hasn't been sent yet
getSons() - Method in class org.simgrid.msg.As
getSource() - Method in class org.simgrid.msg.Task
  Gets the source of the task.
getSpeed() - Method in class org.simgrid.msg.Host
  This method returns the speed of the processor of a host, regardless of the current load of the machine.
getTask() - Method in class org.simgrid.msg.Comm
  Returns the task associated with the communication.

## H

hasData() - Method in class org.simgrid.msg.Host
  Checks whether a host has data.
Host - Class in org.simgrid.msg
  A host object represents a location (any possible place) where a process may run.
Host() - Constructor for class org.simgrid.msg.Host
host - Variable in class org.simgrid.msg.Process
  The host of the process
HostFailureException - Exception in org.simgrid.msg
  This exception is raised when the host on which you are running has just been rebooted.
HostFailureException() - Constructor for exception org.simgrid.msg.HostFailureException
  Constructs an `HostFailureException` without a detail message.
HostFailureException(String) - Constructor for exception org.simgrid.msg.HostFailureException
  Constructs an `HostFailureException` with a detail message.
HostNotFoundException - Exception in org.simgrid.msg
  This exception is raised when looking for a non-existing host.
HostNotFoundException() - Constructor for exception org.simgrid.msg.HostNotFoundException
  Constructs an `HostNotFoundException` without a detail message.
HostNotFoundException(String) - Constructor for exception org.simgrid.msg.HostNotFoundException
  Constructs an `HostNotFoundException` with a detail message.

## I

id - Variable in class org.simgrid.msg.Process
  Even if this attribute is public you must never access to it.
info(String) - Static method in class org.simgrid.msg.Msg
  Issue an information logging message
init(String[]) - Static method in class org.simgrid.msg.Msg
  The natively implemented method to initialize a MSG simulation.
irecv(String) - Static method in class org.simgrid.msg.Task
  Starts listening for receiving a task from an asynchronous communication
irecvBounded(String, double) - Static method in class org.simgrid.msg.Task
  Starts listening for receiving a task from an asynchronous communication with a capped rate
isAvail() - Method in class org.simgrid.msg.Host
  This method tests if a host is available.
isend(String) - Method in class org.simgrid.msg.Task
  Sends the task on the mailbox asynchronously
isendBounded(String, double) - Method in class org.simgrid.msg.Task
  Sends the task on the mailbox asynchronously (capping the sending rate to \a maxrate)
isRunning() - Method in class org.simgrid.msg.VM
  Returns whether the given VM is currently running
isSuspended() - Method in class org.simgrid.msg.Process
  Tests if a process is suspended.
isSuspended() - Method in class org.simgrid.msg.VM
  Returns whether the given VM is currently suspended

## J

JniException - Exception in org.simgrid.msg
  This exception is raised when there is a problem within the bindings (in JNI).
JniException() - Constructor for exception org.simgrid.msg.JniException
  Constructs an `JniException` without a detail message.
JniException(String) - Constructor for exception org.simgrid.msg.JniException
  Constructs an `JniException` with a detail message.
JniException(String, Exception) - Constructor for exception org.simgrid.msg.JniException

## K

kill() - Method in class org.simgrid.msg.Process
  This method kill a process.
killAll(int) - Static method in class org.simgrid.msg.Process
  This method kills all running process of the simulation.
killTime - Variable in class org.simgrid.msg.Process
  Kill time of the process

## L

listen(String) - Static method in class org.simgrid.msg.Task
  Listen whether there is a waiting task on the mailbox identified by the specified alias
listenFrom(String) - Static method in class org.simgrid.msg.Task
  Tests whether there is a pending communication on the mailbox identified by the specified alias, and who sent it
listenFromHost(String, Host) - Static method in class org.simgrid.msg.Task
  Counts the number of tasks waiting to be received on the \a mailbox identified by the specified alia and sended by the specified \a host.

## M

main(String[]) - Static method in class org.simgrid.msg.Msg
  Example launcher.
main(String[]) - Method in class org.simgrid.msg.Process
  The main function of the process (to implement).
migrate(Host) - Method in class org.simgrid.msg.Process
  Migrates a process to another host.
migrate(Host) - Method in class org.simgrid.msg.VM
  Immediately change the host on which all processes are running No migration cost occurs.
Msg - Class in org.simgrid.msg
Msg() - Constructor for class org.simgrid.msg.Msg
MsgException - Exception in org.simgrid.msg
  This exception is an abstract class grouping all MSG-related exceptions
MsgException() - Constructor for exception org.simgrid.msg.MsgException
  Constructs an `MsgException` without a detail message.
MsgException(String) - Constructor for exception org.simgrid.msg.MsgException
  Constructs an `MsgException` with a detail message.
msgName() - Method in class org.simgrid.msg.Process
  Returns the name of the process
Mutex - Class in org.simgrid.msg
  A mutex implemented on top of SimGrid synchronization mechanisms.
Mutex() - Constructor for class org.simgrid.msg.Mutex

## N

name - Variable in class org.simgrid.msg.Process
  The name of the process.
name - Variable in class org.simgrid.msg.Task
  Task name
NativeException - Exception in org.simgrid.msg
  This exception is raised when there is an error within the C world of SimGrid.
NativeException(String) - Constructor for exception org.simgrid.msg.NativeException
  Constructs an `NativeException` with a detail message.
nativeInit() - Static method in class org.simgrid.msg.As
  Class initializer, to initialize various JNI stuff
nativeInit() - Static method in class org.simgrid.msg.Comm
  Class initializer, to initialize various JNI stuff
nativeInit() - Static method in class org.simgrid.msg.File
  Class initializer, to initialize various JNI stuff
nativeInit() - Static method in class org.simgrid.msg.Host
  Class initializer, to initialize various JNI stuff
nativeInit() - Static method in class org.simgrid.msg.Msg
nativeInit() - Static method in class org.simgrid.msg.Mutex
  Class initializer, to initialize various JNI stuff
nativeInit() - Static method in class org.simgrid.msg.Process
  Class initializer, to initialize various JNI stuff
nativeInit() - Static method in class org.simgrid.msg.RngStream
  Class initializer, to initialize various JNI stuff
nativeInit() - Static method in class org.simgrid.msg.Semaphore
  Class initializer, to initialize various JNI stuff
nativeInit() - Static method in class org.simgrid.msg.Task
  Class initializer, to initialize various JNI stuff
nativeInit() - Static method in class org.simgrid.msg.VM
  Class initializer, to initialize various JNI stuff
nextProcessId - Static variable in class org.simgrid.msg.Process
  Even if this attribute is public you must never access to it.

## O

open(String, String) - Method in class org.simgrid.msg.File
  Opens the file whose name is the string pointed to by path.
org.simgrid.msg - package org.simgrid.msg

## P

pause() - Method in class org.simgrid.msg.Process
  Deprecated.
pid - Variable in class org.simgrid.msg.Process
  The PID of the process
ppid - Variable in class org.simgrid.msg.Process
  The PPID of the process
Process - Class in org.simgrid.msg
  A process may be defined as a code, with some private data, executing in a location (host).
Process() - Constructor for class org.simgrid.msg.Process
  Default constructor
Process(String, String) - Constructor for class org.simgrid.msg.Process
  Constructs a new process from the name of a host and his name.
Process(String, String, String[]) - Constructor for class org.simgrid.msg.Process
  Constructs a new process from the name of a host and his name.
Process(Host, String) - Constructor for class org.simgrid.msg.Process
  Constructs a new process from a host and his name.
Process(Host, String, String[]) - Constructor for class org.simgrid.msg.Process
  Constructs a new process from a host and his name, the arguments of here method function are specified by the parameter args.
Process(Host, String, String[], double, double) - Constructor for class org.simgrid.msg.Process
  Constructs a new process from a host and his name, the arguments of here method function are specified by the parameter args.
ProcessKilledError - Error in org.simgrid.msg
  This error class is only used to interrupt the java user code when the process gets killed by an external event.
ProcessKilledError(String) - Constructor for error org.simgrid.msg.ProcessKilledError
ProcessNotFoundException - Exception in org.simgrid.msg
  This exception is raised when looking for a non-existing process.
ProcessNotFoundException() - Constructor for exception org.simgrid.msg.ProcessNotFoundException
  Constructs an `ProcessNotFoundException` without a detail message.
ProcessNotFoundException(String) - Constructor for exception org.simgrid.msg.ProcessNotFoundException
  Constructs an `ProcessNotFoundException` with a detail message.

## R

randInt(int, int) - Method in class org.simgrid.msg.RngStream
  Returns a (pseudo)random number from the discrete uniform distribution over the integers {i, i + 1, . . . , j}
randU01() - Method in class org.simgrid.msg.RngStream
  Returns a (pseudo)random number from the uniform distribution over the interval (0, 1), after advancing the state by one step.
read(long, long) - Method in class org.simgrid.msg.File
  Read elements of a file.
reboot() - Method in class org.simgrid.msg.VM
  Reboot the VM, restarting all the processes in it.
receive(String) - Static method in class org.simgrid.msg.Task
  Retrieves next task from the mailbox identified by the specified name
receive(String, double) - Static method in class org.simgrid.msg.Task
  Retrieves next task on the mailbox identified by the specified name (wait at most \a timeout seconds)
receive(String, Host) - Static method in class org.simgrid.msg.Task
  Retrieves next task sent by a given host on the mailbox identified by the specified alias
receive(String, double, Host) - Static method in class org.simgrid.msg.Task
  Retrieves next task sent by a given host on the mailbox identified by the specified alias (wait at most \a timeout seconds)
receiveBounded(String, double) - Static method in class org.simgrid.msg.Task
  Retrieves next task from the mailbox identified by the specified name with a capped rate
receiveBounded(String, double, double) - Static method in class org.simgrid.msg.Task
  Retrieves next task on the mailbox identified by the specified name (wait at most \a timeout seconds) with a capped rate
receiveBounded(String, Host, double) - Static method in class org.simgrid.msg.Task
  Retrieves next task sent by a given host on the mailbox identified by the specified alias with a capped rate
receiveBounded(String, double, Host, double) - Static method in class org.simgrid.msg.Task
  Retrieves next task sent by a given host on the mailbox identified by the specified alias (wait at most \a timeout seconds) with a capped rate
receiving - Variable in class org.simgrid.msg.Comm
  Indicates if the communication is a receiving communication
release() - Method in class org.simgrid.msg.Mutex
release() - Method in class org.simgrid.msg.Semaphore
  Releases the semaphore object
resetNextSubstream() - Method in class org.simgrid.msg.RngStream
  Reinitializes the stream g to the beginning of its next substream: Ng is computed, and Cg and Bg are set to Ng .
resetStart() - Method in class org.simgrid.msg.RngStream
  Reinitializes the stream g to its initial state: Cg and Bg are set to Ig .
restart() - Method in class org.simgrid.msg.Process
  Restarts the process from the beginning
restartStartSubstream() - Method in class org.simgrid.msg.RngStream
  Reinitializes the stream g to the beginning of its current substream: Cg is set to Bg .
resume() - Method in class org.simgrid.msg.Process
  Resumes a suspended process by resuming the task on which it was waiting for the completion.
resume() - Method in class org.simgrid.msg.VM
  Immediately resumes the execution of all processes within the given VM No resume cost occurs.
RngStream - Class in org.simgrid.msg
  Export of RngStreams for Java
RngStream() - Constructor for class org.simgrid.msg.RngStream
  Creates and returns a new stream without identifier.
RngStream(String) - Constructor for class org.simgrid.msg.RngStream
  Creates and returns a new stream with identifier "name".
run() - Static method in class org.simgrid.msg.Msg
  Run the MSG simulation.
run() - Method in class org.simgrid.msg.Process
  This method runs the process.

## S

Semaphore - Class in org.simgrid.msg
  A semaphore implemented on top of SimGrid synchronization mechanisms.
Semaphore(int) - Constructor for class org.simgrid.msg.Semaphore
  Creates a new semaphore with the given capacity.
send(String) - Method in class org.simgrid.msg.Task
  Sends the task on the mailbox identified by the specified name
send(String, double) - Method in class org.simgrid.msg.Task
  Sends the task on the mailbox identified by the specified name (wait at most \a timeout seconds)
sendBounded(String, double) - Method in class org.simgrid.msg.Task
  Sends the task on the mailbox identified by the specified alias (capping the sending rate to \a maxrate)
sendBounded(String, double, double) - Method in class org.simgrid.msg.Task
  Sends the task on the mailbox identified by the specified alias (capping the sending rate to \a maxrate) with a timeout
setAntithetic(boolean) - Method in class org.simgrid.msg.RngStream
  If a = true the stream g will start generating antithetic variates, i.e., 1 - U instead of U , until this method is called again with a = false.
setAsyncMailbox(String) - Static method in class org.simgrid.msg.Host
  This static method sets a mailbox to receive in asynchronous mode.
setAutoRestart(boolean) - Method in class org.simgrid.msg.Process
  Sets the "auto-restart" flag of the process.
setComputeDuration(double) - Method in class org.simgrid.msg.Task
  Set the computation amount needed to process the task
setData(Object) - Method in class org.simgrid.msg.Host
  Sets the data of the host.
setDataSize(double) - Method in class org.simgrid.msg.Task
  Set the data size of the task
setId(Long) - Method in class org.simgrid.msg.Task
setKillTime(double) - Method in class org.simgrid.msg.Process
  Set the kill time of the process
setName(String) - Method in class org.simgrid.msg.Task
  Sets the name of the task
setPackageSeed(int[]) - Static method in class org.simgrid.msg.RngStream
  Sets the initial seed of the package RngStreams to the six integers in the vector seed.
setPriority(double) - Method in class org.simgrid.msg.Task
  This method sets the priority of the computation of the task.
setProperty(String, String) - Method in class org.simgrid.msg.Host
  Change the value of a given host property.
setSeed(int[]) - Method in class org.simgrid.msg.RngStream
  Sets the initial seed Ig of stream g to the vector seed.
showArgs() - Method in class org.simgrid.msg.Process
shutdown() - Method in class org.simgrid.msg.VM
  Immediately kills all processes within the given VM.
sleep(long) - Static method in class org.simgrid.msg.Process
  Makes the current process sleep until millis millisecondes have elapsed.
sleep(long, int) - Static method in class org.simgrid.msg.Process
  Makes the current process sleep until millis milliseconds and nanos nanoseconds have elapsed.
start() - Method in class org.simgrid.msg.Process
  This method actually creates and run the process.
startTime - Variable in class org.simgrid.msg.Process
  Start time of the process
storage - Variable in class org.simgrid.msg.File
suspend() - Method in class org.simgrid.msg.Process
  Suspends the process by suspending the task on which it was waiting for the completion.
suspend() - Method in class org.simgrid.msg.VM
  Immediately suspend the execution of all processes within the given VM No suspension cost occurs.

## T

task - Variable in class org.simgrid.msg.Comm
  Task associated with the comm.
Task - Class in org.simgrid.msg
  A task is either something to compute somewhere, or something to exchange between two hosts (or both).
Task() - Constructor for class org.simgrid.msg.Task
  Default constructor (all fields to 0 or null)
Task(String, double, double) - Constructor for class org.simgrid.msg.Task
  Construct an new task with the specified processing amount and amount of data needed.
Task(String, Host[], double[], double[]) - Constructor for class org.simgrid.msg.Task
  Construct an new parallel task with the specified processing amount and amount for each host implied.
TaskCancelledException - Exception in org.simgrid.msg
  This exception is raised when task is cancelled.
TaskCancelledException() - Constructor for exception org.simgrid.msg.TaskCancelledException
  Constructs an `TaskCancelledException` without a detail message.
TaskCancelledException(String) - Constructor for exception org.simgrid.msg.TaskCancelledException
  Constructs an `TaskCancelledException` with a detail message.
test() - Method in class org.simgrid.msg.Comm
  Returns if the communication is finished or not.
TimeoutException - Exception in org.simgrid.msg
  This exception is raised when time's out while sending tasks.
TimeoutException() - Constructor for exception org.simgrid.msg.TimeoutException
  Constructs an `TimeoutFailureException` without a detail message.
TimeoutException(String) - Constructor for exception org.simgrid.msg.TimeoutException
  Constructs an `TransferFailureException` with a detail message.
toString() - Method in class org.simgrid.msg.As
TransferFailureException - Exception in org.simgrid.msg
  This exception is raised if transfer failed while sending tasks.
TransferFailureException() - Constructor for exception org.simgrid.msg.TransferFailureException
  Constructs an `TransferFailureException` without a detail message.
TransferFailureException(String) - Constructor for exception org.simgrid.msg.TransferFailureException
  Constructs an `TransferFailureException` with a detail message.

## U

unbind(Process) - Method in class org.simgrid.msg.VM
  Removes the given process from the given VM, and kill it Will raise a ProcessNotFound exception if the process were not bound to that VM

## V

verb(String) - Static method in class org.simgrid.msg.Msg
  Issue an verbose logging message.
VM - Class in org.simgrid.msg
VM(Host, String, int) - Constructor for class org.simgrid.msg.VM
  Create a new empty VM.

## W

waitCompletion() - Method in class org.simgrid.msg.Comm
  Wait for the complemetion of the communication for an indefinite time
waitCompletion(double) - Method in class org.simgrid.msg.Comm
  Wait for the completion of the communication.
waitFor(double) - Method in class org.simgrid.msg.Process
  Makes the current process sleep until time seconds have elapsed.
warn(String) - Static method in class org.simgrid.msg.Msg
  Issue an warning logging message.
wouldBlock() - Method in class org.simgrid.msg.Semaphore
  returns a boolean indicating it this semaphore would block at this very specific time Note that the returned value may be wrong right after the function call, when you try to use it...
write(long, long) - Method in class org.simgrid.msg.File
  Write elements into a file.

A B C D E F G H I J K L M N O P R S T U V W