public class AS4DuplicateManager extends com.helger.photon.app.dao.AbstractPhotonMapBasedWALDAO<IAS4DuplicateItem,AS4DuplicateItem> implements IAS4DuplicateManager
| Constructor and Description |
|---|
AS4DuplicateManager(String sFilename) |
| 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.
|
com.helger.commons.state.EContinue |
registerAndCheck(String sMessageID,
String sProfileID,
String sPModeID)
Check if the passed message ID was already handled.
|
isReloadable, reloadcallbacks, containsAllIDs, containsAny, containsNone, containsOnly, containsWithID, createWriteData, findAll, findAllMapped, findFirst, findFirstMapped, forEach, forEach, forEachKey, forEachKey, forEachValue, forEachValue, getAll, getAll, getAllIDs, getAllMapped, getAtIndex, getCount, getNone, getOfID, internalContainsWithID, internalCreateItem, internalCreateItem, internalDeleteItem, internalDeleteItem, internalDirectGetAll, internalForEachValue, internalForEachValue, internalGetAll, internalGetAllSortedByKey, internalGetOfID, internalMarkItemDeleted, internalMarkItemDeleted, internalMarkItemUndeleted, internalMarkItemUndeleted, internalRemoveAllItemsNoCallback, internalUpdateItem, internalUpdateItem, isEmpty, isNotEmpty, markAsChanged, onRead, onRecoveryCreate, onRecoveryDelete, onRecoveryUpdate, size, toStringconvertNativeToWALString, convertWALStringToNative, getDataTypeClass, getFilenameProvider, getInitCount, getIO, getLastFilename, getLastInitDateTime, getLastReadDateTime, getLastWriteDateTime, getReadCount, getSafeFile, getWaitingTime, getWALXMLWriterSettings, getWriteCount, getXMLWriterSettings, initialRead, markAsChanged, modifyWriteData, onBetweenReadAndWAL, onFilenameChange, onInit, onRecoveryErrorConvertToNative, setWaitingTime, triggerExceptionHandlersRead, triggerExceptionHandlersWrite, writeToFileOnPendingChangesbeginWithoutAutoSave, checkFileAccess, endWithoutAutoSave, exceptionHandlersRead, exceptionHandlersWrite, hasPendingChanges, internalHasPendingChanges, internalIsAutoSaveEnabled, internalSetPendingChanges, isAutoSaveEnabled, isDebugLogging, isSilentMode, setSilentModeclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindFirst, getAll, isEmpty, size@Nonnull public com.helger.commons.state.EContinue registerAndCheck(@Nullable String sMessageID, @Nullable String sProfileID, @Nullable String sPModeID)
IAS4DuplicateManagerregisterAndCheck in interface IAS4DuplicateManagersMessageID - 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 public com.helger.commons.state.EChange clearCache()
IAS4DuplicateManagerclearCache in interface IAS4DuplicateManagerEChange@Nonnull @ReturnsMutableCopy public com.helger.commons.collection.impl.ICommonsList<String> evictAllItemsBefore(@Nonnull LocalDateTime aRefDT)
IAS4DuplicateManagerevictAllItemsBefore in interface IAS4DuplicateManageraRefDT - 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.