Module esnowflake_worker_pool

.

Copyright © (C) 2017, tkyshm

Behaviours: gen_server.

Authors: tkyshm.

Description

Function Index

fetch/0
remove_worker/1
spawn_worker/1
spawn_worker_with_redis/0
start_link/1 Starts the server.
worker_ids/0

Function Details

fetch/0

fetch() -> any()

remove_worker/1

remove_worker(Wid) -> any()

spawn_worker/1

spawn_worker(Wid) -> any()

spawn_worker_with_redis/0

spawn_worker_with_redis() -> any()

start_link/1

start_link(IsRedis) -> {ok, Pid} | ignore | {error, Error}

Starts the server

worker_ids/0

worker_ids() -> any()


Generated by EDoc