cacheServiceEnable

Declaration

MPI_RESULT cacheServiceEnable(CacheService cacheService,
			      MPI_BOOL     enable);
Required Header: apputil.h
Change History:
Added in 03.04.11

Description

cacheServiceEnable enables or disables the thread belonging to cacheService.

Value of enable Description
FALSE Disables cacheService and the associated MPIControl object’s status caching by calling mpiControlStatusCacheIntervalSet with an interval of zero.
TRUE Enables cacheService and the associated MPIControl object’s status caching by calling mpiControlStatusCacheIntervalSet with the interval set to the configured CacheServiceConfig.cacheUpdate value.

cacheService The handle to the CacheService object.
enable The enable state to set.

Return Values Description
MPIMessageOK Upon success.

See Also

cacheServiceCreate | cacheServiceDelete | cacheServiceStatus