Interface RetryPersistentData
- All Superinterfaces:
PersistentData
- All Known Subinterfaces:
TagGroupHistorySet
- All Known Implementing Classes:
BasicTagGroupHistorySet
A type of
PersistentData that can have a success and a tried state as well as a failure reason.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumRepresents the state of the datastatic enum -
Method Summary
Modifier and TypeMethodDescriptionvoidClears all data marked as either good or bad<T extends PersistentData>
Optional<T>voidMarks all data as either good or badvoidmarkAs(HistoricalTagValue data, RetryPersistentData.DataState state) Marks the data as either good or badstatic <T extends PersistentData>
List<PersistentData>nonEnabledData(List<T> data) static Stream<PersistentData>static Stream<PersistentData>static <T extends PersistentData>
org.apache.commons.lang3.tuple.Pair<List<T>,Exception> onlyAttemptedBadData(List<T> data) static Stream<RetryPersistentData>static <T extends PersistentData>
Stream<RetryPersistentData>onlyRetryPersistentData(List<T> data) booleanvoidvoidstatic voidsetRetry(List<PersistentData> data, RetryPersistentData.RetryState state) Methods inherited from interface com.inductiveautomation.ignition.gateway.storeforward.data.PersistentData
getDataCount, getFlavor
-
Method Details
-
markAll
Marks all data as either good or bad -
clearAll
Clears all data marked as either good or bad -
markAs
Marks the data as either good or bad -
getMarkedData
-
setFailureReason
-
failureReason
Exception failureReason() -
setRetry
-
retryState
RetryPersistentData.RetryState retryState() -
retryEnabled
boolean retryEnabled() -
onlyAttemptedBadData
static <T extends PersistentData> org.apache.commons.lang3.tuple.Pair<List<T>,Exception> onlyAttemptedBadData(List<T> data) -
setRetry
-
onlyRetryPersistentData
-
onlyRetryPersistentData
static <T extends PersistentData> Stream<RetryPersistentData> onlyRetryPersistentData(@Nonnull List<T> data) -
nonRetryPersistentData
-
nonRetryPersistentData
-
nonEnabledData
-