public class RedisServerMethods
extends io.toro.martini.redis.RedisBaseMethods
Constructor and Description |
---|
RedisServerMethods(DataSourceManager dataSourceManager) |
Modifier and Type | Method and Description |
---|---|
static String |
bgrewriteaof(String connectionName,
GloopExecutionContext context)
Asynchronously rewrite the append-only file.
|
static Future<String> |
bgrewriteaofAsync(String connectionName,
GloopExecutionContext context)
Asynchronously asynchronously rewrite the append-only file.
|
static String |
bgsave(String connectionName,
GloopExecutionContext context)
Asynchronously save the dataset to disk.
|
static Future<String> |
bgsaveAsync(String connectionName,
GloopExecutionContext context)
Asynchronously asynchronously save the dataset to disk.
|
static Object |
clientGetname(String connectionName,
GloopExecutionContext context)
Get the current connection name.
|
static Future<Object> |
clientGetnameAsync(String connectionName,
GloopExecutionContext context)
Asynchronously get the current connection name.
|
static Long |
clientKill(String connectionName,
GloopModel killArgs,
GloopExecutionContext context)
Kill connections of clients which are filtered by
killArgs |
static String |
clientKill(String connectionName,
String addr,
GloopExecutionContext context)
Kill the connection of a client identified by ip:port.
|
static Future<Long> |
clientKillAsync(String connectionName,
GloopModel killArgs,
GloopExecutionContext context)
Asynchronously kill connections of clients which are filtered by
killArgs |
static Future<String> |
clientKillAsync(String connectionName,
String addr,
GloopExecutionContext context)
Asynchronously kill the connection of a client identified by ip:port.
|
static String |
clientList(String connectionName,
GloopExecutionContext context)
Get the list of client connections.
|
static Future<String> |
clientListAsync(String connectionName,
GloopExecutionContext context)
Asynchronously get the list of client connections.
|
static String |
clientPause(String connectionName,
long timeout,
GloopExecutionContext context)
Stop processing commands from clients for some time.
|
static Future<String> |
clientPauseAsync(String connectionName,
long timeout,
GloopExecutionContext context)
Asynchronously stop processing commands from clients for some time.
|
static String |
clientSetname(String connectionName,
Object name,
GloopExecutionContext context)
Set the current connection name.
|
static Future<String> |
clientSetnameAsync(String connectionName,
Object name,
GloopExecutionContext context)
Asynchronously set the current connection name.
|
static Long |
clientUnblock(String connectionName,
long id,
String type,
GloopExecutionContext context)
Unblock the specified blocked client.
|
static Future<Long> |
clientUnblockAsync(String connectionName,
long id,
String type,
GloopExecutionContext context)
Asynchronously unblock the specified blocked client.
|
static List<Object> |
command(String connectionName,
GloopExecutionContext context)
Returns an array reply of details about all Redis commands.
|
static Future<List<Object>> |
commandAsync(String connectionName,
GloopExecutionContext context)
Asynchronously returns an array reply of details about all redis commands.
|
static Long |
commandCount(String connectionName,
GloopExecutionContext context)
Get total number of Redis commands.
|
static Future<Long> |
commandCountAsync(String connectionName,
GloopExecutionContext context)
Asynchronously get total number of redis commands.
|
static List<Object> |
commandInfo(String connectionName,
GloopExecutionContext context,
CommandType... commands)
Returns an array reply of details about the requested commands.
|
static List<Object> |
commandInfo(String connectionName,
GloopExecutionContext context,
String... commandType)
Returns an array reply of details about the requested commands.
|
static Future<List<Object>> |
commandInfoAsync(String connectionName,
GloopExecutionContext context,
CommandType... commands)
Asynchronously returns an array reply of details about the requested commands.
|
static Future<List<Object>> |
commandInfoAsync(String connectionName,
GloopExecutionContext context,
String... commandType)
Asynchronously returns an array reply of details about the requested commands.
|
static GloopModel |
configGet(String connectionName,
String parameter,
GloopExecutionContext context)
Get the value of a configuration parameter.
|
static Future<Map<String,String>> |
configGetAsync(String connectionName,
String parameter,
GloopExecutionContext context)
Asynchronously get the value of a configuration parameter.
|
static String |
configResetstat(String connectionName,
GloopExecutionContext context)
Reset the stats returned by INFO.
|
static Future<String> |
configResetstatAsync(String connectionName,
GloopExecutionContext context)
Asynchronously reset the stats returned by iNFO.
|
static String |
configRewrite(String connectionName,
GloopExecutionContext context)
Rewrite the configuration file with the in memory configuration.
|
static Future<String> |
configRewriteAsync(String connectionName,
GloopExecutionContext context)
Asynchronously rewrite the configuration file with the in memory configuration.
|
static String |
configSet(String connectionName,
String parameter,
String value,
GloopExecutionContext context)
Set a configuration parameter to the given value.
|
static Future<String> |
configSetAsync(String connectionName,
String parameter,
String value,
GloopExecutionContext context)
Asynchronously set a configuration parameter to the given value.
|
static Long |
dbsize(String connectionName,
GloopExecutionContext context)
Return the number of keys in the selected database.
|
static Future<Long> |
dbsizeAsync(String connectionName,
GloopExecutionContext context)
Asynchronously return the number of keys in the selected database.
|
static String |
debugCrashAndRecover(String connectionName,
Long delay,
GloopExecutionContext context)
Crash and recover
|
static Future<String> |
debugCrashAndRecoverAsync(String connectionName,
Long delay,
GloopExecutionContext context)
Asynchronously crash and recover
|
static String |
debugHtstats(String connectionName,
int db,
GloopExecutionContext context)
Get debugging information about the internal hash-table state.
|
static Future<String> |
debugHtstatsAsync(String connectionName,
int db,
GloopExecutionContext context)
Asynchronously get debugging information about the internal hash-table state.
|
static String |
debugObject(String connectionName,
Object key,
GloopExecutionContext context)
Get debugging information about a key.
|
static Future<String> |
debugObjectAsync(String connectionName,
Object key,
GloopExecutionContext context)
Asynchronously get debugging information about a key.
|
static void |
debugOom(String connectionName,
GloopExecutionContext context)
Make the server crash: Out of memory.
|
static void |
debugOomAsync(String connectionName,
GloopExecutionContext context)
Asynchronously make the server crash: out of memory.
|
static String |
debugReload(String connectionName,
GloopExecutionContext context)
Save RDB, clear the database and reload RDB.
|
static Future<String> |
debugReloadAsync(String connectionName,
GloopExecutionContext context)
Asynchronously save rDB, clear the database and reload rDB.
|
static String |
debugRestart(String connectionName,
Long delay,
GloopExecutionContext context)
Restart the server gracefully.
|
static Future<String> |
debugRestartAsync(String connectionName,
Long delay,
GloopExecutionContext context)
Asynchronously restart the server gracefully.
|
static String |
debugSdslen(String connectionName,
Object key,
GloopExecutionContext context)
Get debugging information about the internal SDS length.
|
static Future<String> |
debugSdslenAsync(String connectionName,
Object key,
GloopExecutionContext context)
Asynchronously get debugging information about the internal sDS length.
|
static void |
debugSegfault(String connectionName,
GloopExecutionContext context)
Make the server crash: Invalid pointer access.
|
static void |
debugSegfaultAsync(String connectionName,
GloopExecutionContext context)
Asynchronously make the server crash: invalid pointer access.
|
static String |
flushall(String connectionName,
GloopExecutionContext context)
Remove all keys from all databases.
|
static Future<String> |
flushallAsync(String connectionName,
GloopExecutionContext context)
Asynchronously remove all keys from all databases.
|
static Future<String> |
flushallAsyncAsync(String connectionName,
GloopExecutionContext context)
Asynchronously remove all keys asynchronously from all databases.
|
static String |
flushdb(String connectionName,
GloopExecutionContext context)
Remove all keys from the current database.
|
static Future<String> |
flushdbAsync(String connectionName,
GloopExecutionContext context)
Asynchronously remove all keys from the current database.
|
static Future<String> |
flushdbAsyncAsync(String connectionName,
GloopExecutionContext context)
Asynchronously remove all keys asynchronously from the current database.
|
static String |
info(String connectionName,
GloopExecutionContext context)
Get information and statistics about the server.
|
static String |
info(String connectionName,
String section,
GloopExecutionContext context)
Get information and statistics about the server.
|
static Future<String> |
infoAsync(String connectionName,
GloopExecutionContext context)
Asynchronously get information and statistics about the server.
|
static Future<String> |
infoAsync(String connectionName,
String section,
GloopExecutionContext context)
Asynchronously get information and statistics about the server.
|
static Date |
lastsave(String connectionName,
GloopExecutionContext context)
Get the UNIX time stamp of the last successful save to disk.
|
static Future<Date> |
lastsaveAsync(String connectionName,
GloopExecutionContext context)
Asynchronously get the uNIX time stamp of the last successful save to disk.
|
static String |
save(String connectionName,
GloopExecutionContext context)
Synchronously save the dataset to disk.
|
static Future<String> |
saveAsync(String connectionName,
GloopExecutionContext context)
Asynchronously synchronously save the dataset to disk.
|
static void |
shutdown(String connectionName,
boolean save,
GloopExecutionContext context)
Synchronously save the dataset to disk and then shut down the server.
|
static void |
shutdownAsync(String connectionName,
boolean save,
GloopExecutionContext context)
Asynchronously synchronously save the dataset to disk and then shut down the server.
|
static String |
slaveof(String connectionName,
String host,
int port,
GloopExecutionContext context)
Make the server a slave of another instance, or promote it as master.
|
static Future<String> |
slaveofAsync(String connectionName,
String host,
int port,
GloopExecutionContext context)
Asynchronously make the server a slave of another instance, or promote it as master.
|
static String |
slaveofNoOne(String connectionName,
GloopExecutionContext context)
Promote server as master.
|
static Future<String> |
slaveofNoOneAsync(String connectionName,
GloopExecutionContext context)
Asynchronously promote server as master.
|
static List<Object> |
slowlogGet(String connectionName,
GloopExecutionContext context)
Read the slow log.
|
static List<Object> |
slowlogGet(String connectionName,
int count,
GloopExecutionContext context)
Read the slow log.
|
static Future<List<Object>> |
slowlogGetAsync(String connectionName,
GloopExecutionContext context)
Asynchronously read the slow log.
|
static Future<List<Object>> |
slowlogGetAsync(String connectionName,
int count,
GloopExecutionContext context)
Asynchronously read the slow log.
|
static Long |
slowlogLen(String connectionName,
GloopExecutionContext context)
Obtaining the current length of the slow log.
|
static Future<Long> |
slowlogLenAsync(String connectionName,
GloopExecutionContext context)
Asynchronously obtaining the current length of the slow log.
|
static String |
slowlogReset(String connectionName,
GloopExecutionContext context)
Resetting the slow log.
|
static Future<String> |
slowlogResetAsync(String connectionName,
GloopExecutionContext context)
Asynchronously resetting the slow log.
|
static List<Object> |
time(String connectionName,
GloopExecutionContext context)
Return the current server time.
|
static Future<List<Object>> |
timeAsync(String connectionName,
GloopExecutionContext context)
Asynchronously return the current server time.
|
@Autowired RedisServerMethods(DataSourceManager dataSourceManager)
@GloopParameter(name="redisBgrewriteaofOutput") public static String bgrewriteaof(@GloopParameter(allowNull=false) String connectionName, GloopExecutionContext context)
connectionName
- The Martini Runtime Redis connection pool nameOK
.@GloopParameter(name="redisFutureBgrewriteaofOutput") public static Future<String> bgrewriteaofAsync(@GloopParameter(allowNull=false) String connectionName, GloopExecutionContext context)
connectionName
- The Martini Runtime Redis connection pool nameoK
.@GloopParameter(name="redisBgsaveOutput") public static String bgsave(@GloopParameter(allowNull=false) String connectionName, GloopExecutionContext context)
connectionName
- The Martini Runtime Redis connection pool name@GloopParameter(name="redisFutureBgsaveOutput") public static Future<String> bgsaveAsync(@GloopParameter(allowNull=false) String connectionName, GloopExecutionContext context)
connectionName
- The Martini Runtime Redis connection pool name@GloopParameter(name="redisClientGetnameOutput") public static Object clientGetname(@GloopParameter(allowNull=false) String connectionName, GloopExecutionContext context)
connectionName
- The Martini Runtime Redis connection pool name@GloopParameter(name="redisFutureClientGetnameOutput") public static Future<Object> clientGetnameAsync(@GloopParameter(allowNull=false) String connectionName, GloopExecutionContext context)
connectionName
- The Martini Runtime Redis connection pool name@GloopParameter(name="redisClientSetnameOutput") public static String clientSetname(@GloopParameter(allowNull=false) String connectionName, @GloopParameter(allowNull=false) Object name, GloopExecutionContext context)
connectionName
- The Martini Runtime Redis connection pool namename
- the client nameOK
if the connection name was successfully set.@GloopParameter(name="redisFutureClientSetnameOutput") public static Future<String> clientSetnameAsync(@GloopParameter(allowNull=false) String connectionName, @GloopParameter(allowNull=false) Object name, GloopExecutionContext context)
connectionName
- The Martini Runtime Redis connection pool namename
- the client nameoK
if the connection name was successfully set.@GloopParameter(name="redisClientKillOutput") public static String clientKill(@GloopParameter(allowNull=false) String connectionName, @GloopParameter(allowNull=false) String addr, GloopExecutionContext context)
connectionName
- The Martini Runtime Redis connection pool nameaddr
- ip:portOK
if the connection exists and has been closed@GloopParameter(name="redisClientKillOutput") public static Long clientKill(@GloopParameter(allowNull=false) String connectionName, @GloopObjectParameter(value="killArgs{\n skipme:boolean:By default this option is enabled, that is, the client calling the command will not get killed, however setting this option to false will have the effect of also killing the client calling the command\n addr::Kill the client at this address\n id:long:Kill the client with this client id\n type::This closes the connections of all the clients in the specified {@link Type class}. Note that clients blocked into the {@link Type MONITOR} command are considered to belong to the normal class:false::[\'NORMAL\',\'MASTER\',\'SLAVE\',\'PUBSUB\']\n}") GloopModel killArgs, GloopExecutionContext context)
killArgs
connectionName
- The Martini Runtime Redis connection pool namekillArgs
- args for the kill operation@GloopParameter(name="redisFutureClientKillOutput") public static Future<String> clientKillAsync(@GloopParameter(allowNull=false) String connectionName, @GloopParameter(allowNull=false) String addr, GloopExecutionContext context)
connectionName
- The Martini Runtime Redis connection pool nameaddr
- ip:portoK
if the connection exists and has been closed@GloopParameter(name="redisFutureClientKillOutput") public static Future<Long> clientKillAsync(@GloopParameter(allowNull=false) String connectionName, @GloopObjectParameter(value="killArgs{\n skipme:boolean:By default this option is enabled, that is, the client calling the command will not get killed, however setting this option to false will have the effect of also killing the client calling the command\n addr::Kill the client at this address\n id:long:Kill the client with this client id\n type::This closes the connections of all the clients in the specified {@link Type class}. Note that clients blocked into the {@link Type MONITOR} command are considered to belong to the normal class:false::[\'NORMAL\',\'MASTER\',\'SLAVE\',\'PUBSUB\']\n}") GloopModel killArgs, GloopExecutionContext context)
killArgs
connectionName
- The Martini Runtime Redis connection pool namekillArgs
- args for the kill operation@GloopParameter(name="redisClientUnblockOutput") public static Long clientUnblock(@GloopParameter(allowNull=false) String connectionName, @GloopParameter(allowNull=false) long id, @GloopParameter(allowNull=false,choices={"TIMEOUT","ERROR"}) String type, GloopExecutionContext context)
connectionName
- The Martini Runtime Redis connection pool nameid
- the client id.type
- unblock type.@GloopParameter(name="redisFutureClientUnblockOutput") public static Future<Long> clientUnblockAsync(@GloopParameter(allowNull=false) String connectionName, @GloopParameter(allowNull=false) long id, @GloopParameter(allowNull=false,choices={"TIMEOUT","ERROR"}) String type, GloopExecutionContext context)
connectionName
- The Martini Runtime Redis connection pool nameid
- the client id.type
- unblock type.@GloopParameter(name="redisClientPauseOutput") public static String clientPause(@GloopParameter(allowNull=false) String connectionName, @GloopParameter(allowNull=false) long timeout, GloopExecutionContext context)
connectionName
- The Martini Runtime Redis connection pool nametimeout
- the timeout value in milliseconds@GloopParameter(name="redisFutureClientPauseOutput") public static Future<String> clientPauseAsync(@GloopParameter(allowNull=false) String connectionName, @GloopParameter(allowNull=false) long timeout, GloopExecutionContext context)
connectionName
- The Martini Runtime Redis connection pool nametimeout
- the timeout value in milliseconds@GloopParameter(name="redisClientListOutput") public static String clientList(@GloopParameter(allowNull=false) String connectionName, GloopExecutionContext context)
connectionName
- The Martini Runtime Redis connection pool name@GloopParameter(name="redisFutureClientListOutput") public static Future<String> clientListAsync(@GloopParameter(allowNull=false) String connectionName, GloopExecutionContext context)
connectionName
- The Martini Runtime Redis connection pool name@GloopParameter(name="redisCommandOutput") public static List<Object> command(@GloopParameter(allowNull=false) String connectionName, GloopExecutionContext context)
connectionName
- The Martini Runtime Redis connection pool name@GloopParameter(name="redisFutureCommandOutput") public static Future<List<Object>> commandAsync(@GloopParameter(allowNull=false) String connectionName, GloopExecutionContext context)
connectionName
- The Martini Runtime Redis connection pool name@GloopParameter(name="redisCommandInfoOutput") public static List<Object> commandInfo(@GloopParameter(allowNull=false) String connectionName, GloopExecutionContext context, @GloopObjectParameter(value="commandType[]:::false::[\'APPEND\',\'ASKING\',\'AUTH\',\'BGREWRITEAOF\',\'BGSAVE\',\'BITCOUNT\',\'BITFIELD\',\'BITOP\',\'BITPOS\',\'BLPOP\',\'BRPOP\',\'BRPOPLPUSH\',\'BZPOPMAX\',\'BZPOPMIN\',\'CLIENT\',\'CLUSTER\',\'COMMAND\',\'CONFIG\',\'DBSIZE\',\'DEBUG\',\'DECR\',\'DECRBY\',\'DEL\',\'DISCARD\',\'DUMP\',\'ECHO\',\'EVAL\',\'EVALSHA\',\'EXEC\',\'EXISTS\',\'EXPIRE\',\'EXPIREAT\',\'FLUSHALL\',\'FLUSHDB\',\'GEOADD\',\'GEODECODE\',\'GEODIST\',\'GEOENCODE\',\'GEOHASH\',\'GEOPOS\',\'GEORADIUS\',\'GEORADIUSBYMEMBER\',\'GEORADIUSBYMEMBER_RO\',\'GEORADIUS_RO\',\'GET\',\'GETBIT\',\'GETRANGE\',\'GETSET\',\'HDEL\',\'HEXISTS\',\'HGET\',\'HGETALL\',\'HINCRBY\',\'HINCRBYFLOAT\',\'HKEYS\',\'HLEN\',\'HMGET\',\'HMSET\',\'HSCAN\',\'HSET\',\'HSETNX\',\'HSTRLEN\',\'HVALS\',\'INCR\',\'INCRBY\',\'INCRBYFLOAT\',\'INFO\',\'KEYS\',\'LASTSAVE\',\'LINDEX\',\'LINSERT\',\'LLEN\',\'LPOP\',\'LPUSH\',\'LPUSHX\',\'LRANGE\',\'LREM\',\'LSET\',\'LTRIM\',\'MGET\',\'MIGRATE\',\'MONITOR\',\'MOVE\',\'MSET\',\'MSETNX\',\'MULTI\',\'MYID\',\'OBJECT\',\'PERSIST\',\'PEXPIRE\',\'PEXPIREAT\',\'PFADD\',\'PFCOUNT\',\'PFMERGE\',\'PING\',\'PSETEX\',\'PSUBSCRIBE\',\'PTTL\',\'PUBLISH\',\'PUBSUB\',\'PUNSUBSCRIBE\',\'QUIT\',\'RANDOMKEY\',\'READONLY\',\'READWRITE\',\'RENAME\',\'RENAMENX\',\'RESTORE\',\'ROLE\',\'RPOP\',\'RPOPLPUSH\',\'RPUSH\',\'RPUSHX\',\'SADD\',\'SAVE\',\'SCAN\',\'SCARD\',\'SCRIPT\',\'SDIFF\',\'SDIFFSTORE\',\'SELECT\',\'SENTINEL\',\'SET\',\'SETBIT\',\'SETEX\',\'SETNX\',\'SETRANGE\',\'SHUTDOWN\',\'SINTER\',\'SINTERSTORE\',\'SISMEMBER\',\'SLAVEOF\',\'SLOWLOG\',\'SMEMBERS\',\'SMOVE\',\'SORT\',\'SPOP\',\'SRANDMEMBER\',\'SREM\',\'SSCAN\',\'STRLEN\',\'SUBSCRIBE\',\'SUNION\',\'SUNIONSTORE\',\'SWAPDB\',\'SYNC\',\'TIME\',\'TOUCH\',\'TTL\',\'TYPE\',\'UNLINK\',\'UNSUBSCRIBE\',\'UNWATCH\',\'WAIT\',\'WATCH\',\'XACK\',\'XADD\',\'XCLAIM\',\'XDEL\',\'XGROUP\',\'XINFO\',\'XLEN\',\'XPENDING\',\'XRANGE\',\'XREAD\',\'XREADGROUP\',\'XREVRANGE\',\'XTRIM\',\'ZADD\',\'ZCARD\',\'ZCOUNT\',\'ZINCRBY\',\'ZINTERSTORE\',\'ZLEXCOUNT\',\'ZPOPMAX\',\'ZPOPMIN\',\'ZRANGE\',\'ZRANGEBYLEX\',\'ZRANGEBYSCORE\',\'ZRANK\',\'ZREM\',\'ZREMRANGEBYLEX\',\'ZREMRANGEBYRANK\',\'ZREMRANGEBYSCORE\',\'ZREVRANGE\',\'ZREVRANGEBYLEX\',\'ZREVRANGEBYSCORE\',\'ZREVRANK\',\'ZSCAN\',\'ZSCORE\',\'ZUNIONSTORE\']") String... commandType)
connectionName
- The Martini Runtime Redis connection pool namecommandType
- the commands to query for@GloopParameter(name="redisCommandInfoOutput") public static List<Object> commandInfo(@GloopParameter(allowNull=false) String connectionName, GloopExecutionContext context, @GloopParameter(allowNull=false) CommandType... commands)
connectionName
- The Martini Runtime Redis connection pool namecommands
- the commands to query for@GloopParameter(name="redisFutureCommandInfoOutput") public static Future<List<Object>> commandInfoAsync(@GloopParameter(allowNull=false) String connectionName, GloopExecutionContext context, @GloopParameter(allowNull=false) CommandType... commands)
connectionName
- The Martini Runtime Redis connection pool namecommands
- the commands to query for@GloopParameter(name="redisFutureCommandInfoOutput") public static Future<List<Object>> commandInfoAsync(@GloopParameter(allowNull=false) String connectionName, GloopExecutionContext context, @GloopObjectParameter(value="commandType[]:::false::[\'APPEND\',\'ASKING\',\'AUTH\',\'BGREWRITEAOF\',\'BGSAVE\',\'BITCOUNT\',\'BITFIELD\',\'BITOP\',\'BITPOS\',\'BLPOP\',\'BRPOP\',\'BRPOPLPUSH\',\'BZPOPMAX\',\'BZPOPMIN\',\'CLIENT\',\'CLUSTER\',\'COMMAND\',\'CONFIG\',\'DBSIZE\',\'DEBUG\',\'DECR\',\'DECRBY\',\'DEL\',\'DISCARD\',\'DUMP\',\'ECHO\',\'EVAL\',\'EVALSHA\',\'EXEC\',\'EXISTS\',\'EXPIRE\',\'EXPIREAT\',\'FLUSHALL\',\'FLUSHDB\',\'GEOADD\',\'GEODECODE\',\'GEODIST\',\'GEOENCODE\',\'GEOHASH\',\'GEOPOS\',\'GEORADIUS\',\'GEORADIUSBYMEMBER\',\'GEORADIUSBYMEMBER_RO\',\'GEORADIUS_RO\',\'GET\',\'GETBIT\',\'GETRANGE\',\'GETSET\',\'HDEL\',\'HEXISTS\',\'HGET\',\'HGETALL\',\'HINCRBY\',\'HINCRBYFLOAT\',\'HKEYS\',\'HLEN\',\'HMGET\',\'HMSET\',\'HSCAN\',\'HSET\',\'HSETNX\',\'HSTRLEN\',\'HVALS\',\'INCR\',\'INCRBY\',\'INCRBYFLOAT\',\'INFO\',\'KEYS\',\'LASTSAVE\',\'LINDEX\',\'LINSERT\',\'LLEN\',\'LPOP\',\'LPUSH\',\'LPUSHX\',\'LRANGE\',\'LREM\',\'LSET\',\'LTRIM\',\'MGET\',\'MIGRATE\',\'MONITOR\',\'MOVE\',\'MSET\',\'MSETNX\',\'MULTI\',\'MYID\',\'OBJECT\',\'PERSIST\',\'PEXPIRE\',\'PEXPIREAT\',\'PFADD\',\'PFCOUNT\',\'PFMERGE\',\'PING\',\'PSETEX\',\'PSUBSCRIBE\',\'PTTL\',\'PUBLISH\',\'PUBSUB\',\'PUNSUBSCRIBE\',\'QUIT\',\'RANDOMKEY\',\'READONLY\',\'READWRITE\',\'RENAME\',\'RENAMENX\',\'RESTORE\',\'ROLE\',\'RPOP\',\'RPOPLPUSH\',\'RPUSH\',\'RPUSHX\',\'SADD\',\'SAVE\',\'SCAN\',\'SCARD\',\'SCRIPT\',\'SDIFF\',\'SDIFFSTORE\',\'SELECT\',\'SENTINEL\',\'SET\',\'SETBIT\',\'SETEX\',\'SETNX\',\'SETRANGE\',\'SHUTDOWN\',\'SINTER\',\'SINTERSTORE\',\'SISMEMBER\',\'SLAVEOF\',\'SLOWLOG\',\'SMEMBERS\',\'SMOVE\',\'SORT\',\'SPOP\',\'SRANDMEMBER\',\'SREM\',\'SSCAN\',\'STRLEN\',\'SUBSCRIBE\',\'SUNION\',\'SUNIONSTORE\',\'SWAPDB\',\'SYNC\',\'TIME\',\'TOUCH\',\'TTL\',\'TYPE\',\'UNLINK\',\'UNSUBSCRIBE\',\'UNWATCH\',\'WAIT\',\'WATCH\',\'XACK\',\'XADD\',\'XCLAIM\',\'XDEL\',\'XGROUP\',\'XINFO\',\'XLEN\',\'XPENDING\',\'XRANGE\',\'XREAD\',\'XREADGROUP\',\'XREVRANGE\',\'XTRIM\',\'ZADD\',\'ZCARD\',\'ZCOUNT\',\'ZINCRBY\',\'ZINTERSTORE\',\'ZLEXCOUNT\',\'ZPOPMAX\',\'ZPOPMIN\',\'ZRANGE\',\'ZRANGEBYLEX\',\'ZRANGEBYSCORE\',\'ZRANK\',\'ZREM\',\'ZREMRANGEBYLEX\',\'ZREMRANGEBYRANK\',\'ZREMRANGEBYSCORE\',\'ZREVRANGE\',\'ZREVRANGEBYLEX\',\'ZREVRANGEBYSCORE\',\'ZREVRANK\',\'ZSCAN\',\'ZSCORE\',\'ZUNIONSTORE\']") String... commandType)
connectionName
- The Martini Runtime Redis connection pool namecommandType
- the commands to query for@GloopParameter(name="redisCommandCountOutput") public static Long commandCount(@GloopParameter(allowNull=false) String connectionName, GloopExecutionContext context)
connectionName
- The Martini Runtime Redis connection pool name@GloopParameter(name="redisFutureCommandCountOutput") public static Future<Long> commandCountAsync(@GloopParameter(allowNull=false) String connectionName, GloopExecutionContext context)
connectionName
- The Martini Runtime Redis connection pool name@GloopObjectParameter(value="redisMap[]{\n name:object\n value:object\n}\n") public static GloopModel configGet(@GloopParameter(allowNull=false) String connectionName, @GloopParameter(allowNull=false) String parameter, GloopExecutionContext context)
connectionName
- The Martini Runtime Redis connection pool nameparameter
- name of the parameter@GloopParameter(name="redisFutureConfigGetOutput") public static Future<Map<String,String>> configGetAsync(@GloopParameter(allowNull=false) String connectionName, @GloopParameter(allowNull=false) String parameter, GloopExecutionContext context)
connectionName
- The Martini Runtime Redis connection pool nameparameter
- name of the parameter@GloopParameter(name="redisConfigResetstatOutput") public static String configResetstat(@GloopParameter(allowNull=false) String connectionName, GloopExecutionContext context)
connectionName
- The Martini Runtime Redis connection pool nameOK
.@GloopParameter(name="redisFutureConfigResetstatOutput") public static Future<String> configResetstatAsync(@GloopParameter(allowNull=false) String connectionName, GloopExecutionContext context)
connectionName
- The Martini Runtime Redis connection pool nameoK
.@GloopParameter(name="redisConfigRewriteOutput") public static String configRewrite(@GloopParameter(allowNull=false) String connectionName, GloopExecutionContext context)
connectionName
- The Martini Runtime Redis connection pool nameOK
when the configuration was rewritten properly. Otherwise an error
is returned.@GloopParameter(name="redisFutureConfigRewriteOutput") public static Future<String> configRewriteAsync(@GloopParameter(allowNull=false) String connectionName, GloopExecutionContext context)
connectionName
- The Martini Runtime Redis connection pool nameoK
when the configuration was rewritten properly. otherwise an error
is returned.@GloopParameter(name="redisConfigSetOutput") public static String configSet(@GloopParameter(allowNull=false) String connectionName, @GloopParameter(allowNull=false) String parameter, @GloopParameter(allowNull=false) String value, GloopExecutionContext context)
connectionName
- The Martini Runtime Redis connection pool nameparameter
- the parameter namevalue
- the parameter valueOK
when the configuration was set properly. Otherwise an error is
returned.@GloopParameter(name="redisFutureConfigSetOutput") public static Future<String> configSetAsync(@GloopParameter(allowNull=false) String connectionName, @GloopParameter(allowNull=false) String parameter, @GloopParameter(allowNull=false) String value, GloopExecutionContext context)
connectionName
- The Martini Runtime Redis connection pool nameparameter
- the parameter namevalue
- the parameter valueoK
when the configuration was set properly. otherwise an error is
returned.@GloopParameter(name="redisDbsizeOutput") public static Long dbsize(@GloopParameter(allowNull=false) String connectionName, GloopExecutionContext context)
connectionName
- The Martini Runtime Redis connection pool name@GloopParameter(name="redisFutureDbsizeOutput") public static Future<Long> dbsizeAsync(@GloopParameter(allowNull=false) String connectionName, GloopExecutionContext context)
connectionName
- The Martini Runtime Redis connection pool name@GloopParameter(name="redisDebugCrashAndRecoverOutput") public static String debugCrashAndRecover(@GloopParameter(allowNull=false) String connectionName, Long delay, GloopExecutionContext context)
connectionName
- The Martini Runtime Redis connection pool namedelay
- optional delay in milliseconds@GloopParameter(name="redisFutureDebugCrashAndRecoverOutput") public static Future<String> debugCrashAndRecoverAsync(@GloopParameter(allowNull=false) String connectionName, Long delay, GloopExecutionContext context)
connectionName
- The Martini Runtime Redis connection pool namedelay
- optional delay in milliseconds@GloopParameter(name="redisDebugHtstatsOutput") public static String debugHtstats(@GloopParameter(allowNull=false) String connectionName, @GloopParameter(allowNull=false) int db, GloopExecutionContext context)
connectionName
- The Martini Runtime Redis connection pool namedb
- the database number@GloopParameter(name="redisFutureDebugHtstatsOutput") public static Future<String> debugHtstatsAsync(@GloopParameter(allowNull=false) String connectionName, @GloopParameter(allowNull=false) int db, GloopExecutionContext context)
connectionName
- The Martini Runtime Redis connection pool namedb
- the database number@GloopParameter(name="redisDebugObjectOutput") public static String debugObject(@GloopParameter(allowNull=false) String connectionName, @GloopParameter(allowNull=false) Object key, GloopExecutionContext context)
connectionName
- The Martini Runtime Redis connection pool namekey
- the key@GloopParameter(name="redisFutureDebugObjectOutput") public static Future<String> debugObjectAsync(@GloopParameter(allowNull=false) String connectionName, @GloopParameter(allowNull=false) Object key, GloopExecutionContext context)
connectionName
- The Martini Runtime Redis connection pool namekey
- the keypublic static void debugOom(@GloopParameter(allowNull=false) String connectionName, GloopExecutionContext context)
connectionName
- The Martini Runtime Redis connection pool namepublic static void debugOomAsync(@GloopParameter(allowNull=false) String connectionName, GloopExecutionContext context)
connectionName
- The Martini Runtime Redis connection pool namepublic static void debugSegfault(@GloopParameter(allowNull=false) String connectionName, GloopExecutionContext context)
connectionName
- The Martini Runtime Redis connection pool namepublic static void debugSegfaultAsync(@GloopParameter(allowNull=false) String connectionName, GloopExecutionContext context)
connectionName
- The Martini Runtime Redis connection pool name@GloopParameter(name="redisDebugReloadOutput") public static String debugReload(@GloopParameter(allowNull=false) String connectionName, GloopExecutionContext context)
connectionName
- The Martini Runtime Redis connection pool name@GloopParameter(name="redisFutureDebugReloadOutput") public static Future<String> debugReloadAsync(@GloopParameter(allowNull=false) String connectionName, GloopExecutionContext context)
connectionName
- The Martini Runtime Redis connection pool name@GloopParameter(name="redisDebugRestartOutput") public static String debugRestart(@GloopParameter(allowNull=false) String connectionName, Long delay, GloopExecutionContext context)
connectionName
- The Martini Runtime Redis connection pool namedelay
- optional delay in milliseconds@GloopParameter(name="redisFutureDebugRestartOutput") public static Future<String> debugRestartAsync(@GloopParameter(allowNull=false) String connectionName, Long delay, GloopExecutionContext context)
connectionName
- The Martini Runtime Redis connection pool namedelay
- optional delay in milliseconds@GloopParameter(name="redisDebugSdslenOutput") public static String debugSdslen(@GloopParameter(allowNull=false) String connectionName, @GloopParameter(allowNull=false) Object key, GloopExecutionContext context)
connectionName
- The Martini Runtime Redis connection pool namekey
- the key@GloopParameter(name="redisFutureDebugSdslenOutput") public static Future<String> debugSdslenAsync(@GloopParameter(allowNull=false) String connectionName, @GloopParameter(allowNull=false) Object key, GloopExecutionContext context)
connectionName
- The Martini Runtime Redis connection pool namekey
- the key@GloopParameter(name="redisFlushallOutput") public static String flushall(@GloopParameter(allowNull=false) String connectionName, GloopExecutionContext context)
connectionName
- The Martini Runtime Redis connection pool name@GloopParameter(name="redisFutureFlushallOutput") public static Future<String> flushallAsync(@GloopParameter(allowNull=false) String connectionName, GloopExecutionContext context)
connectionName
- The Martini Runtime Redis connection pool name@GloopParameter(name="redisFutureFlushallAsyncOutput") public static Future<String> flushallAsyncAsync(@GloopParameter(allowNull=false) String connectionName, GloopExecutionContext context)
connectionName
- The Martini Runtime Redis connection pool name@GloopParameter(name="redisFlushdbOutput") public static String flushdb(@GloopParameter(allowNull=false) String connectionName, GloopExecutionContext context)
connectionName
- The Martini Runtime Redis connection pool name@GloopParameter(name="redisFutureFlushdbOutput") public static Future<String> flushdbAsync(@GloopParameter(allowNull=false) String connectionName, GloopExecutionContext context)
connectionName
- The Martini Runtime Redis connection pool name@GloopParameter(name="redisFutureFlushdbAsyncOutput") public static Future<String> flushdbAsyncAsync(@GloopParameter(allowNull=false) String connectionName, GloopExecutionContext context)
connectionName
- The Martini Runtime Redis connection pool name@GloopParameter(name="redisInfoOutput") public static String info(@GloopParameter(allowNull=false) String connectionName, GloopExecutionContext context)
connectionName
- The Martini Runtime Redis connection pool name@GloopParameter(name="redisInfoOutput") public static String info(@GloopParameter(allowNull=false) String connectionName, @GloopParameter(allowNull=false) String section, GloopExecutionContext context)
connectionName
- The Martini Runtime Redis connection pool namesection
- the section type: string@GloopParameter(name="redisFutureInfoOutput") public static Future<String> infoAsync(@GloopParameter(allowNull=false) String connectionName, GloopExecutionContext context)
connectionName
- The Martini Runtime Redis connection pool name@GloopParameter(name="redisFutureInfoOutput") public static Future<String> infoAsync(@GloopParameter(allowNull=false) String connectionName, @GloopParameter(allowNull=false) String section, GloopExecutionContext context)
connectionName
- The Martini Runtime Redis connection pool namesection
- the section type: string@GloopParameter(name="redisLastsaveOutput") public static Date lastsave(@GloopParameter(allowNull=false) String connectionName, GloopExecutionContext context)
connectionName
- The Martini Runtime Redis connection pool name@GloopParameter(name="redisFutureLastsaveOutput") public static Future<Date> lastsaveAsync(@GloopParameter(allowNull=false) String connectionName, GloopExecutionContext context)
connectionName
- The Martini Runtime Redis connection pool name@GloopParameter(name="redisSaveOutput") public static String save(@GloopParameter(allowNull=false) String connectionName, GloopExecutionContext context)
connectionName
- The Martini Runtime Redis connection pool name@GloopParameter(name="redisFutureSaveOutput") public static Future<String> saveAsync(@GloopParameter(allowNull=false) String connectionName, GloopExecutionContext context)
connectionName
- The Martini Runtime Redis connection pool namepublic static void shutdown(@GloopParameter(allowNull=false) String connectionName, @GloopParameter(allowNull=false) boolean save, GloopExecutionContext context)
connectionName
- The Martini Runtime Redis connection pool namesave
- @literal true} force save operationpublic static void shutdownAsync(@GloopParameter(allowNull=false) String connectionName, @GloopParameter(allowNull=false) boolean save, GloopExecutionContext context)
connectionName
- The Martini Runtime Redis connection pool namesave
- @literal true} force save operation@GloopParameter(name="redisSlaveofOutput") public static String slaveof(@GloopParameter(allowNull=false) String connectionName, @GloopParameter(allowNull=false) String host, @GloopParameter(allowNull=false) int port, GloopExecutionContext context)
connectionName
- The Martini Runtime Redis connection pool namehost
- the host type: stringport
- the port type: string@GloopParameter(name="redisFutureSlaveofOutput") public static Future<String> slaveofAsync(@GloopParameter(allowNull=false) String connectionName, @GloopParameter(allowNull=false) String host, @GloopParameter(allowNull=false) int port, GloopExecutionContext context)
connectionName
- The Martini Runtime Redis connection pool namehost
- the host type: stringport
- the port type: string@GloopParameter(name="redisSlaveofNoOneOutput") public static String slaveofNoOne(@GloopParameter(allowNull=false) String connectionName, GloopExecutionContext context)
connectionName
- The Martini Runtime Redis connection pool name@GloopParameter(name="redisFutureSlaveofNoOneOutput") public static Future<String> slaveofNoOneAsync(@GloopParameter(allowNull=false) String connectionName, GloopExecutionContext context)
connectionName
- The Martini Runtime Redis connection pool name@GloopParameter(name="redisSlowlogGetOutput") public static List<Object> slowlogGet(@GloopParameter(allowNull=false) String connectionName, GloopExecutionContext context)
connectionName
- The Martini Runtime Redis connection pool name@GloopParameter(name="redisSlowlogGetOutput") public static List<Object> slowlogGet(@GloopParameter(allowNull=false) String connectionName, @GloopParameter(allowNull=false) int count, GloopExecutionContext context)
connectionName
- The Martini Runtime Redis connection pool namecount
- the count@GloopParameter(name="redisFutureSlowlogGetOutput") public static Future<List<Object>> slowlogGetAsync(@GloopParameter(allowNull=false) String connectionName, GloopExecutionContext context)
connectionName
- The Martini Runtime Redis connection pool name@GloopParameter(name="redisFutureSlowlogGetOutput") public static Future<List<Object>> slowlogGetAsync(@GloopParameter(allowNull=false) String connectionName, @GloopParameter(allowNull=false) int count, GloopExecutionContext context)
connectionName
- The Martini Runtime Redis connection pool namecount
- the count@GloopParameter(name="redisSlowlogLenOutput") public static Long slowlogLen(@GloopParameter(allowNull=false) String connectionName, GloopExecutionContext context)
connectionName
- The Martini Runtime Redis connection pool name@GloopParameter(name="redisFutureSlowlogLenOutput") public static Future<Long> slowlogLenAsync(@GloopParameter(allowNull=false) String connectionName, GloopExecutionContext context)
connectionName
- The Martini Runtime Redis connection pool name@GloopParameter(name="redisSlowlogResetOutput") public static String slowlogReset(@GloopParameter(allowNull=false) String connectionName, GloopExecutionContext context)
connectionName
- The Martini Runtime Redis connection pool name@GloopParameter(name="redisFutureSlowlogResetOutput") public static Future<String> slowlogResetAsync(@GloopParameter(allowNull=false) String connectionName, GloopExecutionContext context)
connectionName
- The Martini Runtime Redis connection pool name@GloopParameter(name="redisTimeOutput") public static List<Object> time(@GloopParameter(allowNull=false) String connectionName, GloopExecutionContext context)
connectionName
- The Martini Runtime Redis connection pool name@GloopParameter(name="redisFutureTimeOutput") public static Future<List<Object>> timeAsync(@GloopParameter(allowNull=false) String connectionName, GloopExecutionContext context)
connectionName
- The Martini Runtime Redis connection pool nameCopyright © 2023. All rights reserved.