|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjpl.mipl.mdms.FileService.komodo.api.RestartInfo
public class RestartInfo
This JavaBean keeps track of restart information that can be presisted on the client local disk to assist restart transfer of data file.
| Constructor Summary | |
|---|---|
RestartInfo()
Deprecated. A default constructor to help serialization of class instance. |
|
RestartInfo(String fileType,
String persistFile)
Deprecated. Constructor used by the komodo client to create new restart objects |
|
| Method Summary | |
|---|---|
void |
addResume(String filename,
long size,
String datetime)
Deprecated. Method to create a new entry to the file name hash table. |
void |
addResume(String filename,
String vft,
long size,
String datetime)
Deprecated. Method to create a new entry to the file name hash table. |
void |
commit()
Deprecated. Method to persist the RestartInfo object |
Properties |
getFileList()
Deprecated. Accessor method to obtain the hash table for file names. |
String |
getFileType()
Deprecated. Accessor method to obtain the file type name. |
long |
getListRestartTime()
Deprecated. Method to obtain the file query restart time. |
String |
getPersistFile()
Deprecated. Accessor method to obtain the name of the persistent file. |
long |
getRestartTime()
Deprecated. Accessor method to obtain the restart time. |
String |
getResume(String filename,
String filepath)
Deprecated. Method to retrieve the resume string for the associated file. |
Properties |
getVFTList()
Deprecated. |
String |
removeResume(String filename)
Deprecated. Method to remove an entry from the hash table. |
void |
setFileList(Properties fileList)
Deprecated. Method to set the file list hash table. |
void |
setFileType(String fileType)
Deprecated. Method to set the associated file type. |
void |
setListRestartTime(long restartTime)
Deprecated. Method to set the file query restart time |
void |
setPersistFile(String persistFile)
Deprecated. Method to set the name of the persistent file. |
void |
setRestartTime(long restartTime)
Deprecated. Method to set the restart time |
void |
setVFTList(Properties vftList)
Deprecated. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RestartInfo()
public RestartInfo(String fileType,
String persistFile)
fileType - the associated file typepersistFile - the persistent file name| Method Detail |
|---|
public String getPersistFile()
public void setPersistFile(String persistFile)
persistFile - name of the persistent file.public String getFileType()
public void setFileType(String fileType)
fileType - the file type namepublic Properties getFileList()
public void setFileList(Properties fileList)
fileList - the hash table reference.public Properties getVFTList()
public void setVFTList(Properties vftList)
public long getRestartTime()
public void setRestartTime(long restartTime)
restartTime - the restart timestamp.public long getListRestartTime()
public void setListRestartTime(long restartTime)
restartTime - the file query restart time.
public void addResume(String filename,
long size,
String datetime)
filename - the file namesize - the file sizedatetime - the file registred time on the server.
public void addResume(String filename,
String vft,
long size,
String datetime)
filename - the file namevft - the name of the VFTsize - the file sizedatetime - the file registered time on the serverpublic String removeResume(String filename)
filename - the file name to be removed
public String getResume(String filename,
String filepath)
filename - the file namefilepath - the location of the file on the client side.
public void commit()
throws SessionException
SessionException - when unable to cache the object instance.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||