shackle_queue (shackle v0.7.0)

View Source

Summary

Functions

add(Table, ServerId, ExtRequestId, Cast, TimerRef)

clear(Table, ServerId)

-spec clear(shackle:table(), shackle_server:id()) -> [{shackle:cast(), reference()}].

delete(PoolName)

-spec delete(shackle_pool:name()) -> ok.

new(PoolName)

-spec new(shackle_pool:name()) -> ok.

remove(Table, ServerId, ExtRequestId)

-spec remove(shackle:table(), shackle_server:id(), shackle:external_request_id()) ->
                {ok, shackle:cast(), reference()} | {error, not_found}.

table_name(PoolName)

-spec table_name(shackle_pool:name()) -> shackle:table().