Package org.apache.plc4x.java.scraper
Interface ScraperTask
-
- All Superinterfaces:
Runnable
- All Known Implementing Classes:
ScraperTaskImpl,TriggeredScraperTask
public interface ScraperTask extends Runnable
Created by timbo on 2019-03-04
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetConnectionAlias()StringgetJobName()org.apache.commons.math3.stat.descriptive.DescriptiveStatisticsgetLatencyStatistics()doublegetPercentageFailed()longgetRequestCounter()longgetSuccessfullRequestCounter()voidhandleErrorResponse(Map<String,PlcResponseCode> failed)voidhandleException(Exception e)voidrun()
-
-
-
Method Detail
-
getJobName
String getJobName()
-
getConnectionAlias
String getConnectionAlias()
-
getRequestCounter
long getRequestCounter()
-
getSuccessfullRequestCounter
long getSuccessfullRequestCounter()
-
getLatencyStatistics
org.apache.commons.math3.stat.descriptive.DescriptiveStatistics getLatencyStatistics()
-
getPercentageFailed
double getPercentageFailed()
-
handleException
void handleException(Exception e)
-
handleErrorResponse
void handleErrorResponse(Map<String,PlcResponseCode> failed)
-
-