public class LocalConsumer extends Object implements EventConsumer
| Constructor and Description |
|---|
LocalConsumer(EnvConfig config) |
| Modifier and Type | Method and Description |
|---|---|
void |
initConsumer(ConsumerHandler consumerHandler) |
void |
poll() |
void |
stop() |
void |
updateStatus(State state) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetpublic LocalConsumer(EnvConfig config)
public void initConsumer(ConsumerHandler consumerHandler)
initConsumer in interface EventConsumerpublic void poll()
poll in interface EventConsumerpublic void stop()
stop in interface EventConsumerpublic void updateStatus(State state)
updateStatus in interface LeadershipCallbackCopyright © 2001–2019 JBoss by Red Hat. All rights reserved.