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

Commit 10a0b0f

Browse files
Merge pull request #204 from rabbitmq/rabbitmq-server-1257
Add lock and unlock to peer discovery backend
2 parents 477f0e5 + 74a10f8 commit 10a0b0f

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)