public class FarmJobRunnable extends Object implements Runnable
Constructor and Description |
---|
FarmJobRunnable(FarmJobParameters params) |
Modifier and Type | Method and Description |
---|---|
void |
addAlignmentProgressListener(AlignmentProgressListener listener) |
String |
alignPair(String name1,
String name2) |
String |
alignPair(String name1,
String name2,
String algorithmName) |
void |
clearListeners() |
protected PdbPairsMessage |
getAlignmentPairsFromServer()
talk to centralized server and fetch all alignments to run.
|
protected static String |
getRandomUsername() |
boolean |
isWaitForAlignments() |
void |
run() |
protected void |
sendResultsToServer(List<String> results) |
void |
setWaitForAlignments(boolean waitForAlignments) |
void |
terminate()
Send signal to terminate calculations
|
public FarmJobRunnable(FarmJobParameters params)
public void addAlignmentProgressListener(AlignmentProgressListener listener)
public void clearListeners()
protected static String getRandomUsername()
public String alignPair(String name1, String name2) throws StructureException, IOException
StructureException
IOException
public String alignPair(String name1, String name2, String algorithmName) throws StructureException, IOException
StructureException
IOException
protected PdbPairsMessage getAlignmentPairsFromServer()
protected void sendResultsToServer(List<String> results)
public void terminate()
public boolean isWaitForAlignments()
public void setWaitForAlignments(boolean waitForAlignments)
Copyright © 2000–2018 BioJava. All rights reserved.