public class CountServiceLearner extends AbstractProcessor implements CountService
| Modifier and Type | Field and Description |
|---|---|
(package private) Long |
count |
(package private) Map<String,AtomicLong> |
counts |
context| Constructor and Description |
|---|
CountServiceLearner() |
| Modifier and Type | Method and Description |
|---|---|
Long |
getCount() |
Data |
process(Data input) |
void |
reset() |
finish, init, resetStateLong count
Map<String,AtomicLong> counts
public Data process(Data input)
process in interface ProcessorProcessor.process(stream.Data)public Long getCount()
getCount in interface CountServiceCountService.getCount()public void reset()
throws Exception
reset in interface ServiceExceptionService.reset()Copyright © 2018. All rights reserved.