|
Brooklyn | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD | |||||||
brooklyn.entity.Entitybrooklyn.entity.basic.SoftwareProcess
brooklyn.entity.trait.Startable
brooklyn.entity.proxy.LoadBalancer
brooklyn.entity.proxy.AbstractController
brooklyn.entity.rebind.Rebindable
@ImplementedBy(AbstractControllerImpl.class) public interface AbstractController extends LoadBalancer, SoftwareProcess
Represents a controller mechanism for a Cluster.
| Field Summary | |
|---|---|
static BasicAttributeSensorAndConfigKey |
DOMAIN_NAME
|
static BasicAttributeSensorAndConfigKey |
PORT_NUMBER_SENSOR
sensor for port to forward to on target entities |
static BasicAttributeSensorAndConfigKey |
PROTOCOL
|
static PortAttributeSensorAndConfigKey |
PROXY_HTTP_PORT
port where this controller should live |
static MethodEffector |
RELOAD
|
static BasicAttributeSensor |
ROOT_URL
|
static BasicAttributeSensor |
SERVER_POOL_TARGETS
|
static BasicConfigKey |
SSL_CONFIG
|
static BasicAttributeSensor |
TARGETS
@deprecated Use SERVER_POOL_TARGETS |
static MethodEffector |
UPDATE
|
| Fields inherited from interface LoadBalancer | |
|---|---|
| SERVER_POOL, URL_MAPPINGS |
| Fields inherited from interface Startable | |
|---|---|
| RESTART, SERVICE_UP, START, STOP |
| Method Summary | |
|---|---|
void
|
bind(java.util.Map flags)
Opportunity to do late-binding of the cluster that is being controlled. |
java.lang.String
|
getDomain()
returns primary domain this controller responds to, or null if it responds to all domains |
java.lang.Integer
|
getPort()
|
AttributeSensor
|
getPortNumberSensor()
|
java.lang.String
|
getProtocol()
|
java.lang.String
|
getUrl()
primary URL this controller serves, if one can / has been inferred |
boolean
|
isActive()
|
void
|
reload()
|
void
|
update()
|
| Field Detail |
|---|
@SetFromFlag("domain")
public static final BasicAttributeSensorAndConfigKey DOMAIN_NAME
@SetFromFlag("portNumberSensor")
public static final BasicAttributeSensorAndConfigKey PORT_NUMBER_SENSOR
@SetFromFlag("protocol")
public static final BasicAttributeSensorAndConfigKey PROTOCOL
@SetFromFlag("port")
/** port where this controller should live */
public static final PortAttributeSensorAndConfigKey PROXY_HTTP_PORT
public static final MethodEffector RELOAD
public static final BasicAttributeSensor ROOT_URL
public static final BasicAttributeSensor SERVER_POOL_TARGETS
@SetFromFlag("ssl")
public static final BasicConfigKey SSL_CONFIG
public static final BasicAttributeSensor TARGETS
public static final MethodEffector UPDATE
| Method Detail |
|---|
public void bind(java.util.Map flags)
public java.lang.String getDomain()
public java.lang.Integer getPort()
public AttributeSensor getPortNumberSensor()
public java.lang.String getProtocol()
public java.lang.String getUrl()
public boolean isActive()
@Description("Forces reload of the configuration")
public void reload()
@Description("Updates the entities configuration, and then forces reload of that configuration")
public void update()
Brooklyn Multi-Cloud Application Management Platform
brooklyncentral.github.com. Apache License. © 2012.