public class ImportRunner extends Object
| Constructor and Description |
|---|
ImportRunner() |
| Modifier and Type | Method and Description |
|---|---|
static rx.functions.Func1<String,Boolean> |
exclude(String pattern) |
void |
execute(String... args) |
static void |
main(String... args) |
static <T> rx.functions.Func1<T,T> |
meter(com.codahale.metrics.Meter meter,
Class<T> clazz) |
static <T> rx.functions.Func1<T,T> |
meter(com.codahale.metrics.Meter meter,
int count,
Class<T> clazz) |
static rx.functions.Func1<String,rx.Observable<rx.apache.http.ObservableHttpResponse>> |
postJSON(String baseURL,
org.apache.http.impl.nio.client.CloseableHttpAsyncClient httpClient) |
static rx.functions.Func1<String,rx.Observable<org.opennms.newts.api.Sample>> |
samples() |
void |
setMaxThreadQueueSize(int maxThreadQueueSize) |
void |
setParallelism(int threadCount) |
void |
setSamplesPerBatch(int samplesPerBatch) |
void |
setSource(File source) |
void |
setTimeoffset(String offset) |
void |
setTimescaleFactor(double factor) |
void |
setURL(String url) |
static rx.functions.Func1<List<org.opennms.newts.api.Sample>,String> |
toJSON() |
public void setSamplesPerBatch(int samplesPerBatch)
public void setURL(String url)
public void setParallelism(int threadCount)
public void setMaxThreadQueueSize(int maxThreadQueueSize)
public void setTimescaleFactor(double factor)
public void setTimeoffset(String offset)
public void setSource(File source)
public static rx.functions.Func1<String,rx.Observable<org.opennms.newts.api.Sample>> samples()
public static rx.functions.Func1<String,rx.Observable<rx.apache.http.ObservableHttpResponse>> postJSON(String baseURL, org.apache.http.impl.nio.client.CloseableHttpAsyncClient httpClient)
public static <T> rx.functions.Func1<T,T> meter(com.codahale.metrics.Meter meter,
Class<T> clazz)
public static <T> rx.functions.Func1<T,T> meter(com.codahale.metrics.Meter meter,
int count,
Class<T> clazz)
Copyright © 2019. All rights reserved.