| Package | Description |
|---|---|
| com.github.fppt.jedismock | |
| com.github.fppt.jedismock.server |
| Modifier and Type | Method and Description |
|---|---|
RedisServer |
RedisServer.setOptions(ServiceOptions options) |
| Modifier and Type | Method and Description |
|---|---|
static ServiceOptions |
ServiceOptions.defaultOptions() |
static ServiceOptions |
ServiceOptions.executeOnly(int n)
A special type of interceptor which mocks only given number of command invocation and then breaks the connection.
|
static ServiceOptions |
ServiceOptions.withInterceptor(RedisCommandInterceptor commandInterceptor)
Set interceptor which handles all the operations sent to JedisMock and can be used for
overriding the standard behaviour.
|
| Constructor and Description |
|---|
RedisService(int bindPort,
InetAddress address,
Map<Integer,RedisBase> redisBases,
ServiceOptions options) |
Copyright © 2023. All rights reserved.