exredis_poolboy v0.2.2 ExredisPoolboy

Summary

Functions

Called when an application is started

Functions

append(arg-1, arg-2)
append(arg-1, arg-2, arg-3)
auth(arg-1)
auth(arg-1, arg-2)
bgrewriteaof()
bgrewriteaof(arg-1)
bgsave()
bgsave(arg-1)
bitcount(arg-1)
bitcount(arg-1, arg-2)
bitcount(arg-1, arg-2, arg-3)
bitcount(arg-1, arg-2, arg-3, arg-4)
bitop(arg-1, arg-2, arg-3)
bitop(arg-1, arg-2, arg-3, arg-4)
blpop(arg-1, arg-2)
blpop(arg-1, arg-2, arg-3)
brpop(arg-1, arg-2)
brpop(arg-1, arg-2, arg-3)
brpoplpush(arg-1, arg-2, arg-3)
brpoplpush(arg-1, arg-2, arg-3, arg-4)
dbsize()
dbsize(arg-1)
decr(arg-1)
decr(arg-1, arg-2)
decrby(arg-1, arg-2)
decrby(arg-1, arg-2, arg-3)
defaultclient()
del(arg-1)
del(arg-1, arg-2)
discard()
discard(arg-1)
dump(arg-1)
dump(arg-1, arg-2)
echo(arg-1)
echo(arg-1, arg-2)
eval(arg-1, arg-2, arg-3, arg-4)
eval(arg-1, arg-2, arg-3, arg-4, arg-5)
evalsha(arg-1, arg-2, arg-3, arg-4)
evalsha(arg-1, arg-2, arg-3, arg-4, arg-5)
exec()
exec(arg-1)
exists(arg-1)
exists(arg-1, arg-2)
expire(arg-1, arg-2)
expire(arg-1, arg-2, arg-3)
expireat(arg-1, arg-2)
expireat(arg-1, arg-2, arg-3)
flushall()
flushall(arg-1)
flushdb()
flushdb(arg-1)
get(arg-1)
get(arg-1, arg-2)
getbit(arg-1, arg-2)
getbit(arg-1, arg-2, arg-3)
getrange(arg-1, arg-2, arg-3)
getrange(arg-1, arg-2, arg-3, arg-4)
getset(arg-1, arg-2)
getset(arg-1, arg-2, arg-3)
hdel(arg-1, arg-2)
hdel(arg-1, arg-2, arg-3)
hexists(arg-1, arg-2)
hexists(arg-1, arg-2, arg-3)
hget(arg-1, arg-2)
hget(arg-1, arg-2, arg-3)
hgetall(arg-1)
hgetall(arg-1, arg-2)
hincrby(arg-1, arg-2, arg-3)
hincrby(arg-1, arg-2, arg-3, arg-4)
hincrbyfloat(arg-1, arg-2, arg-3)
hincrbyfloat(arg-1, arg-2, arg-3, arg-4)
hkeys(arg-1)
hkeys(arg-1, arg-2)
hlen(arg-1)
hlen(arg-1, arg-2)
hmget(arg-1, arg-2)
hmget(arg-1, arg-2, arg-3)
hmset(arg-1, arg-2)
hmset(arg-1, arg-2, arg-3)
hset(arg-1, arg-2, arg-3)
hset(arg-1, arg-2, arg-3, arg-4)
hsetnx(arg-1, arg-2, arg-3)
hsetnx(arg-1, arg-2, arg-3, arg-4)
hvals(arg-1)
hvals(arg-1, arg-2)
incr(arg-1)
incr(arg-1, arg-2)
incrby(arg-1, arg-2)
incrby(arg-1, arg-2, arg-3)
incrbyfloat(arg-1, arg-2)
incrbyfloat(arg-1, arg-2, arg-3)
info(arg-1)
info(arg-1, arg-2)
keys(arg-1)
keys(arg-1, arg-2)
lastsave()
lastsave(arg-1)
lindex(arg-1, arg-2)
lindex(arg-1, arg-2, arg-3)
linsert(arg-1, arg-2, arg-3, arg-4)
linsert(arg-1, arg-2, arg-3, arg-4, arg-5)
llen(arg-1)
llen(arg-1, arg-2)
lpop(arg-1)
lpop(arg-1, arg-2)
lpush(arg-1, arg-2)
lpush(arg-1, arg-2, arg-3)
lpushx(arg-1, arg-2)
lpushx(arg-1, arg-2, arg-3)
lrange(arg-1, arg-2, arg-3)
lrange(arg-1, arg-2, arg-3, arg-4)
lrem(arg-1, arg-2, arg-3)
lrem(arg-1, arg-2, arg-3, arg-4)
lset(arg-1, arg-2, arg-3)
lset(arg-1, arg-2, arg-3, arg-4)
ltrim(arg-1, arg-2, arg-3)
ltrim(arg-1, arg-2, arg-3, arg-4)
mget(arg-1)
mget(arg-1, arg-2)
monitor()
monitor(arg-1)
move(arg-1, arg-2)
move(arg-1, arg-2, arg-3)
mset(arg-1)
mset(arg-1, arg-2)
msetnx(arg-1, arg-2)
msetnx(arg-1, arg-2, arg-3)
multi()
multi(arg-1)
persist(arg-1)
persist(arg-1, arg-2)
pexpire(arg-1, arg-2)
pexpire(arg-1, arg-2, arg-3)
pexpireat(arg-1, arg-2)
pexpireat(arg-1, arg-2, arg-3)
ping()
ping(arg-1)
psetex(arg-1, arg-2, arg-3)
psetex(arg-1, arg-2, arg-3, arg-4)
psubscribe(arg-1)
psubscribe(arg-1, arg-2)
pttl(arg-1)
pttl(arg-1, arg-2)
publish(arg-1, arg-2)
publish(arg-1, arg-2, arg-3)
punsubscribe(arg-1)
punsubscribe(arg-1, arg-2)
query(command)
quit()
quit(arg-1)
randomkey()
randomkey(arg-1)
rename(arg-1, arg-2)
rename(arg-1, arg-2, arg-3)
renamenx(arg-1, arg-2)
renamenx(arg-1, arg-2, arg-3)
restore(arg-1, arg-2, arg-3)
restore(arg-1, arg-2, arg-3, arg-4)
rpop(arg-1)
rpop(arg-1, arg-2)
rpoplpush(arg-1, arg-2)
rpoplpush(arg-1, arg-2, arg-3)
rpush(arg-1, arg-2)
rpush(arg-1, arg-2, arg-3)
rpushx(arg-1, arg-2)
rpushx(arg-1, arg-2, arg-3)
sadd(arg-1, arg-2)
sadd(arg-1, arg-2, arg-3)
save()
save(arg-1)
scard(arg-1)
scard(arg-1, arg-2)
script_exists(arg-1)
script_exists(arg-1, arg-2)
script_flush()
script_flush(arg-1)
script_kill()
script_kill(arg-1)
script_load(arg-1)
script_load(arg-1, arg-2)
sdiff(arg-1)
sdiff(arg-1, arg-2)
sdiffstore(arg-1, arg-2)
sdiffstore(arg-1, arg-2, arg-3)
select(arg-1)
select(arg-1, arg-2)
set(arg-1, arg-2)
set(arg-1, arg-2, arg-3)
setbit(arg-1, arg-2, arg-3)
setbit(arg-1, arg-2, arg-3, arg-4)
setex(arg-1, arg-2, arg-3)
setex(arg-1, arg-2, arg-3, arg-4)
setnx(arg-1, arg-2)
setnx(arg-1, arg-2, arg-3)
setrange(arg-1, arg-2, arg-3)
setrange(arg-1, arg-2, arg-3, arg-4)
sinter(arg-1)
sinter(arg-1, arg-2)
sinterstore(arg-1, arg-2)
sinterstore(arg-1, arg-2, arg-3)
sismember(arg-1, arg-2)
sismember(arg-1, arg-2, arg-3)
slaveof(arg-1, arg-2)
slaveof(arg-1, arg-2, arg-3)
slowlog(arg-1)
slowlog(arg-1, arg-2)
smembers(arg-1)
smembers(arg-1, arg-2)
smove(arg-1, arg-2, arg-3)
smove(arg-1, arg-2, arg-3, arg-4)
sort(arg-1)
sort(arg-1, arg-2)
spop(arg-1)
spop(arg-1, arg-2)
srandmember(arg-1)
srandmember(arg-1, arg-2)
srem(arg-1, arg-2)
srem(arg-1, arg-2, arg-3)
start(type, args)

Called when an application is started.

This function is called when an the application is started using Application.start/2 (and functions on top of that, such as Application.ensure_started/2). This function should start the top-level process of the application (which should be the top supervisor of the application’s supervision tree if the application follows the OTP design principles around supervision).

start_type defines how the application is started:

  • :normal - used if the startup is a normal startup or if the application is distributed and is started on the current node because of a failover from another mode and the application specification key :start_phases is :undefined.
  • {:takeover, node} - used if the application is distributed and is started on the current node because of a failover on the node node.
  • {:failover, node} - used if the application is distributed and is started on the current node because of a failover on node node, and the application specification key :start_phases is not :undefined.

start_args are the arguments passed to the application in the :mod specification key (e.g., mod: {MyApp, [:my_args]}).

This function should either return {:ok, pid} or {:ok, pid, state} if startup is successful. pid should be the PID of the top supervisor. state can be an arbitrary term, and if omitted will default to []; if the application is later stopped, state is passed to the stop/1 callback (see the documentation for the c:stop/1 callback for more information).

use Application provides no default implementation for the start/2 callback.

Callback implementation for Application.start/2.

strlen(arg-1)
strlen(arg-1, arg-2)
subscribe(arg-1)
subscribe(arg-1, arg-2)
sunion(arg-1)
sunion(arg-1, arg-2)
sunionstore(arg-1, arg-2)
sunionstore(arg-1, arg-2, arg-3)
sync()
sync(arg-1)
time()
time(arg-1)
ttl(arg-1)
ttl(arg-1, arg-2)
type(arg-1)
type(arg-1, arg-2)
unsubscribe(arg-1)
unsubscribe(arg-1, arg-2)
unwatch()
unwatch(arg-1)
watch(arg-1)
watch(arg-1, arg-2)
zadd(arg-1, arg-2, arg-3)
zadd(arg-1, arg-2, arg-3, arg-4)
zcard(arg-1)
zcard(arg-1, arg-2)
zcount(arg-1, arg-2, arg-3)
zcount(arg-1, arg-2, arg-3, arg-4)
zincrby(arg-1, arg-2, arg-3)
zincrby(arg-1, arg-2, arg-3, arg-4)
zinterstore(arg-1, arg-2, arg-3)
zinterstore(arg-1, arg-2, arg-3, arg-4)
zrange(arg-1, arg-2, arg-3)
zrange(arg-1, arg-2, arg-3, arg-4)
zrangebyscore(arg-1, arg-2, arg-3)
zrangebyscore(arg-1, arg-2, arg-3, arg-4)
zrank(arg-1, arg-2)
zrank(arg-1, arg-2, arg-3)
zrem(arg-1, arg-2)
zrem(arg-1, arg-2, arg-3)
zremrangebyrank(arg-1, arg-2, arg-3)
zremrangebyrank(arg-1, arg-2, arg-3, arg-4)
zremrangebyscore(arg-1, arg-2, arg-3)
zremrangebyscore(arg-1, arg-2, arg-3, arg-4)
zrevrange(arg-1, arg-2, arg-3)
zrevrange(arg-1, arg-2, arg-3, arg-4)
zrevrangebyscore(arg-1, arg-2, arg-3)
zrevrangebyscore(arg-1, arg-2, arg-3, arg-4)
zrevrank(arg-1, arg-2)
zrevrank(arg-1, arg-2, arg-3)
zscore(arg-1, arg-2)
zscore(arg-1, arg-2, arg-3)
zunionstore(arg-1, arg-2)
zunionstore(arg-1, arg-2, arg-3)