Skip to content
master
Go to file
Code

Latest commit

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
rel
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Riak PG

Overview

Distributed process groups with riak_core.

Usage

Join a process to a group (no need to pre-declare)

join(term(), pid()) -> ok | {error, timeout}.

What about removing?

leave(term(), pid()) -> ok | {error, timeout}.

You can delete process groups.

delete(term()) -> ok | {error, timeout}.

You can also return the members, local members or connected members of a group.

members(term()) -> {ok, list(pid()) | {error, timeout}.
local_members(term()) -> {ok, list(pid()) | {error, timeout}.
connected_members(term()) -> {ok, list(pid()) | {error, timeout}.

You can list the groups that have been created and currently have members.

groups() -> {ok, list(term())} | {error, timeout}

Copyright

Copyright (C) 2013 Christopher Meiklejohn

About

Distributed process groups with riak_core.

Resources

License

Releases

No releases published

Contributors 4

  •  
  •  
  •  
  •  
You can’t perform that action at this time.