Interface RetryHistoricalData
- 
- All Superinterfaces:
- HistoricalData,- java.io.Serializable
 - All Known Subinterfaces:
- ScanclassHistorySet
 - All Known Implementing Classes:
- BasicScanclassHistorySet
 
 public interface RetryHistoricalData extends HistoricalData 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Interface Description static classRetryHistoricalData.RetryState
 - 
Method SummaryAll Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description HistoricalDatabadData()voidclearBadData()Removes data flagged as badjava.lang.ExceptionfailureReason()voidmarkAllAsBad()Marks all RetryHistoricalData values as badvoidmarkAsBad(HistoricalTagValue value)static BasicDataTransactionnonEnabledData(HistoricalData data)Good data that has been retried yetstatic java.util.stream.Stream<HistoricalData>nonRetryHistoricalData(HistoricalData data)static org.apache.commons.lang3.tuple.Pair<BasicDataTransaction,java.lang.Exception>onlyAttemptedBadData(HistoricalData data)static java.util.stream.Stream<RetryHistoricalData>onlyRetryHistoricalData(HistoricalData data)booleanretryEnabled()RetryHistoricalData.RetryStateretryState()voidsetFailureReason(java.lang.Exception e)static voidsetRetry(HistoricalData data, RetryHistoricalData.RetryState state)voidsetRetry(RetryHistoricalData.RetryState state)- 
Methods inherited from interface com.inductiveautomation.ignition.gateway.history.HistoricalDatagetDataCount, getFlavor, getLoggerName, getSignature
 
- 
 
- 
- 
- 
Method Detail- 
markAllAsBadvoid markAllAsBad() Marks all RetryHistoricalData values as bad
 - 
clearBadDatavoid clearBadData() Removes data flagged as bad
 - 
markAsBadvoid markAsBad(HistoricalTagValue value) - Parameters:
- value-- HistoricalTagValuethat store wasn't able to process
 
 - 
badData@Nullable HistoricalData badData() - Returns:
- Copy of the HistoricalDatacontaining only data that was marked as bad or null if no data is added
 
 - 
setFailureReasonvoid setFailureReason(java.lang.Exception e) 
 - 
failureReasonjava.lang.Exception failureReason() 
 - 
setRetryvoid setRetry(RetryHistoricalData.RetryState state) 
 - 
retryStateRetryHistoricalData.RetryState retryState() 
 - 
retryEnabledboolean retryEnabled() 
 - 
onlyAttemptedBadDatastatic org.apache.commons.lang3.tuple.Pair<BasicDataTransaction,java.lang.Exception> onlyAttemptedBadData(HistoricalData data) 
 - 
setRetrystatic void setRetry(HistoricalData data, RetryHistoricalData.RetryState state) 
 - 
onlyRetryHistoricalDatastatic java.util.stream.Stream<RetryHistoricalData> onlyRetryHistoricalData(HistoricalData data) 
 - 
nonRetryHistoricalDatastatic java.util.stream.Stream<HistoricalData> nonRetryHistoricalData(HistoricalData data) 
 - 
nonEnabledDatastatic BasicDataTransaction nonEnabledData(HistoricalData data) Good data that has been retried yet
 
- 
 
-