public synchronized void extendTTL ( K strKey ) { TTLObject < K , E > object = getTTLObject ( strKey ) ; if ( object != null ) { object . setLifeExpectancy ( System . currentTimeMillis ( ) + object . getTtl ( ) ) ; } }
Extends the ttl of the object with the given key with the current system time .