MessageDeduplicationCache

constructor(cacheSize: Int, logger: Logger, description: String, clock: () -> Long = System::currentTimeMillis)(source)

Parameters

cacheSize

Soft upper bound on retained entries

logger

Where cleanup failures are reported

description

Names this cache in log output

clock

Source of the timestamps used for expiry