|
Brooklyn | |||||||
PREV NEXT | FRAMES NO FRAMES |
Interfaces | |
---|---|
TaskPreprocessor
The preprocessor is an internal mechanism to decorate Tasks. |
|
ValueProvider
TODO javadoc |
Classes | |
---|---|
AbstractCombiningEnricher
Convenience base for transforming multiple sensors into a single new sensor. |
|
AbstractPollHelper
captures common fields and processes for pollers that support sensor adapters |
|
AbstractPushHelper
Captures common fields and processes for pushers that support sensor adapters. |
|
AbstractSensorAdapter
Captures common fields and processes for sensor adapters |
|
AbstractSensorEvaluationContext
provides fields and methods that are brought into scope when executing closures submitted by an entity developer for evaluating a sensor; fields can be made explicit, to be shared among multiple sensors; and specific per-sensor evaluation properties can be passed as "extraProperties" which exist only for that evaluation context duration |
|
ConfigSensorAdapter
Simple config adapter which, on registration, sets all config-attributes from config values |
|
EffectorInferredFromAnnotatedMethod
|
|
EffectorUtils
@deprecated Use brooklyn.management.internal.EffectorUtils; deprecated since 0.5 |
|
EffectorWithExplicitImplementation
|
|
FunctionSensorAdapter
Entry point for wiring up arbitrary functions to be used as the source for sensors. |
|
HttpPollHelper
@deprecated See brooklyn.event.feed.http.HttpFeed |
|
HttpResponseContext
context object for evaluating sensor closures with http data handy |
|
HttpSensorAdapter
@deprecated See brooklyn.event.feed.http.HttpFeed |
|
JBoss6ServerFactory
@deprecated since 0.5; instead use new BasicConfigurableEntityFactory(JBoss6ServerImpl.class) |
|
JBoss7ServerFactory
@deprecated since 0.5; instead use new BasicConfigurableEntityFactory(JBoss7ServerImpl.class) |
|
JmxAttributeAdapter
Adapter that polls for a JMX attribute. |
|
JmxHelper
@deprecated Use brooklyn.event.feed.jmx.JmxHelper instead |
|
JmxNotificationAdapter
Adapter that subscribes to a JMX notification. |
|
JmxNotificationFilters
@deprecated Use brooklyn.event.feed.jmx.JmxNotificationFilters instead |
|
JmxObjectNameAdapter
Provides convenient/fluent (and preferred) way to access a JMX object instance. |
|
JmxOperationAdapter
Adapter that periodically calls a JMX operation. |
|
JmxReachableAdapter
Adapter that polls for a JMX attribute. |
|
JmxSensorAdapter
Entry point for wiring up brooklyn attributes to jmx; this doesn't evaluate any sensors directly, but provides support for specific object-name/attribute combos etc. |
|
Main
Launches just the brooklyn web-console. |
|
OldSshSensorAdapter
This class adapts the result of commands sent over SSH to Sensor data for a particular Entity, updating the Activity as required. |
|
SensorRegistry
This class manages the periodic polling of a set of sensors, to update the attribute values of a particular Entity. |
|
ShellSensorAdapter
Like FunctionSensorAdapter but executes a shell command (on the local machine where this instance of brooklyn is running). |
|
SingleThreadedExecution
Instances of this class ensures that Tasks it is shown execute with in-order single-threaded semantics. |
|
SingleValueResponseContext
@deprecated See brooklyn.event.feed |
|
SshMatchValueProvider
Provides return value of a command to a sensor. |
|
SshOutputValueProvider
Provides output of a command to a sensor. |
|
SshPollHelper
Captures output and exit code for SshSensorAdapter. |
|
SshResultContext
Context object for evaluating sensor closures with ssh command results. |
|
SshReturnValueProvider
Provides return value of a command to a sensor. |
|
SshSensorAdapter
@deprecated See brooklyn.event.feed.ssh.SshFeed |
|
SshShellSensorAdapter
Like ShellSensorAdapter but executes the shell command remotely. |
|
StringUtils
Conveniences for manipulating strings. |
|
TomcatServerFactory
@deprecated since 0.5; instead use new BasicConfigurableEntityFactory(TomcatServerImpl.class) |
|
TrustingSslSocketFactory
An SSLSocketFactory which trusts all endpoints (ie encryption but no authentication) |
Exceptions | |
---|---|
EntityStartException
Indicate an exception when attempting to start an entity. |
Annotation Types | |
---|---|
Create
@deprecated This annotation had no effect; deprecated in brooklyn 0.4.0. |
|
Destroy
@deprecated This annotation had no effect; deprecated in brooklyn 0.4.0. |
|
Error
@deprecated This annotation had no effect; deprecated in brooklyn 0.4.0. |
|
PostStart
@deprecated This annotation had no effect; deprecated in brooklyn 0.4.0. |
|
PreStart
@deprecated This annotation had no effect; deprecated in brooklyn 0.4.0. |
|
PreStop
@deprecated This annotation had no effect; deprecated in brooklyn 0.4.0. |
Methods | |
---|---|
AbstractEntity#hasEverBeenManaged()
FIXME Temporary workaround for use-case: - the load balancing policy test calls app.managementContext.unmanage(itemToStop) - concurrently, the policy calls an effector on that item: item.move() - The code in AbstractManagementContext.invokeEffectorMethodSync calls manageIfNecessary. |
|
AbstractEntity#onManagementBecomingMaster()
Invoked by ManagementContext when this entity becomes managed at a particular management node, including the initial management started and subsequent management node master-change for this entity. |
|
AbstractEntity#onManagementNoLongerMaster()
Invoked by ManagementContext when this entity becomes mastered at a particular management node, including the final management end and subsequent management node master-change for this entity. |
|
AbstractEntity#toStringFieldsToInclude()
override this, adding to the collection, to supply fields whose value, if not null, should be included in the toString |
|
AbstractSoftwareProcessSshDriver#getDefaultVersion()
|
|
AbstractSoftwareProcessSshDriver#getEntityVersionLabel()
@deprecated since 0.5.0; instead rely on DownloadResolverRegistry to include local-repo |
|
AbstractSoftwareProcessSshDriver#getEntityVersionLabel(java.lang.String separator)
@deprecated since 0.5.0; instead rely on DownloadResolverRegistry to include local-repo |
|
BasicConfigKey#resolveValue(java.lang.Object v, java.lang.Class type, ExecutionContext exec)
attempt to resolve the given value as the given type, waiting on futures, and coercing as allowed by TypeCoercions |
|
BasicExecutionManager#setBlockingDetails(java.lang.String description)
convenience for setting "blocking details" on any task where the current thread is running; typically invoked prior to a wait, for transparency to a user; then invoked with 'null' just after the wait |
|
BasicExecutionManager#withBlockingDetails(java.lang.String description, java.util.concurrent.Callable code)
convenience for setting "blocking details" on any task where the current thread is running, while the passed code is executed; often used from groovy as withBlockingDetails("sleeping 5s") { Thread.sleep(5000); } |
|
CommandLineLocations#getLocationsById(java.util.List ids)
|
|
CommonCommands#downloadUrlAs(java.lang.String url, java.lang.String entityVersionPath, java.lang.String pathlessFilenameToSaveAs)
@see downloadUrlAs(Map, String, String, String) |
|
CommonCommands#downloadUrlAs(java.util.Map flags, java.lang.String url, java.lang.String entityVersionPath, java.lang.String pathlessFilenameToSaveAs)
/** Returns command for downloading from a url and saving to a file; currently using curl. |
|
CustomAggregatingEnricher#getAveragingEnricher(java.util.List producer, AttributeSensor source, AttributeSensor target)
|
|
CustomAggregatingEnricher#getSummingEnricher(java.util.List producer, AttributeSensor source, AttributeSensor target)
|
|
Entity#addOwnedChild(Entity child)
@deprecated since 0.5; see addChild(Entity) |
|
Entity#clearOwner()
@deprecated since 0.5; see clearParent() |
|
Entity#getOwnedChildren()
@deprecated since 0.5; see getChildren() |
|
Entity#getOwner()
@deprecated since 0.5; see getParent() |
|
Entity#removeOwnedChild(Entity child)
@deprecated since 0.5; see removeChild(Entity) |
|
Entity#setOwner(Entity group)
@deprecated since 0.5; see setOwner(Entity) |
|
EntityInternal#getExecutionContext()
@return The task execution context for the entity, or null if it is not yet managed. |
|
EntityInternal#getManagementContext()
@return The management context for the entity, or null if it is not yet managed. |
|
EntityInternal#setAttribute(AttributeSensorAndConfigKey configuredSensor)
sets the value of the given attribute sensor from the config key value herein, if the config key resolves to a non-null value as a sensor |
|
EntityLocal#getConfig(ConfigKey key, java.lang.Object defaultValue)
sets the value of the given attribute sensor from the config key value herein, // * if the config key resolves to a non-null value as a sensor // * // * @deprecated since 0.5; use setAttribute(AttributeSensor, Object), such as // * // * T val = getConfig(KEY.getConfigKey()); // * if (val ! |
|
EntityLocal#getConfig(HasConfigKey key, java.lang.Object defaultValue)
@deprecated in 0.5; use getConfig(HasConfigKey) |
|
EntityLocal#getExecutionContext()
@return The task execution context for the entity, or null if it is not yet managed. |
|
EntityLocal#getManagementContext()
@return The management context for the entity, or null if it is not yet managed. |
|
ExecutionManager#submit(java.util.Map flags, java.lang.Object c)
@see submit(Map, Task) |
|
JBoss7SshDriver#getManagementPort()
@deprecated since 0.5; use getManagementHttpPort() instead |
|
LanguageUtils#newUid()
@deprecated use Identifiers.makeRandomId(8) |
|
Location#findLocationProperty(java.lang.String key)
// * Returns the location properties of this immediate location (i.e. not including those from the parent hierarchy). // * @deprecated since 0.5.0, use getAllConfig // |
|
Location#getLocationProperty(java.lang.String key)
Returns the value of the property identified by the specified key. |
|
Location#hasLocationProperty(java.lang.String key)
Returns true iff this location contains a property with the specified key. |
|
ManagementContext#getEntities()
All entities under control of this management plane |
|
ManagementContext#getEntity(java.lang.String id)
Returns the entity with the given identifier (may be a full instance, or a proxy to one which is remote) |
|
ManagementContext#isManaged(Entity entity)
Whether the entity is under management by this management context |
|
ManagementContext#manage(Entity e)
Manage an entity. |
|
ManagementContext#unmanage(Entity e)
Unmanage an entity. |
|
MethodEffector#MethodEffector(java.lang.Class whereEffectorDefined, java.lang.String methodName, java.lang.String description)
|
|
Repeater#limitTimeTo(long duration)
@see #limitTimeTo(long, TimeUnit) |
|
SensorRegistry#activateAdapters()
@deprecated activated automatically, as soon as constructed. |
|
SensorRegistry#addSensor(AttributeSensor sensor, ValueProvider provider)
@deprecated in 0.4. use new SensorAdapter model. |
|
SensorRegistry#addSensor(AttributeSensor sensor, ValueProvider provider, long period)
@deprecated in 0.4. use new SensorAdapter model. |
|
SensorRegistry#removeSensor(AttributeSensor sensor)
@deprecated in 0.4. use new SensorAdapter model. |
|
SensorRegistry#update(Sensor sensor)
@deprecated in 0.4. use new SensorAdapter model. |
|
SensorRegistry#updateAll()
@deprecated in 0.4. use new SensorAdapter model. |
|
SshMachineLocation#exec(java.util.List commands)
Convenience for running commands using ssh {@literal exec} mode. |
|
SshMachineLocation#run(java.util.List commands)
|
|
SshTool#createFile(java.util.Map props, java.lang.String pathAndFileOnRemoteServer, java.io.InputStream input, long size)
@deprecated since 0.5; See copyToServer(Map, InputStream, String) |
|
SshTool#createFile(java.util.Map props, java.lang.String pathAndFileOnRemoteServer, java.lang.String contents)
@deprecated since 0.5; See copyToServer(Map, byte[], String) |
|
SshTool#createFile(java.util.Map props, java.lang.String pathAndFileOnRemoteServer, byte[] contents)
@deprecated since 0.5; See copyToServer(Map, byte[], String) |
|
SshTool#transferFileFrom(java.util.Map props, java.lang.String pathAndFileOnRemoteServer, java.lang.String pathAndFileOnLocalServer)
@deprecated since 0.5; See copyFromServer(Map, InputStream, String) |
|
SshTool#transferFileTo(java.util.Map props, java.io.InputStream input, java.lang.String pathAndFileOnRemoteServer)
@deprecated since 0.5; See copyToServer(Map, InputStream, String) |
|
TestUtils#connectToURL(java.lang.String url)
Connects to the given url and returns the connection. |
|
TestUtils#urlRespondsStatusCode(java.lang.String url)
Connects to the given HTTP URL and asserts that the response had status code 200. |
|
TestUtils#urlRespondsWithStatusCode200(java.lang.String url)
Connects to the given HTTP URL and asserts that the response had status code 200. |
Constructors | |
---|---|
AbstractAggregatingEnricher#AbstractAggregatingEnricher(java.util.List producers, AttributeSensor source, AttributeSensor target)
|
|
AbstractApplication#AbstractApplication(java.util.Map properties, Entity parent)
Constructor for when application is nested inside another application |
|
AbstractEntity#AbstractEntity(java.util.Map flags)
@deprecated since 0.5; instead use no-arg constructor with EntityManager().createEntity(spec) |
|
AbstractEntity#AbstractEntity(Entity parent)
@deprecated since 0.5; instead use no-arg constructor with EntityManager().createEntity(spec) |
|
AbstractEntity#AbstractEntity(java.util.Map flags, Entity parent)
@deprecated since 0.5; instead use no-arg constructor with EntityManager().createEntity(spec) |
|
CustomAggregatingEnricher#CustomAggregatingEnricher(java.util.List producer, AttributeSensor source, AttributeSensor target, groovy.lang.Closure aggregator, S defaultValue)
|
|
CustomAggregatingEnricher#CustomAggregatingEnricher(java.util.List producer, AttributeSensor source, AttributeSensor target, Function aggregator, S defaultValue)
|
Brooklyn Multi-Cloud Application Management Platform
brooklyncentral.github.com. Apache License. © 2012.