public abstract class StreamMonitor extends AbstractProcessor implements Service
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
dweet |
protected DweetWriter |
dweetWriter |
protected String |
id |
protected String[] |
keys |
protected Boolean |
log |
(package private) static org.slf4j.Logger |
logger |
protected String |
machine |
protected String |
thing |
context| Constructor and Description |
|---|
StreamMonitor() |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
getDweet() |
String |
getId() |
Boolean |
getLog() |
String |
getMachine() |
String |
getThing() |
void |
init(ProcessContext ctx) |
void |
setDweet(Boolean dweet) |
void |
setId(String id) |
void |
setLog(Boolean log) |
void |
setMachine(String machine) |
void |
setThing(String thing) |
finish, resetStatestatic org.slf4j.Logger logger
protected Boolean log
protected Boolean dweet
protected String id
protected DweetWriter dweetWriter
protected String thing
protected String machine
protected String[] keys
public String getId()
public void setId(String id)
public Boolean getLog()
public void setLog(Boolean log)
public Boolean getDweet()
public void setDweet(Boolean dweet)
public String getThing()
public void setThing(String thing)
public String getMachine()
public void setMachine(String machine)
public void init(ProcessContext ctx) throws Exception
init in interface StatefulProcessorinit in class AbstractProcessorExceptionAbstractProcessor.init(stream.ProcessContext)Copyright © 2018. All rights reserved.