wiremock/wiremock-state-extension

Add the global concurrency-safe increment counter

開放

#58 建立於 2023年10月9日

 (3 則留言) (0 個反應) (0 位負責人)Java (7 個分叉)auto 404
enhancementhelp wanted

倉庫指標

星標
 (23 顆星)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

Proposal

As a user for this plugin, I would like to use global counter, e.g. for IDs or for cursor-alike APIs. To do that, there should be a concurrency-safe increment logic, maybe offered as a handlebars Marco. Other similar methods would be nice as well

As a bonus point, it would be nice to use the storage API to ensure that it remains concurrency-safe even when HA-alike features re used, but I think it is for the future and needs API review together with @tomakehurst

References

No response

貢獻者指南