public final class ListThreads extends Object implements ContentGenerator
NEW
. The thread has been created, but hasn't run yet.TERMINATED
. The thread has run to completion, but hasn't been deleted yet by the JVM.RUNNABLE
. The thread is running.BLOCKED
. The thread is blocked waiting on a lock (such as in a synchronized block or method).WAITING
. The thread is waiting until another thread calls notify().TIMED_WAITING
. The thread is either waiting or in a sleep().Constructor and Description |
---|
ListThreads() |
Modifier and Type | Method and Description |
---|---|
void |
process(ContentRequest req,
org.pageseeder.xmlwriter.XMLWriter xml)
Produces the actual content.
|
public void process(ContentRequest req, org.pageseeder.xmlwriter.XMLWriter xml) throws BerliozException, IOException
ContentGenerator
This is the main method of this interface, it should:
Implementation should specify which attribute or parameters are used or required.
process
in interface ContentGenerator
req
- The content request.xml
- The XML output.BerliozException
- If an exception is thrown, it should be wrapped into a Berlioz
exception in order to provide additional details.IOException
- If an I/O error occurs while writing to the XML writer.Copyright © 2016 Allette Systems. All rights reserved.