Contents | Package | Class | Tree | Deprecated | Index | Help | |||
PREV | NEXT | SHOW LISTS | HIDE LISTS |
java.lang.Object | +----mpi.Request
Field Summary | |
long | handle
|
static int | NULL
|
Constructor Summary | |
Request()
|
|
Request(int Type)
|
|
Request(long _handle)
|
Method Summary | |
void | Cancel()
|
void | Free()
|
boolean | Is_null()
|
Status | Test()
|
static Status[] | Testall(Request[] array_of_request)
|
static Status | Testany(Request[] array_of_request)
|
static Status[] | Testsome(Request[] array_of_request)
|
Status | Wait()
|
static Status[] | Waitall(Request[] array_of_request)
|
static Status[] | Waitsome(Request[] array_of_request)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int NULL
protected long handle
Constructor Detail |
public Request()
public Request(int Type)
public Request(long _handle)
Method Detail |
public void Free()
public void Cancel()
public boolean Is_null()
returns: | true if the request object is void, false otherwise |
public Status Wait()
returns: | status object |
Java binding of the MPI operation MPI_WAIT.
After the call returns, the request object becomes inactive.
public Status Test()
returns: | status object or null handle |
Java binding of the MPI operation MPI_TEST.
After the call, if the operation is complete (ie, if the return value is non-null), the request object becomes inactive.
public static Status Testany(Request[] array_of_request)
array_of_requests | array of requests |
returns: | status object or null handle |
Java binding of the MPI operation MPI_TESTANY.
If some request completed, the index in array_of_requests for that request can be obtained from the returned status object through the. The corresponding element of array_of_requests becomes inactive. If no request completed, Testany returns a null handle.
public static Status[] Waitall(Request[] array_of_request)
array_of_requests | array of requests |
returns: | array of status objects |
Java binding of the MPI operation MPI_WAITALL.
The result array will be the same size as array_of_requests. On exit, requests become inactive. If the input value of arrayOfRequests contains inactive requests, corresponding elements of the result array will contain null status handles.
public static Status[] Testall(Request[] array_of_request)
array_of_requests | array of requests |
returns: | array of status objects |
Java binding of the MPI operation MPI_TESTALL.
If all operations have completed, the exit value of the argument array and the result array are as for Waitall. If any operation has not completed, the result value is null and no element of the argument array is modified.
public static Status[] Waitsome(Request[] array_of_request)
array_of_requests | array of requests |
returns: | array of status objects |
Java binding of the MPI operation MPI_WAITSOME.
The size of the result array will be the number of operations that completed. The index in array_of_requests for each request that completed can be obtained from the returned status objects through the Status.index field. The corresponding element in array_of_requests becomes inactive.
public static Status[] Testsome(Request[] array_of_request)
array_of_requests | array of requests |
returns: | array of status objects |
Java binding of the MPI operation MPI_TESTSOME.
If no operation has completed, TestSome returns an array of length zero and elements of array_of_requests are unchanged. Otherwise, arguments and return value are as for Waitsome.
Contents | Package | Class | Tree | Deprecated | Index | Help | |||
PREV | NEXT | SHOW LISTS | HIDE LISTS |