public class DataManagingApp extends SparkStreamingApp
| Modifier and Type | Class and Description |
|---|---|
static class |
DataManagingApp.AppPropertyCenter
|
static class |
DataManagingApp.AttrSavingStream
|
static class |
DataManagingApp.IDRankSavingStream
|
(package private) static class |
DataManagingApp.TrackletPackingThread
This is a thread independent from Spark Streaming,
which listen to tracklet packing jobs from Kafka,
and perform HAR packing.
|
static class |
DataManagingApp.TrackletSavingStream
|
static class |
DataManagingApp.VideoCuttingStream
|
| Modifier and Type | Field and Description |
|---|---|
static String |
APP_NAME
The name of this application.
|
private static long |
serialVersionUID
|
loggerSingleton
| Constructor and Description |
|---|
DataManagingApp(DataManagingApp.AppPropertyCenter propCenter)
|
| Modifier and Type | Method and Description |
|---|---|
void |
addToContext()
Add streaming actions directly to the global streaming context.
|
static void |
main(String[] args)
|
awaitTermination,
buildDirectStream,
buildDirectStream,
finalize, initialize, registerStreams,
start, stoppublic static final String APP_NAME
private static final long serialVersionUID
public DataManagingApp(DataManagingApp.AppPropertyCenter propCenter) throws Exception
Exceptionpublic void addToContext()
throws Exception
SparkStreamingApp
TaskData.
Actions that take TaskData as input should
be implemented in the
Stream.addToGlobalStream(Map),
in order to save time of deserialization.
Note that existence of Kafka topics used in this method is not automatically checked.
addToContext in
class SparkStreamingAppException