MCPcopy Create free account

hub / github.com/alphazero/jredis / functions

Functions1,421 in github.com/alphazero/jredis

↓ 1,314 callersMethodget
@Redis GET @param key @return @throws RedisException
core/api/src/main/java/org/jredis/JRedis.java:148
↓ 378 callersMethodassertEquals
(Object actual, Object expected, String msgfmt, Object...optionalFmtArgs)
core/api/src/test/java/org/jredis/TestBase.java:76
↓ 348 callersMethodassertTrue
(boolean condition, String msgfmt, Object...optionalFmtArgs)
core/api/src/test/java/org/jredis/TestBase.java:86
↓ 314 callersMethodgetLocalizedMessage
()
core/api/src/main/java/org/jredis/ClientRuntimeException.java:60
↓ 275 callersMethodlog
(String msg)
core/ri/src/main/java/org/jredis/ri/alphazero/support/Log.java:44
↓ 189 callersMethodgetKeyBytes
(K key)
core/ri/src/main/java/org/jredis/ri/alphazero/JRedisSupport.java:2124
↓ 175 callersMethodflushdb
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 callersMethodgetBytes
()
core/ri/src/main/java/org/jredis/ri/alphazero/protocol/ProtocolBase.java:94
↓ 127 callersMethodsize
()
core/ri/src/main/java/org/jredis/ri/alphazero/connection/ChunkedPipelineConnection.java:587
↓ 114 callersMethodformat
(LogRecord record)
core/ri/src/main/java/org/jredis/ri/alphazero/support/Log.java:116
↓ 106 callersMethodadd
(K key, T value)
core/api/src/main/java/org/jredis/KeyValueSet.java:32
↓ 104 callersMethodtoBytes
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 callersMethodqueueRequest
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 callersMethodserviceRequest
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 callersMethodencode
(String value)
core/ri/src/main/java/org/jredis/ri/alphazero/support/DefaultCodec.java:119
↓ 80 callersMethodsadd
@Redis SADD @param setkey @param member @return @throws RedisException
core/api/src/main/java/org/jredis/JRedis.java:487
↓ 77 callersMethodset
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 callersMethodwrite
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 callersMethodllen
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 callersMethodlrem
@Redis LREM @param listKey @param value @param count @return @throws RedisException
core/api/src/main/java/org/jredis/JRedis.java:408
↓ 51 callersMethodvalueOf
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 callersMethodtoStr
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 callersMethoderror
(String msg)
core/ri/src/main/java/org/jredis/ri/alphazero/support/Log.java:54
↓ 38 callersMethodnotNull
<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 callersMethodnewSpec
@return @throws ClientRuntimeException
core/ri/src/main/java/org/jredis/ri/alphazero/connection/DefaultConnectionSpec.java:174
↓ 36 callersMethodassertFalse
(boolean condition, String msgfmt, Object...optionalFmtArgs)
core/api/src/test/java/org/jredis/TestBase.java:90
↓ 35 callersMethodhset
@Redis HSET @param key @param field @param value @return
core/api/src/main/java/org/jredis/JRedis.java:820
↓ 34 callersMethodassertNotNull
(Object object, String msgfmt, Object...optionalFmtArgs)
core/api/src/test/java/org/jredis/TestBase.java:65
↓ 33 callersMethodtoLong
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 callersMethodrpush
@Redis RPUSH @param listkey @param value @throws RedisException
core/api/src/main/java/org/jredis/JRedis.java:368
↓ 31 callersMethodzadd
@Redis ZADD @param setkey @param score @param member @return @throws RedisException
core/api/src/main/java/org/jredis/JRedis.java:626
↓ 29 callersMethodwrite
(byte[] d)
core/ri/src/main/java/org/jredis/ri/alphazero/protocol/ProtocolBase.java:85
↓ 28 callersMethodappend
@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 callersMethodgetLongValue
Redis number values are "64bit signed integers". @return @throws IllegalStateException
core/api/src/main/java/org/jredis/protocol/ValueResponse.java:41
↓ 25 callersMethodexists
@Redis EXISTS @param key @return @throws RedisException
core/api/src/main/java/org/jredis/JRedis.java:260
↓ 25 callersMethodgetMessage
()
core/api/src/main/java/org/jredis/ClientRuntimeException.java:68
↓ 25 callersMethodgetMultiBulkData
@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 callersMethodgetScore
@return the score associated with the value
core/api/src/main/java/org/jredis/ZSetEntry.java:33
↓ 25 callersMethodput
(E e)
core/ri/src/main/java/org/jredis/ri/alphazero/connection/ChunkedPipelineConnection.java:611
↓ 24 callersMethodgetBulkData
@return
core/api/src/main/java/org/jredis/protocol/BulkResponse.java:33
↓ 24 callersMethodgetName
()
core/ri/src/test/java/org/jredis/ri/JRedisTestSuiteBase.java:307
↓ 24 callersMethodlrange
@Redis LRANGE @param listkey @param from @param to @return @throws RedisException
core/api/src/main/java/org/jredis/JRedis.java:431
↓ 24 callersMethodtoInt
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 callersMethoddel
(K ... keys)
core/api/src/main/java/org/jredis/JRedis.java:269
↓ 20 callersMethodlpush
@Redis LPUSH @param listkey @param value @throws RedisException
core/api/src/main/java/org/jredis/JRedis.java:380
↓ 19 callersMethodequals
(Object o)
core/ri/src/test/java/org/jredis/ri/JRedisTestSuiteBase.java:322
↓ 19 callersMethodquit
Disconnects the client. @Redis QUIT
core/api/src/main/java/org/jredis/JRedis.java:80
↓ 18 callersMethodgetBooleanValue
@return @throws IllegalStateException
core/api/src/main/java/org/jredis/protocol/ValueResponse.java:61
↓ 18 callersMethodgetValue
@return the value of this entry in a Redis sorted set
core/api/src/main/java/org/jredis/ZSetEntry.java:30
↓ 17 callersMethodgetNodeSpecs
@return
extensions/api/src/main/java/org/jredis/cluster/ClusterSpec.java:55
↓ 17 callersMethodproblem
(String msg)
core/ri/src/main/java/org/jredis/ri/alphazero/support/Log.java:58
↓ 17 callersMethodrunBenchmark
(final Command cmd, final int reqCnt, final int threadCnt, final BenchmarkWorker[] workers)
core/bench/src/main/java/org/jredis/bench/JRedisBenchmark.java:565
↓ 17 callersMethodscard
@Redis SCARD @param setKey @return @throws RedisException
core/api/src/main/java/org/jredis/JRedis.java:539
↓ 17 callersMethodsetConnectionFlag
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 callersMethodsmembers
@Redis SMEMBERS @param setkey @return @throws RedisException
core/api/src/main/java/org/jredis/JRedis.java:597
↓ 16 callersMethodgetMappings
()
core/api/src/main/java/org/jredis/KeyValueSet.java:33
↓ 16 callersMethodincr
@Redis INCR @param key @return @throws RedisException
core/api/src/main/java/org/jredis/JRedis.java:198
↓ 15 callersMethodgetStatus
@return
core/api/src/main/java/org/jredis/protocol/Response.java:72
↓ 15 callersMethodping
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 callersMethodALPHA
sort is be default numeric -- use this to indicate lexiographic alphanumeric sort
core/api/src/main/java/org/jredis/Sort.java:81
↓ 14 callersMethodDESC
default sort is ASCending -- use this in your sort to specify DESC sort
core/api/src/main/java/org/jredis/Sort.java:78
↓ 14 callersMethodLIMIT
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 callersMethodcontains
(Object o)
core/ri/src/main/java/org/jredis/ri/alphazero/connection/ChunkedPipelineConnection.java:560
↓ 14 callersMethodmget
@Redis MGET @param key @param moreKeys @return @throws RedisException
core/api/src/main/java/org/jredis/JRedis.java:164
↓ 14 callersMethodsetCredentials
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 callersMethodsort
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 callersMethodgetRandomAsciiString
Creates a random ascii string @param length @return
core/ri/src/test/java/org/jredis/ri/JRedisTestSuiteBase.java:257
↓ 13 callersMethodsetDatabase
@param database @return the {@link ConnectionSpec}
core/api/src/main/java/org/jredis/connector/ConnectionSpec.java:87
↓ 13 callersMethodsetSocketProperty
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 callersMethodsismember
@Redis SISMEMBER @param setKey @param member @return @throws RedisException
core/api/src/main/java/org/jredis/JRedis.java:513
↓ 13 callersMethodtoString
()
core/ri/src/test/java/org/jredis/ri/JRedisTestSuiteBase.java:321
↓ 12 callersMethodgetSocketProperty
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 callersMethodlset
@Redis LSET @param key @param index @param value @throws RedisException
core/api/src/main/java/org/jredis/JRedis.java:393
↓ 12 callersMethodreset
(Command cmd, Type type)
core/ri/src/main/java/org/jredis/ri/alphazero/protocol/SyncProtocol.java:211
↓ 12 callersMethodsrem
@Redis SREM @param setKey @param member @return @throws RedisException
core/api/src/main/java/org/jredis/JRedis.java:500
↓ 12 callersMethodtoString
()
core/ri/src/main/java/org/jredis/ri/alphazero/connection/ConnectionBase.java:513
↓ 11 callersMethodaddAll
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 callersMethodqueueRequest
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 callersMethodsetnx
@Redis SETNX @param key @param value @return @throws RedisException
core/api/src/main/java/org/jredis/JRedis.java:136
↓ 10 callersMethodaddNode
@param nodeSpec @return @throws IllegalArgumentException if nodeSpec provided is already present.
extensions/api/src/main/java/org/jredis/cluster/ClusterSpec.java:62
↓ 10 callersMethodconvert
(List<byte[]> mbulkdata)
core/ri/src/main/java/org/jredis/ri/alphazero/JRedisFutureSupport.java:1807
↓ 10 callersMethoddecode
@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 callersMethodgetSpec
@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 callersMethodhdel
@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 callersMethodmark
()
core/bench/src/main/java/org/jredis/bench/Util.java:82
↓ 10 callersMethodread
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 callersMethodthrowIt
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 callersMethodzscore
@Redis ZSCORE @param setkey @param member @return @throws RedisException
core/api/src/main/java/org/jredis/JRedis.java:661
↓ 9 callersMethodbug
(String msg)
core/ri/src/main/java/org/jredis/ri/alphazero/support/Log.java:61
↓ 9 callersMethoddebug
(String msg)
core/ri/src/main/java/org/jredis/ri/alphazero/support/Log.java:48
↓ 9 callersMethodexec
()
core/api/src/main/java/org/jredis/Query.java:62
↓ 9 callersMethodgetId
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 callersMethodhget
@Redis HGET @param key @param field @return
core/api/src/main/java/org/jredis/JRedis.java:861
↓ 9 callersMethodhkeys
@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 callersMethodisError
@return <b>true</b> if response was an error response.
core/api/src/main/java/org/jredis/protocol/Response.java:61
↓ 9 callersMethodmessage
()
core/api/src/main/java/org/jredis/protocol/ResponseStatus.java:64
↓ 9 callersMethodsubstr
@Redis SUBSTR @param key @param from @param to @return @throws RedisException
core/api/src/main/java/org/jredis/JRedis.java:234
↓ 8 callersMethoddisconnect
@throws IllegalStateException
core/ri/src/main/java/org/jredis/ri/alphazero/connection/ConnectionBase.java:360
↓ 8 callersMethodequals
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 callersMethodinfo
@Redis INFO @return @throws RedisException
core/api/src/main/java/org/jredis/JRedis.java:1056
next →1–100 of 1,421, ranked by callers