|
Brooklyn | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD |
brooklyn.entity.basic.SoftwareProcessDriverbrooklyn.entity.drivers.EntityDriver
public interface SoftwareProcessDriver extends EntityDriver
The EntityDriver for a SoftwareProcessEntity.
In many cases it is cleaner to store entity lifecycle effectors (and sometimes other implementations) in a class to which the entity delegates. Classes implementing this interface provide this delegate, often inheriting utilities specific to a particular transport (e.g. ssh) shared among many different entities. In this way, it is also possible for entities to cleanly support multiple mechanisms for start/stop and other methods.Method Summary | |
---|---|
EntityLocal
|
getEntity()
The entity whose components we are controlling. |
boolean
|
isRunning()
Whether the entity components have started. |
void
|
kill()
Kills the process, ungracefully and immediately where possible (e.g. with `kill -9`). |
void
|
restart()
@see Startable#restart() |
void
|
start()
@see Startable#start(Collection) |
void
|
stop()
@see Startable#stop() |
Methods inherited from interface EntityDriver | |
---|---|
getLocation |
Method Detail |
---|
public EntityLocal getEntity()
public boolean isRunning()
public void kill()
public void restart()
public void start()
public void stop()
Brooklyn Multi-Cloud Application Management Platform
brooklyncentral.github.com. Apache License. © 2012.