Type Function Return value none Revision Release 2024.3703 Keywords on-demand resources, onDemandResources, setPreservationPriority See also onDemandResources.request() onDemandResources.getPreservationPriority() onDemandResources.*
You can influence the system’s eviction process via preservation priority. The system will evict resources with lower preservation priority first.
This function allows you to set the preservation priority for a specified tag.
onDemandResources.setPreservationPriority( tag, priority )
String. Tag for which to set the preservation priority.
Number. Number in the range of 0.0
to 1.0
where 1.0
is the highest preservation priority.