diff --git a/docs/manual/CoreTasks/nice.html b/docs/manual/CoreTasks/nice.html new file mode 100644 index 000000000..b4df03821 --- /dev/null +++ b/docs/manual/CoreTasks/nice.html @@ -0,0 +1,56 @@ + + + + +Nice Task + + + + +

Nice

+

Description

+

Provide "nice-ness" to the current thread + and/or query the current value.

+

Parameters

+ + + + + + + + + + + + + + + + +
AttributeDescriptionRequired
currentprioritythe name of the property whose value should be + set to the current "nice-ness" level. + No
newprioritythe value to which the + "nice-ness" level should be set. + Must be a valid Java Thread priority. + No
+

Examples

+
   <nice newpriority="10" />
+Set the Thread priority to 10. +
   <nice currentpriority="priority" />
+Store the current Thread priority in the user property "priority". +
+   <nice currentpriority="currentpriority" newpriority="1" />
+
+

Set the current Thread priority to 1, storing the original +priority in the user property "currentpriority". This +can be used to set the priority back to its original value later. +

+
+ +

Copyright © 2004 The Apache Software Foundation. All rights +Reserved.

+ + + + diff --git a/docs/manual/coretasklist.html b/docs/manual/coretasklist.html index 098813bf1..1850929ad 100644 --- a/docs/manual/coretasklist.html +++ b/docs/manual/coretasklist.html @@ -65,6 +65,7 @@ Manifest
Mkdir
Move
+Nice
Parallel
Patch
PathConvert
@@ -99,4 +100,4 @@ Xslt
Zip
- \ No newline at end of file +