copper-server-mongo/src/main/java/com/pogeyan/cmis/data/mongo/PassiveExpiringMap.java
/**
	 * Add the given key-value pair to this map as well as recording the entry's
	 * expiration time based on the current time in milliseconds and this map's
	 * {@link #expiringPolicy}.
	 * <p>
	 * {@inheritDoc}
	 */
Add the given key-value pair to this map as well as recording the entry's
expiration time based on the current time in milliseconds and this map's
#expiringPolicy.
Add the given key - value pair to this map as well as recording the entry ' s expiration time based on the current time in milliseconds and this map ' s #expiringPolicy .
@Override
	public V put(final K key, final V value) {
		removeIfExpired(key, now());
		final long expirationTime = expiringPolicy.expirationTime(key, value);
		expirationMap.put(key, Long.valueOf(expirationTime));
		return super.put(key, value);
	}
@ Override public V put ( final K key , final V value ) { removeIfExpired ( key , now ( ) ) ; final long expirationTime = expiringPolicy . expirationTime ( key , value ) ; expirationMap . put ( key , Long . valueOf ( expirationTime ) ) ; return super . put ( key , value ) ; }
Add the given key-value pair to this map as well as recording the entry's
 expiration time based on the current time in milliseconds and this map's
 {@link #expiringPolicy}.
Add the given key - value pair to this map as well as recording the entry ' s expiration time based on the current time in milliseconds and this map ' s { @link #expiringPolicy } .
// remove the previous record // record expiration time of new entry