Skip to content
This repository was archived by the owner on Nov 17, 2020. It is now read-only.

Commit 74a10f8

Browse files
committed
Add lock and unlock to peer discovery backend
rabbitmq-server#1257 [#146871615]
1 parent 477f0e5 commit 74a10f8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/rabbit_peer_discovery_backend.erl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,3 +48,7 @@
4848
-callback unregister() -> ok | {error, Reason :: string()}.
4949

5050
-callback post_registration() -> ok | {error, Reason :: string()}.
51+
52+
-callback lock(Node :: atom()) -> {ok, Data :: term()} | not_supported | {error, Reason :: string()}.
53+
54+
-callback unlock(Data :: term()) -> ok | {error, Reason :: string()}.

0 commit comments

Comments
 (0)