Brooklyn

brooklyn.event.feed
[Java] Class PollConfig

java.lang.Object
  brooklyn.event.feed.FeedConfig
      brooklyn.event.feed.PollConfig

public class PollConfig
extends FeedConfig

Configuration for polling, which is being added to a feed (e.g. to poll a given URL over http).

Authors:
aled


Field Summary
 
Fields inherited from class FeedConfig
UNSET
 
Constructor Summary
PollConfig(AttributeSensor sensor)

PollConfig(PollConfig other)

 
Method Summary
long getPeriod()

This period(long val)

This period(long val, java.util.concurrent.TimeUnit units)

 
Methods inherited from class FeedConfig
getOnError, getOnSuccess, getSensor, onError, onSuccess, self
 

Constructor Detail

PollConfig

public PollConfig(AttributeSensor sensor)


PollConfig

public PollConfig(PollConfig other)


 
Method Detail

getPeriod

public long getPeriod()


period

public This period(long val)


period

public This period(long val, java.util.concurrent.TimeUnit units)


 

Brooklyn Multi-Cloud Application Management Platform
brooklyncentral.github.com. Apache License. © 2012.