|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.objectweb.proactive.filetransfer.FileVector
public class FileVector
This class contains a result of a file transfer operation. It can be used to block until the operation has finished, or it can be passed to other file transfer operations using file transfer forwarding.
| Field Summary | |
|---|---|
protected static org.apache.log4j.Logger |
logger
|
| Constructor Summary | |
|---|---|
FileVector()
|
|
| Method Summary | |
|---|---|
protected void |
add(FileTransferRequest ftr)
|
void |
add(FileVector fw)
|
protected void |
add(java.util.Vector newFileReq)
|
java.io.File |
getFile(int i)
This method will return a File object representing the result of the File Transfer operation (push or pull). |
protected java.util.Vector |
getFilesRequest()
This method returns the file transfer requests. |
int |
size()
Returns the current size of the vector |
void |
waitForAll()
Waits for all the pending futures inside this file vector. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static org.apache.log4j.Logger logger
| Constructor Detail |
|---|
public FileVector()
| Method Detail |
|---|
public void waitForAll()
public java.io.File getFile(int i)
throws java.lang.Exception
i - The index of the file inside this vector
java.lang.Exception - An error if the file transfer operation did not succeed.public int size()
protected java.util.Vector getFilesRequest()
protected void add(FileTransferRequest ftr)
protected void add(java.util.Vector newFileReq)
public void add(FileVector fw)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||