180181182183184185186187188189190
} ) ), jsonMapper ) ), new WorkerConfig().setCapacity(1) ); jsonMapper.registerSubtypes(new NamedType(TestMergeTask.class, "test")); jsonMapper.registerSubtypes(new NamedType(TestRealtimeTask.class, "test_realtime")); workerTaskMonitor.start();