mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-09-02 06:55:16 +00:00
[#1434] renamed members and functions
This commit is contained in:
@@ -454,12 +454,14 @@ public:
|
||||
/// @throw isc::db::DbOperationError An operation on the open database has
|
||||
/// failed.
|
||||
///
|
||||
/// @note The old_cltt_ and old_valid_lft_ are used to ensure that only one
|
||||
/// thread or process performs an update or delete operation on the lease by
|
||||
/// matching these values with the expired data in the database.
|
||||
/// @note The current_cltt_ and current_valid_lft_ are used to maximize the
|
||||
/// chance that only one thread or process performs an update or delete
|
||||
/// operation on the lease by matching these values with the expiration time
|
||||
/// data in the database.
|
||||
/// @note The UPDATE query uses WHERE expire = ? to update the lease only if
|
||||
/// the value matches the one received on the SELECT query, effectively
|
||||
/// enforcing no update on the lease between SELECT and UPDATE.
|
||||
/// enforcing no update on the lease between SELECT and UPDATE with
|
||||
/// different expiration time.
|
||||
virtual void updateLease4(const Lease4Ptr& lease4);
|
||||
|
||||
/// @brief Updates IPv6 lease.
|
||||
@@ -474,12 +476,14 @@ public:
|
||||
/// @throw isc::db::DbOperationError An operation on the open database has
|
||||
/// failed.
|
||||
///
|
||||
/// @note The old_cltt_ and old_valid_lft_ are used to ensure that only one
|
||||
/// thread or process performs an update or delete operation on the lease by
|
||||
/// matching these values with the expired data in the database.
|
||||
/// @note The current_cltt_ and current_valid_lft_ are used to maximize the
|
||||
/// chance that only one thread or process performs an update or delete
|
||||
/// operation on the lease by matching these values with the expiration time
|
||||
/// data in the database.
|
||||
/// @note The UPDATE query uses WHERE expire = ? to update the lease only if
|
||||
/// the value matches the one received on the SELECT query, effectively
|
||||
/// enforcing no update on the lease between SELECT and UPDATE.
|
||||
/// enforcing no update on the lease between SELECT and UPDATE with
|
||||
/// different expiration time.
|
||||
virtual void updateLease6(const Lease6Ptr& lease6);
|
||||
|
||||
/// @brief Deletes an IPv4 lease.
|
||||
@@ -488,12 +492,14 @@ public:
|
||||
///
|
||||
/// @return true if deletion was successful, false if no such lease exists.
|
||||
///
|
||||
/// @note The old_cltt_ and old_valid_lft_ are used to ensure that only one
|
||||
/// thread or process performs an update or delete operation on the lease by
|
||||
/// matching these values with the expired data in the database.
|
||||
/// @note The current_cltt_ and current_valid_lft_ are used to maximize the
|
||||
/// chance that only one thread or process performs an update or delete
|
||||
/// operation on the lease by matching these values with the expiration time
|
||||
/// data in the database.
|
||||
/// @note The DELETE query uses WHERE expire = ? to delete the lease only if
|
||||
/// the value matches the one received on the SELECT query, effectively
|
||||
/// enforcing no update on the lease between SELECT and DELETE.
|
||||
/// enforcing no update on the lease between SELECT and DELETE with
|
||||
/// different expiration time.
|
||||
virtual bool deleteLease(const Lease4Ptr& lease);
|
||||
|
||||
/// @brief Deletes an IPv6 lease.
|
||||
@@ -502,12 +508,14 @@ public:
|
||||
///
|
||||
/// @return true if deletion was successful, false if no such lease exists.
|
||||
///
|
||||
/// @note The old_cltt_ and old_valid_lft_ are used to ensure that only one
|
||||
/// thread or process performs an update or delete operation on the lease by
|
||||
/// matching these values with the expired data in the database.
|
||||
/// @note The current_cltt_ and current_valid_lft_ are used to maximize the
|
||||
/// chance that only one thread or process performs an update or delete
|
||||
/// operation on the lease by matching these values with the expiration time
|
||||
/// data in the database.
|
||||
/// @note The DELETE query uses WHERE expire = ? to delete the lease only if
|
||||
/// the value matches the one received on the SELECT query, effectively
|
||||
/// enforcing no update on the lease between SELECT and DELETE.
|
||||
/// enforcing no update on the lease between SELECT and DELETE with
|
||||
/// different expiration time.
|
||||
virtual bool deleteLease(const Lease6Ptr& lease);
|
||||
|
||||
/// @brief Deletes all expired-reclaimed DHCPv4 leases.
|
||||
|
Reference in New Issue
Block a user