| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!--NewPage--> |
| <HTML> |
| <HEAD> |
| <TITLE> |
| RunnableQueue (Apache Batik Javadoc) |
| </TITLE> |
| |
| |
| <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> |
| |
| <SCRIPT type="text/javascript"> |
| function windowTitle() |
| { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="RunnableQueue (Apache Batik Javadoc)"; |
| } |
| } |
| </SCRIPT> |
| <NOSCRIPT> |
| </NOSCRIPT> |
| |
| </HEAD> |
| |
| <BODY BGCOLOR="white" onload="windowTitle();"> |
| <HR> |
| |
| |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <A NAME="navbar_top"><!-- --></A> |
| <A HREF="#skip-navbar_top" title="Skip navigation links"></A> |
| <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
| <TR> |
| <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
| <A NAME="navbar_top_firstrow"><!-- --></A> |
| <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
| <TR ALIGN="center" VALIGN="top"> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/RunnableQueue.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| </TR> |
| </TABLE> |
| </TD> |
| <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| </EM> |
| </TD> |
| </TR> |
| |
| <TR> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../org/apache/batik/util/PreferenceManager.html" title="class in org.apache.batik.util"><B>PREV CLASS</B></A> |
| <A HREF="../../../../org/apache/batik/util/RunnableQueue.IdleRunnable.html" title="interface in org.apache.batik.util"><B>NEXT CLASS</B></A></FONT></TD> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../index.html?org/apache/batik/util/RunnableQueue.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="RunnableQueue.html" target="_top"><B>NO FRAMES</B></A> |
| <SCRIPT type="text/javascript"> |
| <!-- |
| if(window==top) { |
| document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
| } |
| //--> |
| </SCRIPT> |
| <NOSCRIPT> |
| <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> |
| </NOSCRIPT> |
| |
| |
| </FONT></TD> |
| </TR> |
| <TR> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| SUMMARY: <A HREF="#nested_class_summary">NESTED</A> | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| </TR> |
| </TABLE> |
| <A NAME="skip-navbar_top"></A> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| |
| <HR> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <H2> |
| <FONT SIZE="-1"> |
| org.apache.batik.util</FONT> |
| <BR> |
| Class RunnableQueue</H2> |
| <PRE> |
| <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A> |
| <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.batik.util.RunnableQueue</B> |
| </PRE> |
| <DL> |
| <DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Runnable.html?is-external=true" title="class or interface in java.lang">Runnable</A></DD> |
| </DL> |
| <HR> |
| <DL> |
| <DT><PRE>public class <B>RunnableQueue</B><DT>extends <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A><DT>implements <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Runnable.html?is-external=true" title="class or interface in java.lang">Runnable</A></DL> |
| </PRE> |
| |
| <P> |
| This class represents an object which queues Runnable objects for |
| invocation in a single thread. |
| <P> |
| |
| <P> |
| <HR> |
| |
| <P> |
| <!-- ======== NESTED CLASS SUMMARY ======== --> |
| |
| <A NAME="nested_class_summary"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
| <B>Nested Class Summary</B></FONT></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static interface</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/util/RunnableQueue.IdleRunnable.html" title="interface in org.apache.batik.util">RunnableQueue.IdleRunnable</A></B></CODE> |
| |
| <BR> |
| A <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Runnable.html?is-external=true" title="class or interface in java.lang"><CODE>Runnable</CODE></A> that can also inform the caller how long it should |
| be until it is run again.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected static class</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/util/RunnableQueue.Link.html" title="class in org.apache.batik.util">RunnableQueue.Link</A></B></CODE> |
| |
| <BR> |
| To store a Runnable.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected static class</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/util/RunnableQueue.LockableLink.html" title="class in org.apache.batik.util">RunnableQueue.LockableLink</A></B></CODE> |
| |
| <BR> |
| To store a Runnable with an object waiting for him to be executed.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static interface</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/util/RunnableQueue.RunHandler.html" title="interface in org.apache.batik.util">RunnableQueue.RunHandler</A></B></CODE> |
| |
| <BR> |
| This interface must be implemented by an object which wants to |
| be notified of run events.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static class</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/util/RunnableQueue.RunHandlerAdapter.html" title="class in org.apache.batik.util">RunnableQueue.RunHandlerAdapter</A></B></CODE> |
| |
| <BR> |
| This is an adapter class that implements the RunHandler interface.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static class</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/util/RunnableQueue.RunnableQueueState.html" title="class in org.apache.batik.util">RunnableQueue.RunnableQueueState</A></B></CODE> |
| |
| <BR> |
| Type-safe enumeration of queue states.</TD> |
| </TR> |
| </TABLE> |
| <!-- =========== FIELD SUMMARY =========== --> |
| |
| <A NAME="field_summary"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
| <B>Field Summary</B></FONT></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/util/RunnableQueue.html#preemptCount">preemptCount</A></B></CODE> |
| |
| <BR> |
| Count of preempt entries in queue, so preempt entries |
| can be kept properly ordered.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected <A HREF="../../../../org/apache/batik/util/RunnableQueue.RunHandler.html" title="interface in org.apache.batik.util">RunnableQueue.RunHandler</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/util/RunnableQueue.html#runHandler">runHandler</A></B></CODE> |
| |
| <BR> |
| The object which handle run events.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected <A HREF="../../../../org/apache/batik/util/HaltingThread.html" title="class in org.apache.batik.util">HaltingThread</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/util/RunnableQueue.html#runnableQueueThread">runnableQueueThread</A></B></CODE> |
| |
| <BR> |
| The current thread.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="../../../../org/apache/batik/util/RunnableQueue.RunnableQueueState.html" title="class in org.apache.batik.util">RunnableQueue.RunnableQueueState</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/util/RunnableQueue.html#RUNNING">RUNNING</A></B></CODE> |
| |
| <BR> |
| The queue is in the process of running tasks.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected <A HREF="../../../../org/apache/batik/util/RunnableQueue.RunnableQueueState.html" title="class in org.apache.batik.util">RunnableQueue.RunnableQueueState</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/util/RunnableQueue.html#state">state</A></B></CODE> |
| |
| <BR> |
| The Suspension state of this thread.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/util/RunnableQueue.html#stateLock">stateLock</A></B></CODE> |
| |
| <BR> |
| Object to synchronize/wait/notify for suspension |
| issues.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="../../../../org/apache/batik/util/RunnableQueue.RunnableQueueState.html" title="class in org.apache.batik.util">RunnableQueue.RunnableQueueState</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/util/RunnableQueue.html#SUSPENDED">SUSPENDED</A></B></CODE> |
| |
| <BR> |
| The queue is no longer running any tasks and will not |
| run any tasks until resumeExecution is called.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="../../../../org/apache/batik/util/RunnableQueue.RunnableQueueState.html" title="class in org.apache.batik.util">RunnableQueue.RunnableQueueState</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/util/RunnableQueue.html#SUSPENDING">SUSPENDING</A></B></CODE> |
| |
| <BR> |
| The queue may still be running tasks but as soon as possible |
| will go to SUSPENDED state.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/util/RunnableQueue.html#wasResumed">wasResumed</A></B></CODE> |
| |
| <BR> |
| Used to indicate if the queue was resumed while |
| still running, so a 'resumed' event can be sent.</TD> |
| </TR> |
| </TABLE> |
| |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| |
| <A NAME="constructor_summary"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
| <B>Constructor Summary</B></FONT></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/util/RunnableQueue.html#RunnableQueue()">RunnableQueue</A></B>()</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| </TABLE> |
| |
| <!-- ========== METHOD SUMMARY =========== --> |
| |
| <A NAME="method_summary"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
| <B>Method Summary</B></FONT></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="../../../../org/apache/batik/util/RunnableQueue.html" title="class in org.apache.batik.util">RunnableQueue</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/util/RunnableQueue.html#createRunnableQueue()">createRunnableQueue</A></B>()</CODE> |
| |
| <BR> |
| Creates a new RunnableQueue started in a new thread.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/util/RunnableQueue.html#executionResumed()">executionResumed</A></B>()</CODE> |
| |
| <BR> |
| Called when execution is being resumed.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/util/RunnableQueue.html#executionSuspended()">executionSuspended</A></B>()</CODE> |
| |
| <BR> |
| Called when execution is being suspended.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/util/RunnableQueue.html#getIteratorLock()">getIteratorLock</A></B>()</CODE> |
| |
| <BR> |
| Returns iterator lock to use to work with the iterator |
| returned by iterator().</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../org/apache/batik/util/RunnableQueue.RunnableQueueState.html" title="class in org.apache.batik.util">RunnableQueue.RunnableQueueState</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/util/RunnableQueue.html#getQueueState()">getQueueState</A></B>()</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../org/apache/batik/util/RunnableQueue.RunHandler.html" title="interface in org.apache.batik.util">RunnableQueue.RunHandler</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/util/RunnableQueue.html#getRunHandler()">getRunHandler</A></B>()</CODE> |
| |
| <BR> |
| Returns the RunHandler or null.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../org/apache/batik/util/HaltingThread.html" title="class in org.apache.batik.util">HaltingThread</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/util/RunnableQueue.html#getThread()">getThread</A></B>()</CODE> |
| |
| <BR> |
| Returns the thread in which the RunnableQueue is currently running.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/util/RunnableQueue.html#invokeAndWait(java.lang.Runnable)">invokeAndWait</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Runnable.html?is-external=true" title="class or interface in java.lang">Runnable</A> r)</CODE> |
| |
| <BR> |
| Waits until the given Runnable's <code>run()</code> has returned.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/util/RunnableQueue.html#invokeLater(java.lang.Runnable)">invokeLater</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Runnable.html?is-external=true" title="class or interface in java.lang">Runnable</A> r)</CODE> |
| |
| <BR> |
| Schedules the given Runnable object for a later invocation, and |
| returns.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/util/RunnableQueue.html#iterator()">iterator</A></B>()</CODE> |
| |
| <BR> |
| Returns an iterator over the runnables.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/util/RunnableQueue.html#preemptAndWait(java.lang.Runnable)">preemptAndWait</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Runnable.html?is-external=true" title="class or interface in java.lang">Runnable</A> r)</CODE> |
| |
| <BR> |
| Waits until the given Runnable's <code>run()</code> has returned.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/util/RunnableQueue.html#preemptLater(java.lang.Runnable)">preemptLater</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Runnable.html?is-external=true" title="class or interface in java.lang">Runnable</A> r)</CODE> |
| |
| <BR> |
| Schedules the given Runnable object for a later invocation, and |
| returns.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/util/RunnableQueue.html#resumeExecution()">resumeExecution</A></B>()</CODE> |
| |
| <BR> |
| Resumes the execution of this queue.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/util/RunnableQueue.html#run()">run</A></B>()</CODE> |
| |
| <BR> |
| Runs this queue.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/util/RunnableQueue.html#runnableInvoked(java.lang.Runnable)">runnableInvoked</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Runnable.html?is-external=true" title="class or interface in java.lang">Runnable</A> rable)</CODE> |
| |
| <BR> |
| Called when a Runnable completes.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/util/RunnableQueue.html#runnableStart(java.lang.Runnable)">runnableStart</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Runnable.html?is-external=true" title="class or interface in java.lang">Runnable</A> rable)</CODE> |
| |
| <BR> |
| Called just prior to executing a Runnable.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/util/RunnableQueue.html#setIdleRunnable(org.apache.batik.util.RunnableQueue.IdleRunnable)">setIdleRunnable</A></B>(<A HREF="../../../../org/apache/batik/util/RunnableQueue.IdleRunnable.html" title="interface in org.apache.batik.util">RunnableQueue.IdleRunnable</A> r)</CODE> |
| |
| <BR> |
| Sets a Runnable to be run whenever the queue is empty.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/util/RunnableQueue.html#setRunHandler(org.apache.batik.util.RunnableQueue.RunHandler)">setRunHandler</A></B>(<A HREF="../../../../org/apache/batik/util/RunnableQueue.RunHandler.html" title="interface in org.apache.batik.util">RunnableQueue.RunHandler</A> rh)</CODE> |
| |
| <BR> |
| Sets the RunHandler for this queue.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/batik/util/RunnableQueue.html#suspendExecution(boolean)">suspendExecution</A></B>(boolean waitTillSuspended)</CODE> |
| |
| <BR> |
| Suspends the execution of this queue after the current runnable |
| completes.</TD> |
| </TR> |
| </TABLE> |
| <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| <TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD> |
| </TR> |
| </TABLE> |
| |
| <P> |
| |
| <!-- ============ FIELD DETAIL =========== --> |
| |
| <A NAME="field_detail"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
| <B>Field Detail</B></FONT></TH> |
| </TR> |
| </TABLE> |
| |
| <A NAME="RUNNING"><!-- --></A><H3> |
| RUNNING</H3> |
| <PRE> |
| public static final <A HREF="../../../../org/apache/batik/util/RunnableQueue.RunnableQueueState.html" title="class in org.apache.batik.util">RunnableQueue.RunnableQueueState</A> <B>RUNNING</B></PRE> |
| <DL> |
| <DD>The queue is in the process of running tasks. |
| <P> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="SUSPENDING"><!-- --></A><H3> |
| SUSPENDING</H3> |
| <PRE> |
| public static final <A HREF="../../../../org/apache/batik/util/RunnableQueue.RunnableQueueState.html" title="class in org.apache.batik.util">RunnableQueue.RunnableQueueState</A> <B>SUSPENDING</B></PRE> |
| <DL> |
| <DD>The queue may still be running tasks but as soon as possible |
| will go to SUSPENDED state. |
| <P> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="SUSPENDED"><!-- --></A><H3> |
| SUSPENDED</H3> |
| <PRE> |
| public static final <A HREF="../../../../org/apache/batik/util/RunnableQueue.RunnableQueueState.html" title="class in org.apache.batik.util">RunnableQueue.RunnableQueueState</A> <B>SUSPENDED</B></PRE> |
| <DL> |
| <DD>The queue is no longer running any tasks and will not |
| run any tasks until resumeExecution is called. |
| <P> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="state"><!-- --></A><H3> |
| state</H3> |
| <PRE> |
| protected volatile <A HREF="../../../../org/apache/batik/util/RunnableQueue.RunnableQueueState.html" title="class in org.apache.batik.util">RunnableQueue.RunnableQueueState</A> <B>state</B></PRE> |
| <DL> |
| <DD>The Suspension state of this thread. |
| <P> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="stateLock"><!-- --></A><H3> |
| stateLock</H3> |
| <PRE> |
| protected final <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> <B>stateLock</B></PRE> |
| <DL> |
| <DD>Object to synchronize/wait/notify for suspension |
| issues. |
| <P> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="wasResumed"><!-- --></A><H3> |
| wasResumed</H3> |
| <PRE> |
| protected boolean <B>wasResumed</B></PRE> |
| <DL> |
| <DD>Used to indicate if the queue was resumed while |
| still running, so a 'resumed' event can be sent. |
| <P> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="preemptCount"><!-- --></A><H3> |
| preemptCount</H3> |
| <PRE> |
| protected int <B>preemptCount</B></PRE> |
| <DL> |
| <DD>Count of preempt entries in queue, so preempt entries |
| can be kept properly ordered. |
| <P> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="runHandler"><!-- --></A><H3> |
| runHandler</H3> |
| <PRE> |
| protected <A HREF="../../../../org/apache/batik/util/RunnableQueue.RunHandler.html" title="interface in org.apache.batik.util">RunnableQueue.RunHandler</A> <B>runHandler</B></PRE> |
| <DL> |
| <DD>The object which handle run events. |
| <P> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="runnableQueueThread"><!-- --></A><H3> |
| runnableQueueThread</H3> |
| <PRE> |
| protected volatile <A HREF="../../../../org/apache/batik/util/HaltingThread.html" title="class in org.apache.batik.util">HaltingThread</A> <B>runnableQueueThread</B></PRE> |
| <DL> |
| <DD>The current thread. |
| <P> |
| <DL> |
| </DL> |
| </DL> |
| |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| |
| <A NAME="constructor_detail"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
| <B>Constructor Detail</B></FONT></TH> |
| </TR> |
| </TABLE> |
| |
| <A NAME="RunnableQueue()"><!-- --></A><H3> |
| RunnableQueue</H3> |
| <PRE> |
| public <B>RunnableQueue</B>()</PRE> |
| <DL> |
| </DL> |
| |
| <!-- ============ METHOD DETAIL ========== --> |
| |
| <A NAME="method_detail"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
| <B>Method Detail</B></FONT></TH> |
| </TR> |
| </TABLE> |
| |
| <A NAME="createRunnableQueue()"><!-- --></A><H3> |
| createRunnableQueue</H3> |
| <PRE> |
| public static <A HREF="../../../../org/apache/batik/util/RunnableQueue.html" title="class in org.apache.batik.util">RunnableQueue</A> <B>createRunnableQueue</B>()</PRE> |
| <DL> |
| <DD>Creates a new RunnableQueue started in a new thread. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>a RunnableQueue which is guaranteed to have entered its |
| <code>run()</code> method.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="run()"><!-- --></A><H3> |
| run</H3> |
| <PRE> |
| public void <B>run</B>()</PRE> |
| <DL> |
| <DD>Runs this queue. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Runnable.html?is-external=true#run()" title="class or interface in java.lang">run</A></CODE> in interface <CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Runnable.html?is-external=true" title="class or interface in java.lang">Runnable</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getThread()"><!-- --></A><H3> |
| getThread</H3> |
| <PRE> |
| public <A HREF="../../../../org/apache/batik/util/HaltingThread.html" title="class in org.apache.batik.util">HaltingThread</A> <B>getThread</B>()</PRE> |
| <DL> |
| <DD>Returns the thread in which the RunnableQueue is currently running. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>null if the RunnableQueue has not entered his |
| <code>run()</code> method.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="invokeLater(java.lang.Runnable)"><!-- --></A><H3> |
| invokeLater</H3> |
| <PRE> |
| public void <B>invokeLater</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Runnable.html?is-external=true" title="class or interface in java.lang">Runnable</A> r)</PRE> |
| <DL> |
| <DD>Schedules the given Runnable object for a later invocation, and |
| returns. |
| An exception is thrown if the RunnableQueue was not started. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/IllegalStateException.html?is-external=true" title="class or interface in java.lang">IllegalStateException</A></CODE> - if getThread() is null.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="invokeAndWait(java.lang.Runnable)"><!-- --></A><H3> |
| invokeAndWait</H3> |
| <PRE> |
| public void <B>invokeAndWait</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Runnable.html?is-external=true" title="class or interface in java.lang">Runnable</A> r) |
| throws <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</A></PRE> |
| <DL> |
| <DD>Waits until the given Runnable's <code>run()</code> has returned. |
| <em>Note: <code>invokeAndWait()</code> must not be called from the |
| current thread (for example from the <code>run()</code> method of the |
| argument).</em> |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/IllegalStateException.html?is-external=true" title="class or interface in java.lang">IllegalStateException</A></CODE> - if getThread() is null or if the |
| thread returned by getThread() is the current one. |
| <DD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="preemptLater(java.lang.Runnable)"><!-- --></A><H3> |
| preemptLater</H3> |
| <PRE> |
| public void <B>preemptLater</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Runnable.html?is-external=true" title="class or interface in java.lang">Runnable</A> r)</PRE> |
| <DL> |
| <DD>Schedules the given Runnable object for a later invocation, and |
| returns. The given runnable preempts any runnable that is not |
| currently executing (ie the next runnable started will be the |
| one given). An exception is thrown if the RunnableQueue was |
| not started. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/IllegalStateException.html?is-external=true" title="class or interface in java.lang">IllegalStateException</A></CODE> - if getThread() is null.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="preemptAndWait(java.lang.Runnable)"><!-- --></A><H3> |
| preemptAndWait</H3> |
| <PRE> |
| public void <B>preemptAndWait</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Runnable.html?is-external=true" title="class or interface in java.lang">Runnable</A> r) |
| throws <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</A></PRE> |
| <DL> |
| <DD>Waits until the given Runnable's <code>run()</code> has returned. |
| The given runnable preempts any runnable that is not currently |
| executing (ie the next runnable started will be the one given). |
| <em>Note: <code>preemptAndWait()</code> must not be called from the |
| current thread (for example from the <code>run()</code> method of the |
| argument).</em> |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/IllegalStateException.html?is-external=true" title="class or interface in java.lang">IllegalStateException</A></CODE> - if getThread() is null or if the |
| thread returned by getThread() is the current one. |
| <DD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getQueueState()"><!-- --></A><H3> |
| getQueueState</H3> |
| <PRE> |
| public <A HREF="../../../../org/apache/batik/util/RunnableQueue.RunnableQueueState.html" title="class in org.apache.batik.util">RunnableQueue.RunnableQueueState</A> <B>getQueueState</B>()</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="suspendExecution(boolean)"><!-- --></A><H3> |
| suspendExecution</H3> |
| <PRE> |
| public void <B>suspendExecution</B>(boolean waitTillSuspended)</PRE> |
| <DL> |
| <DD>Suspends the execution of this queue after the current runnable |
| completes. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>waitTillSuspended</CODE> - if true this method will not return |
| until the queue has suspended (no runnable in progress |
| or about to be in progress). If resumeExecution is |
| called while waiting will simply return (this really |
| indicates a race condition in your code). This may |
| return before an associated RunHandler is notified. |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/IllegalStateException.html?is-external=true" title="class or interface in java.lang">IllegalStateException</A></CODE> - if getThread() is null.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="resumeExecution()"><!-- --></A><H3> |
| resumeExecution</H3> |
| <PRE> |
| public void <B>resumeExecution</B>()</PRE> |
| <DL> |
| <DD>Resumes the execution of this queue. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/IllegalStateException.html?is-external=true" title="class or interface in java.lang">IllegalStateException</A></CODE> - if getThread() is null.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getIteratorLock()"><!-- --></A><H3> |
| getIteratorLock</H3> |
| <PRE> |
| public <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> <B>getIteratorLock</B>()</PRE> |
| <DL> |
| <DD>Returns iterator lock to use to work with the iterator |
| returned by iterator(). |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="iterator()"><!-- --></A><H3> |
| iterator</H3> |
| <PRE> |
| public <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</A> <B>iterator</B>()</PRE> |
| <DL> |
| <DD>Returns an iterator over the runnables. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setRunHandler(org.apache.batik.util.RunnableQueue.RunHandler)"><!-- --></A><H3> |
| setRunHandler</H3> |
| <PRE> |
| public void <B>setRunHandler</B>(<A HREF="../../../../org/apache/batik/util/RunnableQueue.RunHandler.html" title="interface in org.apache.batik.util">RunnableQueue.RunHandler</A> rh)</PRE> |
| <DL> |
| <DD>Sets the RunHandler for this queue. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getRunHandler()"><!-- --></A><H3> |
| getRunHandler</H3> |
| <PRE> |
| public <A HREF="../../../../org/apache/batik/util/RunnableQueue.RunHandler.html" title="interface in org.apache.batik.util">RunnableQueue.RunHandler</A> <B>getRunHandler</B>()</PRE> |
| <DL> |
| <DD>Returns the RunHandler or null. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setIdleRunnable(org.apache.batik.util.RunnableQueue.IdleRunnable)"><!-- --></A><H3> |
| setIdleRunnable</H3> |
| <PRE> |
| public void <B>setIdleRunnable</B>(<A HREF="../../../../org/apache/batik/util/RunnableQueue.IdleRunnable.html" title="interface in org.apache.batik.util">RunnableQueue.IdleRunnable</A> r)</PRE> |
| <DL> |
| <DD>Sets a Runnable to be run whenever the queue is empty. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="executionSuspended()"><!-- --></A><H3> |
| executionSuspended</H3> |
| <PRE> |
| protected void <B>executionSuspended</B>()</PRE> |
| <DL> |
| <DD>Called when execution is being suspended. |
| Currently just notifies runHandler |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="executionResumed()"><!-- --></A><H3> |
| executionResumed</H3> |
| <PRE> |
| protected void <B>executionResumed</B>()</PRE> |
| <DL> |
| <DD>Called when execution is being resumed. |
| Currently just notifies runHandler |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="runnableStart(java.lang.Runnable)"><!-- --></A><H3> |
| runnableStart</H3> |
| <PRE> |
| protected void <B>runnableStart</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Runnable.html?is-external=true" title="class or interface in java.lang">Runnable</A> rable)</PRE> |
| <DL> |
| <DD>Called just prior to executing a Runnable. |
| Currently just notifies runHandler |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>rable</CODE> - The runnable that is about to start</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="runnableInvoked(java.lang.Runnable)"><!-- --></A><H3> |
| runnableInvoked</H3> |
| <PRE> |
| protected void <B>runnableInvoked</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Runnable.html?is-external=true" title="class or interface in java.lang">Runnable</A> rable)</PRE> |
| <DL> |
| <DD>Called when a Runnable completes. |
| Currently just notifies runHandler |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>rable</CODE> - The runnable that just completed.</DL> |
| </DD> |
| </DL> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <HR> |
| |
| |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <A NAME="navbar_bottom"><!-- --></A> |
| <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
| <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
| <TR> |
| <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
| <A NAME="navbar_bottom_firstrow"><!-- --></A> |
| <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
| <TR ALIGN="center" VALIGN="top"> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/RunnableQueue.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| </TR> |
| </TABLE> |
| </TD> |
| <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| </EM> |
| </TD> |
| </TR> |
| |
| <TR> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../org/apache/batik/util/PreferenceManager.html" title="class in org.apache.batik.util"><B>PREV CLASS</B></A> |
| <A HREF="../../../../org/apache/batik/util/RunnableQueue.IdleRunnable.html" title="interface in org.apache.batik.util"><B>NEXT CLASS</B></A></FONT></TD> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../index.html?org/apache/batik/util/RunnableQueue.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="RunnableQueue.html" target="_top"><B>NO FRAMES</B></A> |
| <SCRIPT type="text/javascript"> |
| <!-- |
| if(window==top) { |
| document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
| } |
| //--> |
| </SCRIPT> |
| <NOSCRIPT> |
| <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> |
| </NOSCRIPT> |
| |
| |
| </FONT></TD> |
| </TR> |
| <TR> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| SUMMARY: <A HREF="#nested_class_summary">NESTED</A> | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| </TR> |
| </TABLE> |
| <A NAME="skip-navbar_bottom"></A> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| |
| <HR> |
| Copyright © 2017 <a href='http://www.apache.org/'>Apache Software Foundation</a>. All Rights Reserved. |
| </BODY> |
| </HTML> |