Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alphazero/jredis
/ functions
Functions
1,421 in github.com/alphazero/jredis
⨍
Functions
1,421
◇
Types & classes
240
↓ 1,314 callers
Method
get
@Redis GET @param key @return @throws RedisException
core/api/src/main/java/org/jredis/JRedis.java:148
↓ 378 callers
Method
assertEquals
(Object actual, Object expected, String msgfmt, Object...optionalFmtArgs)
core/api/src/test/java/org/jredis/TestBase.java:76
↓ 348 callers
Method
assertTrue
(boolean condition, String msgfmt, Object...optionalFmtArgs)
core/api/src/test/java/org/jredis/TestBase.java:86
↓ 314 callers
Method
getLocalizedMessage
()
core/api/src/main/java/org/jredis/ClientRuntimeException.java:60
↓ 275 callers
Method
log
(String msg)
core/ri/src/main/java/org/jredis/ri/alphazero/support/Log.java:44
↓ 189 callers
Method
getKeyBytes
(K key)
core/ri/src/main/java/org/jredis/ri/alphazero/JRedisSupport.java:2124
↓ 175 callers
Method
flushdb
Flushes the db you selected when connecting to Redis server. Typically, implementations will select db 0 on connecting if non was specified. Remembe
core/api/src/main/java/org/jredis/JRedis.java:959
↓ 159 callers
Method
getBytes
()
core/ri/src/main/java/org/jredis/ri/alphazero/protocol/ProtocolBase.java:94
↓ 127 callers
Method
size
()
core/ri/src/main/java/org/jredis/ri/alphazero/connection/ChunkedPipelineConnection.java:587
↓ 114 callers
Method
format
(LogRecord record)
core/ri/src/main/java/org/jredis/ri/alphazero/support/Log.java:116
↓ 106 callers
Method
add
(K key, T value)
core/api/src/main/java/org/jredis/KeyValueSet.java:32
↓ 104 callers
Method
toBytes
return the bytes of the string representation of the integer. Perhaps should be called getNumberBytes, or perhaps getHumanReadableBytes() Ex: 444 =>
core/ri/src/main/java/org/jredis/ri/alphazero/support/Convert.java:67
↓ 95 callers
Method
queueRequest
This method mimics the eponymous {@link Connection#queueRequest(Command, byte[]...)} which defines the blocking api semantics of Synchronous connectio
core/ri/src/main/java/org/jredis/ri/alphazero/JRedisFutureSupport.java:92
↓ 89 callers
Method
serviceRequest
This method mimics the eponymous {@link Connection#serviceRequest(Command, byte[]...)} which defines the blocking api semantics of Synchronous connect
core/ri/src/main/java/org/jredis/ri/alphazero/JRedisSupport.java:95
↓ 81 callers
Method
encode
(String value)
core/ri/src/main/java/org/jredis/ri/alphazero/support/DefaultCodec.java:119
↓ 80 callers
Method
sadd
@Redis SADD @param setkey @param member @return @throws RedisException
core/api/src/main/java/org/jredis/JRedis.java:487
↓ 77 callers
Method
set
Bind the value to key. @Redis SET @param key any UTF-8 {@link String} @param value any bytes. For current data size limitations, refer to Redis docum
core/api/src/main/java/org/jredis/JRedis.java:96
↓ 66 callers
Method
write
Writes itself to the provided {@link OutputStream}. @param out the stream to write to. @throws ClientRuntimeException to indicate a system error, po
core/api/src/main/java/org/jredis/connector/Message.java:63
↓ 52 callers
Method
llen
Given a 'list' key, returns the number of items in the list. @Redis LLEN @param listkey @return @throws RedisException
core/api/src/main/java/org/jredis/JRedis.java:421
↓ 51 callers
Method
lrem
@Redis LREM @param listKey @param value @param count @return @throws RedisException
core/api/src/main/java/org/jredis/JRedis.java:408
↓ 51 callers
Method
valueOf
Strictly speaking, this doesn't belong here but cuts down on redundant code. Parses the DEBUG OBJECT <key> response to return an instance of {@link Ob
core/api/src/main/java/org/jredis/ObjectInfo.java:107
↓ 49 callers
Method
toStr
This helper method is mainly intended for use with a list of keys returned from Redis, given that it will use the UTF-8 {@link Charset} in decoding th
core/ri/src/main/java/org/jredis/ri/alphazero/support/DefaultCodec.java:83
↓ 43 callers
Method
error
(String msg)
core/ri/src/main/java/org/jredis/ri/alphazero/support/Log.java:54
↓ 38 callers
Method
notNull
<b>Usage</b>: <pre><code> // ... somewhere within the bowels of your code .. // Assert.notNull (aReference, YourRuntimeException.class); </code> </pre
core/ri/src/main/java/org/jredis/ri/alphazero/support/Assert.java:76
↓ 37 callers
Method
newSpec
@return @throws ClientRuntimeException
core/ri/src/main/java/org/jredis/ri/alphazero/connection/DefaultConnectionSpec.java:174
↓ 36 callers
Method
assertFalse
(boolean condition, String msgfmt, Object...optionalFmtArgs)
core/api/src/test/java/org/jredis/TestBase.java:90
↓ 35 callers
Method
hset
@Redis HSET @param key @param field @param value @return
core/api/src/main/java/org/jredis/JRedis.java:820
↓ 34 callers
Method
assertNotNull
(Object object, String msgfmt, Object...optionalFmtArgs)
core/api/src/test/java/org/jredis/TestBase.java:65
↓ 33 callers
Method
toLong
Its just like (really! :) {@link Convert#toInt(byte[], int, int)} but for {@link Long} values. Max number of digits is now {@link Convert#MAX_POSITIV
core/ri/src/main/java/org/jredis/ri/alphazero/support/Convert.java:151
↓ 31 callers
Method
rpush
@Redis RPUSH @param listkey @param value @throws RedisException
core/api/src/main/java/org/jredis/JRedis.java:368
↓ 31 callers
Method
zadd
@Redis ZADD @param setkey @param score @param member @return @throws RedisException
core/api/src/main/java/org/jredis/JRedis.java:626
↓ 29 callers
Method
write
(byte[] d)
core/ri/src/main/java/org/jredis/ri/alphazero/protocol/ProtocolBase.java:85
↓ 28 callers
Method
append
@Redis APPEND @param key @param value @return length (byte count) of appended value @throws RedisException
core/api/src/main/java/org/jredis/JRedis.java:244
↓ 28 callers
Method
getLongValue
Redis number values are "64bit signed integers". @return @throws IllegalStateException
core/api/src/main/java/org/jredis/protocol/ValueResponse.java:41
↓ 25 callers
Method
exists
@Redis EXISTS @param key @return @throws RedisException
core/api/src/main/java/org/jredis/JRedis.java:260
↓ 25 callers
Method
getMessage
()
core/api/src/main/java/org/jredis/ClientRuntimeException.java:68
↓ 25 callers
Method
getMultiBulkData
@return the List of values returned from the server. List may contain null elements, reflecting '<b>nil</b>' values per redis specification. The ope
core/api/src/main/java/org/jredis/protocol/MultiBulkResponse.java:47
↓ 25 callers
Method
getScore
@return the score associated with the value
core/api/src/main/java/org/jredis/ZSetEntry.java:33
↓ 25 callers
Method
put
(E e)
core/ri/src/main/java/org/jredis/ri/alphazero/connection/ChunkedPipelineConnection.java:611
↓ 24 callers
Method
getBulkData
@return
core/api/src/main/java/org/jredis/protocol/BulkResponse.java:33
↓ 24 callers
Method
getName
()
core/ri/src/test/java/org/jredis/ri/JRedisTestSuiteBase.java:307
↓ 24 callers
Method
lrange
@Redis LRANGE @param listkey @param from @param to @return @throws RedisException
core/api/src/main/java/org/jredis/JRedis.java:431
↓ 24 callers
Method
toInt
Converts the byte[]s of the ASCII representation of a decimal number to an int. <p>Expects a byte array of no more than {@link Convert#MAX_POSITIVE_3
core/ri/src/main/java/org/jredis/ri/alphazero/support/Convert.java:112
↓ 22 callers
Method
del
(K ... keys)
core/api/src/main/java/org/jredis/JRedis.java:269
↓ 20 callers
Method
lpush
@Redis LPUSH @param listkey @param value @throws RedisException
core/api/src/main/java/org/jredis/JRedis.java:380
↓ 19 callers
Method
equals
(Object o)
core/ri/src/test/java/org/jredis/ri/JRedisTestSuiteBase.java:322
↓ 19 callers
Method
quit
Disconnects the client. @Redis QUIT
core/api/src/main/java/org/jredis/JRedis.java:80
↓ 18 callers
Method
getBooleanValue
@return @throws IllegalStateException
core/api/src/main/java/org/jredis/protocol/ValueResponse.java:61
↓ 18 callers
Method
getValue
@return the value of this entry in a Redis sorted set
core/api/src/main/java/org/jredis/ZSetEntry.java:30
↓ 17 callers
Method
getNodeSpecs
@return
extensions/api/src/main/java/org/jredis/cluster/ClusterSpec.java:55
↓ 17 callers
Method
problem
(String msg)
core/ri/src/main/java/org/jredis/ri/alphazero/support/Log.java:58
↓ 17 callers
Method
runBenchmark
(final Command cmd, final int reqCnt, final int threadCnt, final BenchmarkWorker[] workers)
core/bench/src/main/java/org/jredis/bench/JRedisBenchmark.java:565
↓ 17 callers
Method
scard
@Redis SCARD @param setKey @return @throws RedisException
core/api/src/main/java/org/jredis/JRedis.java:539
↓ 17 callers
Method
setConnectionFlag
Sets the specified {@link Connection.Flag} @param flag @param value @return the referenced {@link ConnectionSpec}
core/api/src/main/java/org/jredis/connector/ConnectionSpec.java:137
↓ 17 callers
Method
smembers
@Redis SMEMBERS @param setkey @return @throws RedisException
core/api/src/main/java/org/jredis/JRedis.java:597
↓ 16 callers
Method
getMappings
()
core/api/src/main/java/org/jredis/KeyValueSet.java:33
↓ 16 callers
Method
incr
@Redis INCR @param key @return @throws RedisException
core/api/src/main/java/org/jredis/JRedis.java:198
↓ 15 callers
Method
getStatus
@return
core/api/src/main/java/org/jredis/protocol/Response.java:72
↓ 15 callers
Method
ping
Ping redis @return true (unless not authorized) @throws RedisException (as of ver. 0.09) in case of unauthorized access
core/api/src/main/java/org/jredis/JRedis.java:74
↓ 14 callers
Method
ALPHA
sort is be default numeric -- use this to indicate lexiographic alphanumeric sort
core/api/src/main/java/org/jredis/Sort.java:81
↓ 14 callers
Method
DESC
default sort is ASCending -- use this in your sort to specify DESC sort
core/api/src/main/java/org/jredis/Sort.java:78
↓ 14 callers
Method
LIMIT
Specifies the LIMIT class: from is the initial index, count is the number of results @param from limit sort results to element at index 'from' @param
core/api/src/main/java/org/jredis/Sort.java:75
↓ 14 callers
Method
contains
(Object o)
core/ri/src/main/java/org/jredis/ri/alphazero/connection/ChunkedPipelineConnection.java:560
↓ 14 callers
Method
mget
@Redis MGET @param key @param moreKeys @return @throws RedisException
core/api/src/main/java/org/jredis/JRedis.java:164
↓ 14 callers
Method
setCredentials
Set the Connection's credentials, presented to Redis on (re)connects. @param credentials @see ConnectionSpec#setCredentials(String) @return the {@link
core/api/src/main/java/org/jredis/connector/ConnectionSpec.java:68
↓ 14 callers
Method
sort
Usage: <p>Usage: <p><code><pre> List<byte[]> results = redis.sort("my-list-or-set-key").BY("weight ").LIMIT(1, 11).GET("object ").DESC().ALPHA().exec
core/api/src/main/java/org/jredis/JRedis.java:1012
↓ 13 callers
Method
getRandomAsciiString
Creates a random ascii string @param length @return
core/ri/src/test/java/org/jredis/ri/JRedisTestSuiteBase.java:257
↓ 13 callers
Method
setDatabase
@param database @return the {@link ConnectionSpec}
core/api/src/main/java/org/jredis/connector/ConnectionSpec.java:87
↓ 13 callers
Method
setSocketProperty
Set the {@link SocketProperty} for the {@link ConnectionSpec} @param property @param value @return the previous value (if any). Null if none existed,
core/api/src/main/java/org/jredis/connector/ConnectionSpec.java:124
↓ 13 callers
Method
sismember
@Redis SISMEMBER @param setKey @param member @return @throws RedisException
core/api/src/main/java/org/jredis/JRedis.java:513
↓ 13 callers
Method
toString
()
core/ri/src/test/java/org/jredis/ri/JRedisTestSuiteBase.java:321
↓ 12 callers
Method
getSocketProperty
Get the {@link Connection.Socket.Property} for the {@link ConnectionSpec} @param property @return the specified socket property used for the connectio
core/api/src/main/java/org/jredis/connector/ConnectionSpec.java:117
↓ 12 callers
Method
lset
@Redis LSET @param key @param index @param value @throws RedisException
core/api/src/main/java/org/jredis/JRedis.java:393
↓ 12 callers
Method
reset
(Command cmd, Type type)
core/ri/src/main/java/org/jredis/ri/alphazero/protocol/SyncProtocol.java:211
↓ 12 callers
Method
srem
@Redis SREM @param setKey @param member @return @throws RedisException
core/api/src/main/java/org/jredis/JRedis.java:500
↓ 12 callers
Method
toString
()
core/ri/src/main/java/org/jredis/ri/alphazero/connection/ConnectionBase.java:513
↓ 11 callers
Method
addAll
Note that the collection must not include a null member. @param nodeSpecs is a {@link Collection} instead of a {@link Set} to relax the type requirem
extensions/api/src/main/java/org/jredis/cluster/ClusterSpec.java:80
↓ 11 callers
Method
queueRequest
A <b>non-blocking call</b> to service the specified request at some point in the future. This method will return immediately with a {@link Future} obj
core/api/src/main/java/org/jredis/connector/Connection.java:114
↓ 11 callers
Method
setnx
@Redis SETNX @param key @param value @return @throws RedisException
core/api/src/main/java/org/jredis/JRedis.java:136
↓ 10 callers
Method
addNode
@param nodeSpec @return @throws IllegalArgumentException if nodeSpec provided is already present.
extensions/api/src/main/java/org/jredis/cluster/ClusterSpec.java:62
↓ 10 callers
Method
convert
(List<byte[]> mbulkdata)
core/ri/src/main/java/org/jredis/ri/alphazero/JRedisFutureSupport.java:1807
↓ 10 callers
Method
decode
@param bytes @return an instance of type <code>T</code> corresponding to the value of decoded <code>bytes</code>
core/api/src/main/java/org/jredis/Codec.java:38
↓ 10 callers
Method
getSpec
@return the {@link ClusterSpec} that accurately represents the current state of the model.
extensions/api/src/main/java/org/jredis/cluster/ClusterModel.java:53
↓ 10 callers
Method
hdel
@Redis HDEL @param key @param field @return true if the spec'd field exists for the spec'd (hash type) key @throws RedisException
core/api/src/main/java/org/jredis/JRedis.java:884
↓ 10 callers
Method
mark
()
core/bench/src/main/java/org/jredis/bench/Util.java:82
↓ 10 callers
Method
read
Reads itself from the provided {@link InputStream} @param in the steam to read from. @throws ClientRuntimeException to indicate a system error, pote
core/api/src/main/java/org/jredis/connector/Message.java:49
↓ 10 callers
Method
throwIt
Not really intended for external use since you could simply throw new E (msg). <p> <b>Usage</b> (if you must): <pre><code> // ... somewhere within the
core/ri/src/main/java/org/jredis/ri/alphazero/support/Assert.java:238
↓ 10 callers
Method
zscore
@Redis ZSCORE @param setkey @param member @return @throws RedisException
core/api/src/main/java/org/jredis/JRedis.java:661
↓ 9 callers
Method
bug
(String msg)
core/ri/src/main/java/org/jredis/ri/alphazero/support/Log.java:61
↓ 9 callers
Method
debug
(String msg)
core/ri/src/main/java/org/jredis/ri/alphazero/support/Log.java:48
↓ 9 callers
Method
exec
()
core/api/src/main/java/org/jredis/Query.java:62
↓ 9 callers
Method
getId
All implementations must provide a cluster wide unique {@link String} identifier for a node. @return
extensions/api/src/main/java/org/jredis/cluster/ClusterNodeSpec.java:48
↓ 9 callers
Method
hget
@Redis HGET @param key @param field @return
core/api/src/main/java/org/jredis/JRedis.java:861
↓ 9 callers
Method
hkeys
@Redis HKEYS @param key @return list of keys in the given hashtable. @throws RedisException
core/api/src/main/java/org/jredis/JRedis.java:904
↓ 9 callers
Method
isError
@return <b>true</b> if response was an error response.
core/api/src/main/java/org/jredis/protocol/Response.java:61
↓ 9 callers
Method
message
()
core/api/src/main/java/org/jredis/protocol/ResponseStatus.java:64
↓ 9 callers
Method
substr
@Redis SUBSTR @param key @param from @param to @return @throws RedisException
core/api/src/main/java/org/jredis/JRedis.java:234
↓ 8 callers
Method
disconnect
@throws IllegalStateException
core/ri/src/main/java/org/jredis/ri/alphazero/connection/ConnectionBase.java:360
↓ 8 callers
Method
equals
Test for equality to enforce {@link ClusterNodeSpec} identity contract spec, will compare the ids of the two objects. @throws IllegalArgumentException
extensions/api/src/main/java/org/jredis/cluster/ClusterNodeSpec.java:121
↓ 8 callers
Method
info
@Redis INFO @return @throws RedisException
core/api/src/main/java/org/jredis/JRedis.java:1056
next →
1–100 of 1,421, ranked by callers