|
Brooklyn | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbrooklyn.event.adapter.AbstractSensorAdapter
brooklyn.event.adapter.FunctionCallAdapter
class FunctionCallAdapter extends AbstractSensorAdapter
Field Summary | |
---|---|
protected Function |
function
|
protected AbstractSensorAdapter |
parent
|
protected FunctionChainPollHelper |
poller
|
Constructor Summary | |
FunctionCallAdapter(java.util.Map flags = [:], AbstractChainablePollHelper parentPoller, Function f)
|
Method Summary | |
---|---|
void
|
poll(Sensor s, groovy.lang.Closure c = {it})
|
FunctionCallAdapter
|
then(groovy.lang.Closure f)
|
FunctionCallAdapter
|
then(Function f)
|
Methods inherited from class AbstractSensorAdapter | |
---|---|
activateAdapter, addActivationLifecycleListeners, deactivateAdapter, isConnected, register |
Field Detail |
---|
protected final Function function
protected final AbstractSensorAdapter parent
protected final FunctionChainPollHelper poller
Constructor Detail |
---|
FunctionCallAdapter(java.util.Map flags = [:], AbstractChainablePollHelper parentPoller, Function f)
Method Detail |
---|
void poll(Sensor s, groovy.lang.Closure c = {it})
FunctionCallAdapter then(groovy.lang.Closure f)
FunctionCallAdapter then(Function f)
Brooklyn Multi-Cloud Application Management Platform
brooklyncentral.github.com. Apache License. © 2012.