K - type of key read from input topicM - type of message read from input topicU - type of model message writtenpublic final class BatchLayer<K,M,U> extends AbstractSparkLayer<K,M>
| Constructor and Description |
|---|
BatchLayer(com.typesafe.config.Config config) |
| Modifier and Type | Method and Description |
|---|---|
void |
await() |
void |
close() |
protected String |
getConfigGroup() |
protected String |
getLayerName() |
void |
start() |
buildInputDStream, buildStreamingContext, getConfig, getGroupID, getID, getInputTopicLockMaster, getKeyClass, getMessageClassprotected String getConfigGroup()
getConfigGroup in class AbstractSparkLayer<K,M>protected String getLayerName()
getLayerName in class AbstractSparkLayer<K,M>public void start()
public void await()
throws InterruptedException
InterruptedExceptionpublic void close()
Copyright © 2014–2018. All rights reserved.