This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
<apidef name="actions">Actions API</apidef>
</apidefs>
<changes>
<change id="RequestProcessorForClass">
<api name="util"/>
<summary>Simplified constructor for RequestProcessor</summary>
<version major="8" minor="3"/>
<date day="13" month="4" year="2010"/>
<author login="jtulach"/>
<compatibility addition="yes"/>
<description>
<p>
Simpler constructor for RequestProcessor.
</p>
</description>
<class package="org.openide.util" name="RequestProcessor"/>
<issue number="180458"/>
</change>
<change id="ActionInvoker-ActionPresenterProvider">
<api name="actions"/>
<summary>Action SPI interfaces added</summary>
Manifest-Version: 1.0
OpenIDE-Module: org.openide.util
OpenIDE-Module-Localizing-Bundle: org/openide/util/Bundle.properties
OpenIDE-Module-Specification-Version: 8.2
OpenIDE-Module-Specification-Version: 8.3
this(name, 1);
}
/** Convenience constructor for a new RequestProcessor with throughput 1.
* Typical usage is:
* <pre>
* class MyClass {
* private static final RequestProcessor RP = new RequestProcessor(MyClass.class);
*
* }
* </pre>
* Behaves as <code>new RequestProcessor(MyClass.class.getName())</code>.
* @param forClass name of this class gives name for the processor threads
* @since 8.3
*/
public RequestProcessor(Class<?> forClass) {
this(forClass.getName());
/** Creates a new named RequestProcessor with defined throughput.
* @param name the name to use for the request processor thread
* @param throughput the maximal count of requests allowed to run in parallel
static final class Priority {
static final RequestProcessor RP = new RequestProcessor(Priority.class);
/**
* A test that check that priorities are handled well.
r[i] = new R(i);
RequestProcessor rp = new RequestProcessor("PrioriyTest");
RequestProcessor rp = Priority.RP;
RequestProcessor.Task t[] = new RequestProcessor.Task[5];
synchronized (r[0]) {