-
Method Summary
Determines if the event is a duplicate
Determines if the event is a duplicate
-
Method Details
-
isDuplicate
Determines if the event is a duplicate
- Parameters:
timestamp
- The timestamp
timezoneID
- The TimeZone ID (i.e. UTC)
key
- The de-duplication key to use
- Returns:
- Code indicating if this event is DUPLICATE, NO_DUPLICATE, or TOO_OLD
- Throws:
Exception
- if any issue occurs while trying to determine if this is a duplicate event
-
isDuplicate
Determines if the event is a duplicate
- Parameters:
timestamp
- The timestamp (assumed to be UTC)
key
- The de-duplication key to use
- Returns:
- Code indicating if this event is DUPLICATE, NO_DUPLICATE, or TOO_OLD
- Throws:
Exception
- if any issue occurs while trying to determine if this is a duplicate event