Feature #4841
closedBring Strategy::beforeExpirePendingInterest back
0%
Description
Strategy::beforeExpirePendingInterest was removed in issue #4290, because it was not used in any strategy and we wanted to simplify forwarding pipelines. Although the reasoning was not convincing, the removal was done. Strategy::beforeExpirePendingInterest allows strategy to process when a pending Interest lifetime expires before satisfied. A strategy developer wanted to use this function for measurement purpose.
One way is to add a dispatch in Forwarder::onInterestFinalize to Strategy::beforeExpirePendingInterest.
Updated by Davide Pesavento almost 7 years ago
- Subject changed from bring Strategy::beforeExpirePendingInterest back to Bring Strategy::beforeExpirePendingInterest back
- Category set to Forwarding
- Start date deleted (
02/13/2019)
Can you give us more details about your use case and why using the destructor is not sufficient?
Updated by Teng Liang almost 7 years ago
Davide Pesavento wrote:
Can you give us more details about your use case and why using the destructor is not sufficient?
Chavoosh is going to explain his use case in today's NFD call. In general, our current strategy implementation is unaware of an unsatisfied Interest, and cannot take actions accordingly.
Updated by Junxiao Shi almost 7 years ago
- Status changed from New to Rejected
See #4290-56: use a StrategyInfo destructor or use a timer.