<!--NewPage-->\r
<HTML>\r
<HEAD>\r
-<!-- Generated by javadoc (build 1.6.0_14) on Wed Feb 17 16:46:49 GMT 2010 -->\r
+<!-- Generated by javadoc (build 1.6.0_24) on Fri Aug 12 14:32:35 BST 2011 -->\r
<TITLE>\r
LoadBalancer\r
</TITLE>\r
\r
-<META NAME="date" CONTENT="2010-02-17">\r
+<META NAME="date" CONTENT="2011-08-12">\r
\r
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style">\r
\r
<BR>\r
Class LoadBalancer</H2>\r
<PRE>\r
-java.lang.Object\r
+<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>\r
<IMG SRC="../../resources/inherit.gif" ALT="extended by "><B>compbio.engine.LoadBalancer</B>\r
</PRE>\r
<HR>\r
<DL>\r
-<DT><PRE>public class <B>LoadBalancer</B><DT>extends java.lang.Object</DL>\r
+<DT><PRE>public class <B>LoadBalancer</B><DT>extends <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></DL>\r
</PRE>\r
\r
<P>\r
+This class decides where to execute the job. If the local engine is enabled
+ in the configuration file and it has free threads and the size of the tasks
+ permits the local execution, then the local execution will be favoured.\r
+<P>\r
+\r
+<P>\r
+<DL>\r
+<DT><B>Version:</B></DT>\r
+ <DD>1.0 March 2009</DD>\r
+<DT><B>Author:</B></DT>\r
+ <DD>pvtroshin</DD>\r
+</DL>\r
<HR>\r
\r
<P>\r
</TABLE>\r
</CODE></FONT></TD>\r
<TD><CODE><B><A HREF="../../compbio/engine/LoadBalancer.html#getEngine(compbio.engine.client.Executable, java.util.List)">getEngine</A></B>(<A HREF="../../compbio/engine/client/Executable.html" title="interface in compbio.engine.client">Executable</A><V> executable,\r
- java.util.List<<A HREF="../../compbio/data/sequence/FastaSequence.html" title="class in compbio.data.sequence">FastaSequence</A>> dataSet)</CODE>\r
+ <A HREF="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="../../compbio/data/sequence/FastaSequence.html" title="class in compbio.data.sequence">FastaSequence</A>> dataSet)</CODE>\r
\r
<BR>\r
</TD>\r
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>\r
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">\r
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">\r
-<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>\r
+<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>\r
</TR>\r
<TR BGCOLOR="white" CLASS="TableRowColor">\r
-<TD><CODE>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>\r
+<TD><CODE><A HREF="http://java.sun.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://java.sun.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://java.sun.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://java.sun.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://java.sun.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://java.sun.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://java.sun.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://java.sun.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://java.sun.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>\r
</TR>\r
</TABLE>\r
\r
getEngine</H3>\r
<PRE>\r
public static <T,V> <A HREF="../../compbio/engine/client/Executable.ExecProvider.html" title="enum in compbio.engine.client">Executable.ExecProvider</A> <B>getEngine</B>(<A HREF="../../compbio/engine/client/Executable.html" title="interface in compbio.engine.client">Executable</A><V> executable,\r
- java.util.List<<A HREF="../../compbio/data/sequence/FastaSequence.html" title="class in compbio.data.sequence">FastaSequence</A>> dataSet)</PRE>\r
+ <A HREF="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="../../compbio/data/sequence/FastaSequence.html" title="class in compbio.data.sequence">FastaSequence</A>> dataSet)</PRE>\r
<DL>\r
<DD><DL>\r
</DL>\r