Operations class for container distributions that provide element migration. More...
| Public Member Functions | |
| void | migrate (gid_type const &gid, const location_type destination) | 
| Migrate a single element with a specific GID to a given location.  More... | |
| Public Types | |
| typedef distribution_traits< derived_type >::value_type | value_type | 
| typedef distribution_traits< derived_type >::gid_type | gid_type | 
Operations class for container distributions that provide element migration.
This concept requires that the derived distribution has get_element. The derived container manager must support add_element and remove_element. The derived directory must be able to handle update.
The migration protocol is a 5-point protocol as explained in LCPC 2012:
 
| Derived | The most derived distribution class | 
| void stapl::operations::migratable< Derived >::migrate | ( | gid_type const & | gid, | 
| const location_type | destination | ||
| ) | 
Migrate a single element with a specific GID to a given location.
This is the first (intent) message in the migration protocol described in LCPC 2012.
| gid | The GID to migrate | 
| destination | The location to migrate to | 
 1.8.13
 1.8.13