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
↓ 8 callers
Method
isTrue
<b>Usage</b>: <pre><code> // ... somewhere within the bowels of your code .. // Assert.isTrue (conn.isReady(), "connection is ready", YourRuntimeExcep
core/ri/src/main/java/org/jredis/ri/alphazero/support/Assert.java:130
↓ 8 callers
Method
ltrim
@Redis LTRIM @param listkey @param keepFrom @param keepTo @throws RedisException
core/api/src/main/java/org/jredis/JRedis.java:440
↓ 8 callers
Method
newNodeSpec
(ConnectionSpec connectionSpec)
extensions/ri/src/test/java/org/jredis/cluster/ClusterSpecProviderTestBase.java:40
↓ 8 callers
Method
setName
(String name)
core/ri/src/test/java/org/jredis/ri/JRedisTestSuiteBase.java:308
↓ 7 callers
Method
dbsize
@Redis DBSIZE @return @throws RedisException
core/api/src/main/java/org/jredis/JRedis.java:326
↓ 7 callers
Method
encode
@param object @return
core/api/src/main/java/org/jredis/Codec.java:43
↓ 7 callers
Method
flush
Optional connection control command. @param <K> @return
core/api/src/main/java/org/jredis/JRedisFuture.java:98
↓ 7 callers
Method
getConnectionFlag
@param flag @return the {@link Connection.Flag} @see SocketFlag
core/api/src/main/java/org/jredis/connector/ConnectionSpec.java:130
↓ 7 callers
Method
getConnectionProperty
(Property prop)
core/api/src/main/java/org/jredis/connector/ConnectionSpec.java:270
↓ 7 callers
Method
getSource
@return
core/api/src/main/java/org/jredis/Event.java:72
↓ 7 callers
Method
getStringValue
@return @throws IllegalStateException
core/api/src/main/java/org/jredis/protocol/ValueResponse.java:56
↓ 7 callers
Method
getbit
(K key, int offset)
core/api/src/main/java/org/jredis/JRedis.java:1098
↓ 7 callers
Method
hlen
@Redis HLEN @param key @return # of fields/entries in the given hashtable. @throws RedisException
core/api/src/main/java/org/jredis/JRedis.java:894
↓ 7 callers
Method
isConnected
@return connected status
core/ri/src/main/java/org/jredis/ri/alphazero/connection/ConnectionBase.java:271
↓ 7 callers
Method
lpop
@Redis LPOP @param listKey @return @throws RedisException
core/api/src/main/java/org/jredis/JRedis.java:457
↓ 7 callers
Method
setCRE
Signals completion with error -- response will be null @param cre
core/ri/src/main/java/org/jredis/ri/alphazero/connection/PendingRequest.java:101
↓ 7 callers
Method
setConnectionProperty
(Property prop, Object value)
core/api/src/main/java/org/jredis/connector/ConnectionSpec.java:319
↓ 7 callers
Method
sync
Provides a synchronous semantics interface ({@link JRedis}) to this pipeline. Note that this is <b>not a thread-safe mechanism</b>. If you need a pip
core/ri/src/main/java/org/jredis/ri/alphazero/JRedisPipeline.java:91
↓ 6 callers
Method
_error
(final Category cat, final String msg, final Object...args)
core/ri/src/main/java/org/jredis/ri/alphazero/support/Log.java:64
↓ 6 callers
Method
echo
@Redis ECHO @param msg @return @throws RedisException
core/api/src/main/java/org/jredis/JRedis.java:1081
↓ 6 callers
Method
getDatabase
@return the database selected for the connection. Used on (re-)connect to select the db after network connectivity has been established. @Redis SELEC
core/api/src/main/java/org/jredis/connector/ConnectionSpec.java:82
↓ 6 callers
Method
getModality
@return the {@link Modality} of this protocol handler.
core/api/src/main/java/org/jredis/connector/ConnectionSpec.java:91
↓ 6 callers
Method
getType
@return {@link Response.Type} of this response.
core/api/src/main/java/org/jredis/protocol/Response.java:66
↓ 6 callers
Method
hash
(byte[] kb)
extensions/api/src/main/java/org/jredis/cluster/support/HashAlgorithm.java:28
↓ 6 callers
Method
hgetall
@Redis HGETALL @param key @return the given hash as a Map<String, byte[]> @throws RedisException
core/api/src/main/java/org/jredis/JRedis.java:924
↓ 6 callers
Method
hvals
@Redis HVALS @param key @return list of values in the given hashtable. @throws RedisException
core/api/src/main/java/org/jredis/JRedis.java:914
↓ 6 callers
Method
newProviderInstance
()
extensions/ri/src/test/java/org/jredis/cluster/ClusterModelProviderTestBase.java:70
↓ 6 callers
Method
provider
()
core/ri/src/main/java/org/jredis/ri/alphazero/semantics/DefaultKeyCodec.java:46
↓ 6 callers
Method
remove
()
core/ri/src/main/java/org/jredis/ri/alphazero/connection/ChunkedPipelineConnection.java:532
↓ 6 callers
Method
serviceRequest
A <b>blocking call</b> to service the specified request. This method will return upon the completion of the request response protocol with the connec
core/api/src/main/java/org/jredis/connector/Connection.java:92
↓ 6 callers
Method
setModality
@param modality @return the the {@link ConnectionSpec}
core/api/src/main/java/org/jredis/connector/ConnectionSpec.java:96
↓ 6 callers
Method
srandmember
@Redis SRANDMEMBER @param setkey @return @throws RedisException
core/api/src/main/java/org/jredis/JRedis.java:605
↓ 6 callers
Method
startNewTimer
()
core/bench/src/main/java/org/jredis/bench/Util.java:79
↓ 6 callers
Method
toDouble
TODO: optimize. @param potentiallySignedBytes @return @throws IllegalArgumentException
core/ri/src/main/java/org/jredis/ri/alphazero/support/Convert.java:208
↓ 6 callers
Method
zrank
@Redis ZRANK @param setkey @param member @return @throws RedisException
core/api/src/main/java/org/jredis/JRedis.java:674
↓ 6 callers
Method
zrevrank
@Redis ZREVRANK @param setkey @param member @return @throws RedisException
core/api/src/main/java/org/jredis/JRedis.java:687
↓ 5 callers
Method
assertNull
(Object object, String msgfmt, Object...optionalFmtArgs)
core/api/src/test/java/org/jredis/TestBase.java:70
↓ 5 callers
Method
await
Blocking call awaits the signal for the specified duration. Multiple threads may call this method to wait signal. Ordering is not maintained. @param t
core/ri/src/main/java/org/jredis/ri/alphazero/support/Signal.java:56
↓ 5 callers
Method
computeMd5
Get the md5 of the given key. @throws ClientRuntimeException if MD5 algorithm is not supported. @throws IllegalArgumentException if input is null or z
extensions/ri/src/main/java/org/jredis/ri/cluster/support/CryptoHashUtils.java:45
↓ 5 callers
Method
execAsync
()
core/api/src/main/java/org/jredis/Query.java:63
↓ 5 callers
Method
getAddress
@return
core/api/src/main/java/org/jredis/connector/ConnectionSpec.java:40
↓ 5 callers
Method
getCredentials
@return the password (if any) for the connection. Used on (re-)connect to authenticate the client after connectivity has been established @Redis AUTH
core/api/src/main/java/org/jredis/connector/ConnectionSpec.java:61
↓ 5 callers
Method
getInputStream
()
core/ri/src/main/java/org/jredis/ri/alphazero/connection/ConnectionBase.java:544
↓ 5 callers
Method
getOutputStream
()
core/ri/src/main/java/org/jredis/ri/alphazero/connection/ConnectionBase.java:540
↓ 5 callers
Method
getPort
@return the port number for the connection
core/api/src/main/java/org/jredis/connector/ConnectionSpec.java:49
↓ 5 callers
Method
getRandomBytes
Creates a buffer of given size filled with random byte values @param size @return
core/ri/src/test/java/org/jredis/ri/JRedisTestSuiteBase.java:270
↓ 5 callers
Method
getType
()
extensions/api/src/main/java/org/jredis/cluster/ClusterSpec.java:46
↓ 5 callers
Method
hashCode
Enforece {@link ClusterNodeSpec} identity contract by returning the hashcode of the id. Delegates to {@link String#hashCode()}
extensions/api/src/main/java/org/jredis/cluster/ClusterNodeSpec.java:135
↓ 5 callers
Method
isError
()
core/api/src/main/java/org/jredis/protocol/ResponseStatus.java:65
↓ 5 callers
Method
isSet
(int bitset, Flag flag)
core/api/src/main/java/org/jredis/protocol/Command.java:270
↓ 5 callers
Method
newProviderInstance
Extension point: Tests for specific implementations of <code>T</code> implement this method to create the provider instance. @return <code>T</code> i
extensions/ri/src/test/java/org/jredis/cluster/ProviderTestBase.java:74
↓ 5 callers
Method
newProviderInstance
Ok, so its a hack. (TODO: add a context param to this method in super). @param connectionSpec @return
extensions/ri/src/test/java/org/jredis/cluster/ClusterNodeSpecProviderTestBase.java:51
↓ 5 callers
Method
onConnectionFault
Will throw a {@link ClientRuntimeException} if raiseEx is true @throws IllegalStateException
core/ri/src/main/java/org/jredis/ri/alphazero/connection/ConnectionBase.java:304
↓ 5 callers
Method
opsPerSecAtMark
(long opCount)
core/bench/src/main/java/org/jredis/bench/Util.java:96
↓ 5 callers
Method
removeAll
Note that the collection must not include a null member. @param nodeSpecs @throws IllegalArgumentException if collection includes a null member @retu
extensions/api/src/main/java/org/jredis/cluster/ClusterSpec.java:89
↓ 5 callers
Method
setAddress
@param address @return the {@link ConnectionSpec}
core/api/src/main/java/org/jredis/connector/ConnectionSpec.java:45
↓ 5 callers
Method
setPort
@param port @return the {@link ConnectionSpec}
core/api/src/main/java/org/jredis/connector/ConnectionSpec.java:54
↓ 5 callers
Method
smove
@Redis SMOVE @param srcKey @param destKey @param member @return @throws RedisException
core/api/src/main/java/org/jredis/JRedis.java:527
↓ 5 callers
Method
toString
()
extensions/api/src/main/java/org/jredis/cluster/ClusterNodeSpec.java:140
↓ 5 callers
Method
type
@Redis TYPE @param key @return @throws RedisException
core/api/src/main/java/org/jredis/JRedis.java:277
↓ 4 callers
Method
assertDidRaiseRuntimeError
(Runnable test, Class<FAULT> errtype)
core/ri/src/test/java/org/jredis/ri/JRedisTestSuiteBase.java:277
↓ 4 callers
Method
bitset
(Flag...flags)
core/api/src/main/java/org/jredis/protocol/Command.java:262
↓ 4 callers
Method
buildSortCmd
()
core/ri/src/main/java/org/jredis/ri/alphazero/support/SortSupport.java:121
↓ 4 callers
Method
close
()
core/ri/src/main/java/org/jredis/ri/alphazero/support/Log.java:105
↓ 4 callers
Method
createResponse
Creates a response object for the {@link Command} specified. <p><b>Note</b> that this {@link Response} object has not yet been read. @param cmd the {@
core/api/src/main/java/org/jredis/protocol/Protocol.java:72
↓ 4 callers
Method
decode
This helper method will assume the List<byte[]> being presented is the list returned from a {@link JRedis} method such as {@link JRedis#smembers(Strin
core/ri/src/main/java/org/jredis/ri/alphazero/support/DefaultCodec.java:196
↓ 4 callers
Method
deltaAtMark
@return the elapsed time since call to {@link Timer#mark} in the timer's TimeUnit
core/bench/src/main/java/org/jredis/bench/Util.java:103
↓ 4 callers
Method
expireat
@Redis EXPIREAT @param key @param UNIX epoch-time in <b>milliseconds</b>. Note that Redis expects epochtime in seconds. Implementations are responsib
core/api/src/main/java/org/jredis/JRedis.java:348
↓ 4 callers
Method
getCredentials
()
core/api/src/main/java/org/jredis/connector/ConnectionSpec.java:230
↓ 4 callers
Method
getProviderInstance
@return the <code>T</code> instance used for the provider tests
core/ri/src/test/java/org/jredis/ri/ProviderTestBase.java:83
↓ 4 callers
Method
getRandomBytes
Creates a buffer of given size filled with random byte values @param size @return
extensions/ri/src/test/java/org/jredis/cluster/ClusterSuiteTestData.java:143
↓ 4 callers
Method
getset
(K key, byte[] value)
core/api/src/main/java/org/jredis/JRedis.java:150
↓ 4 callers
Method
hexists
@Redis HEXISTS @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:873
↓ 4 callers
Method
keys
@Redis KEYS @param pattern @return @throws RedisException
core/api/src/main/java/org/jredis/JRedis.java:286
↓ 4 callers
Method
lindex
@Redis LINDEX @param listkey @param index @return @throws RedisException
core/api/src/main/java/org/jredis/JRedis.java:449
↓ 4 callers
Method
newClusterModel
@param clusterSpec @return
extensions/ri/src/test/java/org/jredis/cluster/ClusterModelProviderTestBase.java:49
↓ 4 callers
Method
newClusterSpec
@return a {@link ClusterSpec} suitable for instantiating a provider instance
extensions/ri/src/test/java/org/jredis/cluster/ClusterModelProviderTestBase.java:54
↓ 4 callers
Method
notifyListeners
(Connection.Event e)
core/ri/src/main/java/org/jredis/ri/alphazero/connection/ConnectionBase.java:262
↓ 4 callers
Method
renamenx
@Redis RENAMENX @param oldkey @param brandnewkey @return @throws RedisException
core/api/src/main/java/org/jredis/JRedis.java:319
↓ 4 callers
Method
setConnectionProperty
@param <T> @param property @param value @return
core/api/src/main/java/org/jredis/connector/ConnectionSpec.java:150
↓ 4 callers
Method
setbit
(K key, int offset, boolean value)
core/api/src/main/java/org/jredis/JRedis.java:1096
↓ 4 callers
Method
signal
Signals. All waiters are signaled.
core/ri/src/main/java/org/jredis/ri/alphazero/support/Signal.java:91
↓ 4 callers
Method
supportsReconfiguration
Indicates if the {@link ClusterModel} implementation supports dynamic cluster configurations, @return true if yes, otherwise false.
extensions/api/src/main/java/org/jredis/cluster/ClusterModel.java:47
↓ 4 callers
Method
toDataDictionary
(Map<byte[], byte[]> binaryMap)
core/ri/src/main/java/org/jredis/ri/alphazero/support/DefaultCodec.java:93
↓ 4 callers
Method
toLong
(byte[] bytes)
core/ri/src/main/java/org/jredis/ri/alphazero/support/DefaultCodec.java:149
↓ 4 callers
Method
toString
()
core/api/src/main/java/org/jredis/ObjectInfo.java:88
↓ 4 callers
Method
zrangeSubset
Equivalent to {@link JRedis#zrange(String, long, long)} with the {@link Option.Options#WITHSCORES}. Unlike the general ZRANGE command that only return
core/api/src/main/java/org/jredis/JRedis.java:727
↓ 4 callers
Method
zrevrangeSubset
Equivalent to {@link JRedis#zrevrange(String, long, long)} with the {@link Option.Options#WITHSCORES}. Unlike the general ZREVRANGE command that only
core/api/src/main/java/org/jredis/JRedis.java:743
↓ 3 callers
Method
addListener
Connection.Event propagation. @optional @param connListener @return true if listener was successfully added.
core/api/src/main/java/org/jredis/connector/Connection.java:140
↓ 3 callers
Method
addNode
Optional. <p> Must raise a {@link ClusterModel.Event.Type#NodeAdded} event with the deleted node as the event's info. Event must be raised after the
extensions/api/src/main/java/org/jredis/cluster/ClusterModel.java:63
↓ 3 callers
Method
assertResponseRead
a bit aggressive but to force out the little bugs ..
core/ri/src/main/java/org/jredis/ri/alphazero/protocol/ResponseSupport.java:43
↓ 3 callers
Method
connect
@throws IOException @throws IllegalStateException
core/ri/src/main/java/org/jredis/ri/alphazero/connection/ConnectionBase.java:317
↓ 3 callers
Method
createRequest
@param cmd @param args @return @throws ProviderException @throws IllegalArgumentException
core/api/src/main/java/org/jredis/protocol/Protocol.java:57
↓ 3 callers
Method
decr
@Redis DECR @param key @return @throws RedisException
core/api/src/main/java/org/jredis/JRedis.java:215
↓ 3 callers
Method
decrby
@Redis DECRBY @param key @param delta @return @throws RedisException
core/api/src/main/java/org/jredis/JRedis.java:224
↓ 3 callers
Method
get
(String name)
core/api/src/main/java/org/jredis/resource/Context.java:21
↓ 3 callers
Method
getConnectionProperty
@param <T> @param proptype @return
core/api/src/main/java/org/jredis/connector/ConnectionSpec.java:143
↓ 3 callers
Method
getId
()
extensions/api/src/main/java/org/jredis/cluster/ClusterNodeSpec.java:111
↓ 3 callers
Method
getProtocolHandler
()
core/ri/src/main/java/org/jredis/ri/alphazero/connection/ConnectionBase.java:531
↓ 3 callers
Method
incrby
@Redis INCRBY @param key @param delta @return @throws RedisException
core/api/src/main/java/org/jredis/JRedis.java:207
← previous
next →
101–200 of 1,421, ranked by callers