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 合并指标
 (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

贡献者指南