| java.lang.Object net.sf.drftpd.mirroring.Job
Job | public class Job (Code) | | author: zubov author: mog version: $Id: Job.java 1482 2006-06-16 04:50:07Z fr0w $ |
addTimeSpent | public void addTimeSpent(long time)(Code) | | |
getDestinationSlaves | public Set<RemoteSlave> getDestinationSlaves()(Code) | | Returns an unmodifiable List of slaves that can be used with.
See Also: net.sf.drftpd.master.SlaveManagerImpl#getASlave(Collection, char, FtpConfig) |
getFile | public LinkedRemoteFileInterface getFile()(Code) | | Returns the file for this job. This file is used to tell the slaves what
file to transfer & receive.
|
getIndex | public long getIndex()(Code) | | |
getPriority | public int getPriority()(Code) | | Returns the priority of this job.
|
getProgress | public synchronized long getProgress()(Code) | | |
getSpeed | public synchronized long getSpeed()(Code) | | |
getTimeCreated | public long getTimeCreated()(Code) | | This is the time that the job was created
|
getTimeSpent | public long getTimeSpent()(Code) | | This is the amount of time spent processing this job
|
isDone | public boolean isDone()(Code) | | returns true if this job has nothing more to send
|
isTransferring | public boolean isTransferring()(Code) | | |
setDone | public void setDone()(Code) | | |
transfer | public void transfer(boolean checkCRC, boolean secureTransfer, RemoteSlave sourceSlave, RemoteSlave destSlave)(Code) | | Returns true if transfer was completed successfully
Parameters: checkCRC - Parameters: sourceSlave - Parameters: destSlave - |
|
|