public class InputSupplierUpdateStream extends Object implements UpdateStream
Constructor and Description |
---|
InputSupplierUpdateStream(com.google.common.io.InputSupplier<BufferedReader> supplier,
String timeDimension) |
Modifier and Type | Method and Description |
---|---|
int |
getQueueSize() |
String |
getTimeDimension() |
Map<String,Object> |
pollFromQueue(long waitTime,
TimeUnit unit) |
void |
start() |
void |
stop() |
public InputSupplierUpdateStream(com.google.common.io.InputSupplier<BufferedReader> supplier, String timeDimension)
public void start()
start
in interface UpdateStream
public void stop()
stop
in interface UpdateStream
public Map<String,Object> pollFromQueue(long waitTime, TimeUnit unit) throws InterruptedException
pollFromQueue
in interface UpdateStream
InterruptedException
public int getQueueSize()
public String getTimeDimension()
getTimeDimension
in interface UpdateStream
Copyright © 2015. All rights reserved.