question: public long renew ( String entryUid , String className , int objectType , long duration , boolean fromReplication , boolean origin , boolean isFromGateway ) throws UnknownLeaseException , InternalSpaceException { try { extendLeasePeriod ( entryUid , className , objectType , duration , fromReplication , origin , false , null , isFromGateway ) ; } catch ( UnknownLeaseException unknownLeaseException ) { if ( _cacheManager . isCacheExternalDB ( ) && objectType != ObjectTypes . NOTIFY_NULL_TEMPLATE && objectType != ObjectTypes . NOTIFY_TEMPLATE ) { if ( _logger . isLoggable ( Level . FINE ) ) { _logger . log ( Level . FINE , "Failed to renew lease of an entry belonging to external-data-source." , unknownLeaseException ) ; } } else throw unknownLeaseException ; } return duration ; }
target:  Renews a lease for an additional period of time (specified in milliseconds) for a registered entry in this Lease Manager. This duration is not added to the original lease, but is used to determine a new expiration time for the existing lease. If the renewal is granted this is reflected in value returned by getExpiration. If the renewal fails, the lease is left intact for the same duration that was in force prior to the call to renew.