| java.lang.Object org.drftpd.master.SlaveManager
All known Subclasses: org.drftpd.tests.DummySlaveManager,
SlaveManager | public class SlaveManager implements Runnable(Code) | | author: mog version: $Id: SlaveManager.java 1562 2007-01-05 12:37:07Z zubov $ |
actualTimeout | final protected static int actualTimeout(Code) | | |
SlaveManager | public SlaveManager()(Code) | | For JUnit tests
|
addShutdownHook | protected void addShutdownHook()(Code) | | |
deleteOnAllSlaves | public void deleteOnAllSlaves(LinkedRemoteFile file)(Code) | | Accepts files and directories and does the physical deletes asynchronously
Waits for a response and handles errors on each slave
Use RemoteSlave.simpleDelete(path) if you want to just delete one file
Parameters: file - |
getAllStatus | public SlaveStatus getAllStatus()(Code) | | Not cached at all since RemoteSlave objects cache their SlaveStatus
|
hasAvailableSlaves | public boolean hasAvailableSlaves()(Code) | | Returns true if one or more slaves are online, false otherwise.
true if one or more slaves are online, false otherwise. |
saveFilelist | public void saveFilelist()(Code) | | |
|
|