|
Brooklyn | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD |
public interface Startable
This interface describes an Entity that can be started and stopped. The Effectors are START, STOP and RESTART. The start effector takes a collection of Location objects as an argument which will cause the entity to be started or stopped in all these locations. The other effectors will stop or restart the entity in the location(s) it is already running in.
Field Summary | |
---|---|
Effector |
RESTART
|
AttributeSensor |
SERVICE_UP
|
Effector |
START
|
Effector |
STOP
|
Method Summary | |
---|---|
void
|
restart()
Restart the entity. |
void
|
start(java.util.Collection locations)
Start the entity in the given collection of locations. |
void
|
stop()
Stop the entity. |
Field Detail |
---|
public Effector RESTART
public AttributeSensor SERVICE_UP
public Effector START
public Effector STOP
Method Detail |
---|
@Description("Restart the process/service represented by an entity") public void restart()
@Description("Start the process/service represented by an entity") public void start(@NamedParameter("locations") java.util.Collection locations)
@Description("Stop the process/service represented by an entity") public void stop()
Brooklyn Multi-Cloud Application Management Platform
brooklyncentral.github.com. Apache License. © 2012.