public interface IAS4DuplicateManager
| Modifier and Type | Method and Description |
|---|---|
com.helger.commons.state.EChange |
clearCache()
Remove all entries in the cache.
|
com.helger.commons.collection.impl.ICommonsList<String> |
evictAllItemsBefore(LocalDateTime aRefDT)
Delete all duplicate items that were created before the provided time.
|
IAS4DuplicateItem |
findFirst(Predicate<? super IAS4DuplicateItem> aFilter) |
com.helger.commons.collection.impl.ICommonsList<IAS4DuplicateItem> |
getAll() |
boolean |
isEmpty() |
com.helger.commons.state.EContinue |
registerAndCheck(String sMessageID,
String sProfileID,
String sPModeID)
Check if the passed message ID was already handled.
|
int |
size() |
boolean isEmpty()
@Nonnegative int size()
@Nullable IAS4DuplicateItem findFirst(@Nullable Predicate<? super IAS4DuplicateItem> aFilter)
@Nonnull @ReturnsMutableCopy com.helger.commons.collection.impl.ICommonsList<IAS4DuplicateItem> getAll()
@Nonnull com.helger.commons.state.EContinue registerAndCheck(@Nullable String sMessageID, @Nullable String sProfileID, @Nullable String sPModeID)
sMessageID - Message ID to check. May be null.sProfileID - Active AS4 profile ID. May be used to define the PMode further. May
be null.sPModeID - Active AS4 PMode ID. May be null.EContinue.CONTINUE to continue@Nonnull com.helger.commons.state.EChange clearCache()
EChange@Nonnull @ReturnsMutableCopy com.helger.commons.collection.impl.ICommonsList<String> evictAllItemsBefore(@Nonnull LocalDateTime aRefDT)
aRefDT - The reference date time to compare to. May not be null.null list of all evicted message IDs.Copyright © 2015–2020 Philip Helger. All rights reserved.