public class PersistentDaemonRegistry extends Object implements DaemonRegistry
DaemonRegistry.EmptyRegistryException| Constructor and Description |
|---|
PersistentDaemonRegistry(File registryFile,
FileLockManager fileLockManager) |
| Modifier and Type | Method and Description |
|---|---|
List<DaemonInfo> |
getAll() |
List<DaemonInfo> |
getBusy() |
List<DaemonInfo> |
getIdle() |
void |
markBusy(Address address) |
void |
markIdle(Address address) |
void |
remove(Address address) |
void |
store(Address address,
DaemonContext daemonContext,
String password) |
String |
toString() |
public PersistentDaemonRegistry(File registryFile, FileLockManager fileLockManager)
public List<DaemonInfo> getAll()
getAll in interface DaemonRegistrypublic List<DaemonInfo> getIdle()
getIdle in interface DaemonRegistrypublic List<DaemonInfo> getBusy()
getBusy in interface DaemonRegistrypublic void remove(Address address)
remove in interface DaemonRegistrypublic void markBusy(Address address)
markBusy in interface DaemonRegistrypublic void markIdle(Address address)
markIdle in interface DaemonRegistrypublic void store(Address address, DaemonContext daemonContext, String password)
store in interface DaemonRegistryCopyright © 2013. All rights reserved