FileDocCategorySizeDatePackage
jdk12PriorityAction.javaAPI DocJMF 2.1.1e898Mon May 12 12:20:44 BST 2003com.sun.media.util

jdk12PriorityAction

public class jdk12PriorityAction extends Object implements PrivilegedAction

Fields Summary
private Thread
t
private int
priority
public static Constructor
cons
Constructors Summary
public jdk12PriorityAction(Thread t, int priority)

	try {
	    cons = jdk12PriorityAction.class.getConstructor(new Class[] {
		Thread.class, int.class});
	} catch (Throwable e) {
	}
    
	this.t = t;
	this.priority = priority;
    
Methods Summary
public java.lang.Objectrun()

	try {
	    t.setPriority(priority);
	    return null;
	} catch (Throwable t) {
// 	    System.err.println("jdk12PriorityAction: run throws " + t +
// 			       " : " + t.getMessage());
	    return null;
	}