tuweni / org.apache.tuweni.concurrent / ExpiringSet / purgeExpired

purgeExpired

fun purgeExpired(): Long (source)

Force immediate expiration of any key/value pairs that have reached their expiry.

Return
Long: The earliest expiry time for the current entries in the map (in milliseconds since the epoch), or Long.MAX_VALUE if there are no entries due to expire.