msiSetRescSortScheme ( msParam_t *  xsortScheme,
ruleExecInfo_t *  rei 
)
Description:
This microservice sets the scheme for selecting the best resource to use when creating a data object.
Module:
core
Since:
pre-2.1
Author:
Mike Wan
Date:
2007
Example Usage:
See clients/icommands/test/rules3.0/
Parameters:
[in] xsortScheme - The sorting scheme. Valid schemes are "default", "random" and "byRescType". The "byRescType" scheme will put the cache class of resource on the top of the list. The scheme "random" and "byRescType" can be applied in sequence.
[in,out] rei - The RuleExecInfo structure that is automatically handled by the rule engine. The user does not include rei as a parameter in the rule invocation.
Session Variables Used:
  • rei->rgi (can be NULL), rei->doinp->condInput
Session Variables Modified:
  • rei->rgi
iCAT Attributes Used:
none
iCAT Attributes Modified:
none
Side Effect:
none
Returns:
integer
Return values:
0 on success
Precondition:
none
Postcondition:
none
See also:
none

Definition at line 130 of file reSysDataObjOpr.c.

Generated on Thu Oct 31 10:19:17 2013 for iRODS Documentation by  doxygen 1.6.3