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(int durationMillis) |
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(int durationMillis)
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.