]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[3973] Updated descriptions of lease reclamation routines in alloc_engine.h
authorMarcin Siodelski <marcin@isc.org>
Thu, 10 Sep 2015 17:58:55 +0000 (19:58 +0200)
committerMarcin Siodelski <marcin@isc.org>
Fri, 11 Sep 2015 07:43:05 +0000 (09:43 +0200)
src/lib/dhcpsrv/alloc_engine.h

index e5f1c53212f59e3b481976aba1910ca258600228..b15d19cc8a49f84fb7ffc5a4ed3a50f035f5322e 100644 (file)
@@ -497,6 +497,14 @@ public:
     /// See http://kea.isc.org/wiki/LeaseExpirationDesign#LeasesReclamationRoutine
     /// for the details.
     ///
+    /// This method is executed periodically to act upon expired leases. This
+    /// includes for each lease:
+    /// - executing "lease_expire6" hook,
+    /// - removing DNS record for a lease,
+    /// - reclaiming a lease in the database, i.e. setting its state to
+    ///   "expired-reclaimed" or removing it from the lease databse,
+    /// - updating statistics of assigned and reclaimed leases
+    ///
     /// @param max_leases Maximum number of leases to be reclaimed.
     /// @param timeout Maximum amount of time that the reclaimation routine
     /// may be processing expired leases, expressed in seconds.
@@ -512,6 +520,14 @@ public:
     /// See http://kea.isc.org/wiki/LeaseExpirationDesign#LeasesReclamationRoutine
     /// for the details.
     ///
+    /// This method is executed periodically to act upon expired leases. This
+    /// includes for each lease:
+    /// - executing "lease_expire6" hook,
+    /// - removing DNS record for a lease,
+    /// - reclaiming a lease in the database, i.e. setting its state to
+    ///   "expired-reclaimed" or removing it from the lease databse,
+    /// - updating statistics of assigned and reclaimed leases
+    ///
     /// @param max_leases Maximum number of leases to be reclaimed.
     /// @param timeout Maximum amount of time that the reclaimation routine
     /// may be processing expired leases, expressed in seconds.