next up previous contents
Next: Process Topologies Up: Groups, Contexts and Communicators Previous: Inter-Communication   Contents

Caching

It is assumed that, to achieve the effect of caching attributes in user-customized communicators, programmers will create subclasses of the library-defined communicator classes.

void Comm.Attr_put(int keyval, Object attribute_val)
Java binding of the MPI operation MPI_ATTR_PUT.

Object Comm.Attr_get(int keyval)
Java binding of the MPI operation MPI_ATTR_GET. If flag is false, return value is null. Otherwise return value is attribute_val

void Comm.Attr_delete(int keyval)
Java binding of the MPI operation MPI_ATTR_DELETE.



Bryan Carpenter 2002-07-12