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 callers
Method
notifyShuttingDown
()
core/ri/src/main/java/org/jredis/ri/alphazero/connection/ConnectionBase.java:226
↓ 1 callers
Method
now
()
core/bench/src/main/java/org/jredis/bench/Util.java:87
↓ 1 callers
Method
offer
(E item)
core/ri/src/main/java/org/jredis/ri/alphazero/connection/ChunkedPipelineConnection.java:467
↓ 1 callers
Method
onMeasure
(long delta)
extensions/ri/src/test/java/org/jredis/test/util/RunningAverage.java:28
↓ 1 callers
Method
prep
anything that needs to be done to setup the calls -- typically all time consuming data setup tasks go here ...
core/bench/src/main/java/org/jredis/bench/JRedisBenchmark.java:700
↓ 1 callers
Method
readObject
(ObjectInputStream in)
core/api/src/main/java/org/jredis/Event.java:87
↓ 1 callers
Method
readSingleLineResponse
Makes blocking calls to input stream until it gets crlf. Should not be used for size/count lines. @param in
core/ri/src/main/java/org/jredis/ri/alphazero/protocol/SyncProtocol.java:224
↓ 1 callers
Method
reconnect
Attempt reconnect. Must be in a (previously) connected state when called. @throws IllegalStateException if not (logically) connected.
core/ri/src/main/java/org/jredis/ri/alphazero/connection/ConnectionBase.java:278
↓ 1 callers
Method
replicationCount
TODO: need to change this to getReplicationConstant and TODO: extend ClusterSpec to allow setting of arbitrary parameters so it can be user configured
extensions/api/src/main/java/org/jredis/cluster/model/ConsistentHashCluster.java:103
↓ 1 callers
Method
reportNonCompliance
(List<String> notsupported, String simpleName)
core/api/src/test/java/org/jredis/compliance/CheckRedisCompliance.java:90
↓ 1 callers
Method
run
()
core/bench/src/main/java/org/jredis/ri/alphazero/bench/SimpleBenchJRedisChunkedPipeline.java:28
↓ 1 callers
Method
run
()
core/bench/src/main/java/org/jredis/ri/alphazero/bench/SimpleBenchJRedisAsync.java:17
↓ 1 callers
Method
run
()
core/bench/src/main/java/org/jredis/ri/alphazero/bench/SimpleBenchJRedisClient.java:20
↓ 1 callers
Method
run
()
core/bench/src/main/java/org/jredis/ri/alphazero/bench/SimpleBenchJRedisPipeline.java:18
↓ 1 callers
Method
run
()
core/ri/src/test/java/org/jredis/ri/adhoc/AdHocTestChunkPipeline.java:47
↓ 1 callers
Method
run
this is not supposed to get called unless you actually run redis on port 9999 :P
core/ri/src/test/java/org/jredis/ri/adhoc/AdHocTestNoConnection.java:27
↓ 1 callers
Method
run
()
examples/src/main/java/org/jredis/examples/UsingJRedisPipelineService.java:52
↓ 1 callers
Method
run
(String password)
examples/src/main/java/org/jredis/examples/HelloAgain.java:47
↓ 1 callers
Method
runBenchmarks
Runs a set of command primitives test runs using concurrent clients. [TODO: add all commands - this is a sampling of a few.] <p><b>Be advised that thi
core/bench/src/main/java/org/jredis/bench/JRedisBenchmark.java:98
↓ 1 callers
Method
runExamples
@throws InterruptedException
examples/src/main/java/org/jredis/examples/UsingJRedisFuture.java:206
↓ 1 callers
Method
runJRedisPipelineSET
pipelines SET reqCnt times and then waits on response of the last INCR. If foverever flag is true, will do so forever. Each cycle prints out timing s
examples/src/main/java/org/jredis/examples/PipelineInAction.java:267
↓ 1 callers
Method
runasync
()
core/ri/src/test/java/org/jredis/ri/adhoc/AdHocTestInfo.java:76
↓ 1 callers
Method
runsync
()
core/ri/src/test/java/org/jredis/ri/adhoc/AdHocTestInfo.java:61
↓ 1 callers
Method
sdiffstore
@Redis SDIFFSTORE @param destSetKey @param sets @throws RedisException
core/api/src/main/java/org/jredis/JRedis.java:589
↓ 1 callers
Method
seekToCRLF
@param in
core/ri/src/main/java/org/jredis/ri/alphazero/protocol/SyncProtocol.java:370
↓ 1 callers
Method
setConnection
(Connection connection)
core/ri/src/main/java/org/jredis/ri/alphazero/JRedisClient.java:156
↓ 1 callers
Method
setConnection
This extension point is really only necessary to allow this class to set the {@link FaultedConnection} when necessary, in course of the {@link SyncJRe
core/ri/src/main/java/org/jredis/ri/alphazero/SyncJRedisBase.java:61
↓ 1 callers
Method
setDefaultValues
Set the default values for the {@link ConnectionSpec} other properties. @see ConnectionSpec @see Connection.Property @see Connection.Property @see Con
core/ri/src/main/java/org/jredis/ri/alphazero/connection/DefaultConnectionSpec.java:139
↓ 1 callers
Method
setHeartbeat
@param seconds heartbeat period @return the {@link ConnectionSpec}
core/api/src/main/java/org/jredis/connector/ConnectionSpec.java:177
↓ 1 callers
Method
setItem
(E update)
core/ri/src/main/java/org/jredis/ri/alphazero/connection/ChunkedPipelineConnection.java:449
↓ 1 callers
Method
setProviderInstance
Must be called by a BeforeTest method to set the jredis parameter. @param provider that is being tested.
core/ri/src/test/java/org/jredis/ri/ProviderTestBase.java:72
↓ 1 callers
Method
setReconnectCnt
@param cnt @return the {@link ConnectionSpec}
core/api/src/main/java/org/jredis/connector/ConnectionSpec.java:159
↓ 1 callers
Method
setupTestSuiteData
All providers to be tested with the same degree of test data. We're using random data and can't guarantee exact teset data. TODO: flip switch to use r
core/ri/src/test/java/org/jredis/ri/JRedisTestSuiteBase.java:198
↓ 1 callers
Method
setupTestSuiteData
a do nothing method - keeping it around in case I change my mind about using the singleton test data class. @return
extensions/ri/src/test/java/org/jredis/cluster/RefImplTestSuiteBase.java:98
↓ 1 callers
Method
shutdown
@throws IllegalStateException
core/ri/src/main/java/org/jredis/ri/alphazero/connection/ConnectionBase.java:373
↓ 1 callers
Method
shutdown
()
core/ri/src/main/java/org/jredis/ri/alphazero/connection/HeartbeatJinn.java:85
↓ 1 callers
Method
shutdownHandler
()
core/ri/src/main/java/org/jredis/ri/alphazero/connection/ChunkedPipelineConnection.java:908
↓ 1 callers
Method
shutdownHandler
()
core/ri/src/main/java/org/jredis/ri/alphazero/connection/PipelineConnectionBase.java:373
↓ 1 callers
Method
socketClose
()
core/ri/src/main/java/org/jredis/ri/alphazero/connection/ConnectionBase.java:425
↓ 1 callers
Method
stop
()
core/ri/src/test/java/org/jredis/ri/adhoc/AdHocTestChunkPipeline.java:44
↓ 1 callers
Method
supports
@param type @return whether this codec supports the (en/de)coding of the type <code>T</code>
core/api/src/main/java/org/jredis/Codec.java:48
↓ 1 callers
Method
supports
(Command cmd)
extensions/ri/src/main/java/org/jredis/ri/cluster/connection/ClusterConnectionBase.java:124
↓ 1 callers
Method
task
(final JRedisFuture jredis)
core/ri/src/test/java/org/jredis/ri/adhoc/AdHocTestChunkPipeline.java:73
↓ 1 callers
Method
testChainedResult
(ClusterSpec res, ClusterSpec expected)
extensions/ri/src/test/java/org/jredis/cluster/ClusterSpecProviderTestBase.java:186
↓ 1 callers
Method
theBasics
The basics of using {@link Future} objects and {@link JRedisFuture}. <p>Note the key differences between using {@link JRedis} and {@link JRedisFuture}
examples/src/main/java/org/jredis/examples/UsingJRedisFuture.java:59
↓ 1 callers
Method
toBytes
(T value)
core/ri/src/main/java/org/jredis/ri/alphazero/BulkSetMapping.java:30
↓ 1 callers
Method
toDouble
@param bs bytes of the ascii string representation of a double number. E.g. "2.002".getBytes() @return
core/ri/src/main/java/org/jredis/ri/alphazero/support/DefaultCodec.java:167
↓ 1 callers
Method
trySetFormatter
(Formatter fmt)
core/ri/src/main/java/org/jredis/ri/alphazero/support/Log.java:86
↓ 1 callers
Method
usingAsyncClient
Using the asynchronous interface
examples/src/main/java/org/jredis/examples/commands/UsingZrangeSubset.java:74
↓ 1 callers
Method
usingAsyncClient
Using the asynchronous interface
examples/src/main/java/org/jredis/examples/commands/UsingBulkCommands.java:119
↓ 1 callers
Method
usingSyncClient
Using the synchronous interface
examples/src/main/java/org/jredis/examples/commands/UsingZrangeSubset.java:57
↓ 1 callers
Method
usingSyncClient
Using the synchronous interface
examples/src/main/java/org/jredis/examples/commands/UsingBulkCommands.java:52
↓ 1 callers
Method
usingSynchSemantics
@param spec
examples/src/main/java/org/jredis/examples/PipelineInAction.java:67
↓ 1 callers
Method
work
Typically just a tight loop calling the redis server for the given test and using the data prep'd in {@link BenchmarkWorker#prep()}
core/bench/src/main/java/org/jredis/bench/JRedisBenchmark.java:702
↓ 1 callers
Method
worker
(final JRedisFuture jredis, String tname)
core/ri/src/test/java/org/jredis/ri/adhoc/AdHocTestChunkPipeline.java:67
↓ 1 callers
Method
writeObject
(ObjectOutputStream out)
core/api/src/main/java/org/jredis/Event.java:82
↓ 1 callers
Method
writeRequestToBuffer
(final Buffer buffer, final Command cmd, final byte[]...args)
core/ri/src/main/java/org/jredis/ri/alphazero/connection/ChunkedPipelineConnection.java:670
↓ 1 callers
Method
zrangebyscoreSubset
@Redis ZRANGEBYSCORE ... WITHSCORES @param setkey @param minScore @param maxScore @return @throws RedisException
core/api/src/main/java/org/jredis/JRedis.java:763
Method
ALPHA
()
core/ri/src/main/java/org/jredis/ri/alphazero/support/SortSupport.java:59
Method
AdHocTestChunkPipeline
()
core/ri/src/test/java/org/jredis/ri/adhoc/AdHocTestChunkPipeline.java:35
Method
AdHocTestInfo
(final Connection.Modality connmode)
core/ri/src/test/java/org/jredis/ri/adhoc/AdHocTestInfo.java:29
Method
AdHocTestNoConnection
()
core/ri/src/test/java/org/jredis/ri/adhoc/AdHocTestNoConnection.java:22
Method
AsyncConnection
( ConnectionSpec connectionSpec )
core/ri/src/main/java/org/jredis/ri/alphazero/connection/AsyncConnection.java:66
Method
AsyncPipelineConnection
@param spec @throws ClientRuntimeException
core/ri/src/main/java/org/jredis/ri/alphazero/connection/AsyncPipelineConnection.java:42
Method
BY
species the BY clause
core/api/src/main/java/org/jredis/Sort.java:65
Method
BY
(K pattern)
core/ri/src/main/java/org/jredis/ri/alphazero/support/SortSupport.java:72
Method
BasicStaticHashCluster
@param clusterSpec
extensions/ri/src/main/java/org/jredis/ri/cluster/model/BasicStaticHashCluster.java:40
Method
BenchmarkWorker
(String host, int port, int db)
core/bench/src/main/java/org/jredis/bench/JRedisBenchmark.java:655
Method
Benchmarker
(final Command cmd, final int reqCnt, final int threadCnt, final BenchmarkWorker[] workers)
core/bench/src/main/java/org/jredis/bench/JRedisBenchmark.java:572
Method
Buffer
(int size)
core/ri/src/main/java/org/jredis/ri/alphazero/connection/ChunkedPipelineConnection.java:638
Method
Buffer
(int size)
core/ri/src/main/java/org/jredis/ri/alphazero/protocol/ProtocolBase.java:82
Method
CheckRedisCompliance
@throws Exception
core/api/src/test/java/org/jredis/compliance/CheckRedisCompliance.java:63
Method
ChunkedPipelineConnection
(ConnectionSpec spec)
core/ri/src/main/java/org/jredis/ri/alphazero/connection/ChunkedPipelineConnection.java:149
Method
ClientRuntimeException
@param message
core/api/src/main/java/org/jredis/ClientRuntimeException.java:41
Method
ClusterConnectionBase
Convenience form for default immediate connection to the nodes. @param model @throws ClientRuntimeException @see {@link ClusterConnectionBase#ClusterC
extensions/ri/src/main/java/org/jredis/ri/cluster/connection/ClusterConnectionBase.java:72
Method
ClusterSuiteTestData
()
extensions/ri/src/test/java/org/jredis/cluster/ClusterSuiteTestData.java:92
Method
Command
Each enum member directly corresponds to a Redis command, per specification. Command semantics is specified by the element constructor params. @param
core/api/src/main/java/org/jredis/protocol/Command.java:190
Method
CommandNotImplemented
@param command
core/api/src/main/java/org/jredis/protocol/CommandNotImplemented.java:38
Method
Concurrent2LockQueue
()
core/ri/src/main/java/org/jredis/ri/alphazero/connection/ChunkedPipelineConnection.java:460
Method
ConnectionBase
Will create and initialize a socket per the connection spec. @See {@link ConnectionSpec} @param spec @param connectImmediately will connect the socket
core/ri/src/main/java/org/jredis/ri/alphazero/connection/ConnectionBase.java:108
Method
ConnectionException
TODO: not sure if specifying {@link SocketException} is a good idea. @param msg @param e
core/api/src/main/java/org/jredis/connector/ConnectionException.java:43
Method
ConnectionFault
@param string @param e
core/api/src/main/java/org/jredis/connector/ConnectionFault.java:38
Method
ConnectionReset
@param string @param e
core/api/src/main/java/org/jredis/connector/ConnectionReset.java:58
Method
DESC
()
core/ri/src/main/java/org/jredis/ri/alphazero/support/SortSupport.java:65
Method
DefaultClusterNodeSpec
@param connSpec @throws IllegalArgumentException
extensions/ri/src/main/java/org/jredis/ri/cluster/DefaultClusterNodeSpec.java:51
Method
DefaultClusterSpec
()
extensions/ri/src/main/java/org/jredis/ri/cluster/DefaultClusterSpec.java:44
Method
DefaultConnectionSpec
Instantiates a default connection spec for the given host and port. @param address @param port @throws ClientRuntimeException for invalid port, or nul
core/ri/src/main/java/org/jredis/ri/alphazero/connection/DefaultConnectionSpec.java:97
Method
DefaultStringCodec
()
core/ri/src/main/java/org/jredis/ri/alphazero/semantics/DefaultStringCodec.java:25
Method
Event
@param src @param eType @param info
core/api/src/main/java/org/jredis/Event.java:51
Method
Event
@param src @param type
core/api/src/main/java/org/jredis/connector/Connection.java:235
Method
Event
@param src @param type @param info
extensions/api/src/main/java/org/jredis/cluster/ClusterModel.java:145
Method
FastBufferedInputStream
@param in the input source @param bufferSize size of the {@link FastBufferedInputStream#iobuffer}
core/ri/src/main/java/org/jredis/ri/alphazero/support/FastBufferedInputStream.java:47
Method
FaultedConnection
instantiates a faulted connection for the given {@link ConnectionSpec} @param connSpec @param errMsg
core/api/src/main/java/org/jredis/connector/FaultedConnection.java:48
Method
Flag
()
core/api/src/main/java/org/jredis/protocol/Command.java:259
Method
Flag
()
core/api/src/main/java/org/jredis/connector/Connection.java:295
Method
FutureBit
(Future<Response> pendingRequest)
core/ri/src/main/java/org/jredis/ri/alphazero/JRedisFutureSupport.java:1532
Method
FutureBoolean
(Future<Response> pendingRequest)
core/ri/src/main/java/org/jredis/ri/alphazero/JRedisFutureSupport.java:1513
Method
FutureByteArray
(Future<Response> pendingRequest)
core/ri/src/main/java/org/jredis/ri/alphazero/JRedisFutureSupport.java:1627
Method
FutureByteArrayList
(Future<Response> pendingRequest)
core/ri/src/main/java/org/jredis/ri/alphazero/JRedisFutureSupport.java:1665
Method
FutureDataDictionary
(Future<Response> pendingRequest)
core/ri/src/main/java/org/jredis/ri/alphazero/JRedisFutureSupport.java:1682
← previous
next →
401–500 of 1,421, ranked by callers