public class AppletHeartbeatThread extends Object implements Runnable, ISharkGridThread
Modifier and Type | Field and Description |
---|---|
private String |
appletID |
boolean |
finished |
Thread |
heartbeatThread |
private int |
numProcessors |
private String |
rootURL |
private String |
version |
Constructor and Description |
---|
AppletHeartbeatThread(String appletID,
int numProcessors,
String thisURLRoot,
String version)
Constructor to create a new thread object
|
Modifier and Type | Method and Description |
---|---|
boolean |
isFinished() |
void |
run()
main method of the heartbeat thread
|
private void |
sendHeartbeat(String appletID) |
void |
setFinished(boolean finish) |
public Thread heartbeatThread
public boolean finished
private int numProcessors
private String appletID
private String rootURL
private String version
public boolean isFinished()
isFinished
in interface ISharkGridThread
public void setFinished(boolean finish)
private void sendHeartbeat(String appletID)
Copyright © 2014. All Rights Reserved.