|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gridbus.broker.common.Service
org.gridbus.broker.common.DataHost
public abstract class DataHost
| Constructor Summary | |
|---|---|
DataHost()
|
|
DataHost(java.lang.String hostname)
Constructor for DataHost class. |
|
| Method Summary | |
|---|---|
void |
addFilePath(java.lang.String filename,
java.lang.String path)
Adds a filepath to the list of existing files hosted by this datahost |
void |
clearFilePaths()
Clears all the file paths associated with this datahost |
boolean |
equals(java.lang.Object otherHost)
|
int |
getDataAccessMode()
|
abstract int |
getDataHostType()
|
java.util.Map |
getFileTable()
|
abstract java.lang.String |
getFullFilePath(java.lang.String filename)
Returns the full path of the file (including the filename) on this host specified by the filename |
java.lang.String |
getHostname()
|
int |
getServiceType()
|
boolean |
isFilePresent(java.lang.String filename)
Returns whether the file specified by the filename exists on this host or not |
void |
setDataAccessMode(int dataAccessMode)
|
| Methods inherited from class org.gridbus.broker.common.Service |
|---|
discoverProperties, getApplicationID, getId, getMappingID, getName, isAvailable, setApplicationID, setAvailable, setMappingID, setName |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DataHost()
public DataHost(java.lang.String hostname)
hostname - | Method Detail |
|---|
public void addFilePath(java.lang.String filename,
java.lang.String path)
filename - path - public void clearFilePaths()
public abstract java.lang.String getFullFilePath(java.lang.String filename)
filename -
public boolean isFilePresent(java.lang.String filename)
filename -
public java.lang.String getHostname()
public int getServiceType()
getServiceType in class Serviceorg.gridbus.broker.farming.common.Service#getServiceType()public abstract int getDataHostType()
public java.util.Map getFileTable()
public int getDataAccessMode()
public void setDataAccessMode(int dataAccessMode)
dataAccessMode - The dataAccessMode to set.public boolean equals(java.lang.Object otherHost)
equals in class java.lang.Object
|
Copyright © The University of Melbourne. 2006 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||