Merge pull request #204 from rabbitmq/rabbitmq-server-1257

Add lock and unlock to peer discovery backend
This commit is contained in:
Michael Klishin 2017-06-12 19:44:45 +03:00 committed by GitHub
commit deb4029c47
1 changed files with 4 additions and 0 deletions

View File

@ -48,3 +48,7 @@
-callback unregister() -> ok | {error, Reason :: string()}.
-callback post_registration() -> ok | {error, Reason :: string()}.
-callback lock(Node :: atom()) -> {ok, Data :: term()} | not_supported | {error, Reason :: string()}.
-callback unlock(Data :: term()) -> ok | {error, Reason :: string()}.