Uses of Class
com.github.fppt.jedismock.server.ServiceOptions
Packages that use ServiceOptions
-
Uses of ServiceOptions in com.github.fppt.jedismock
Methods in com.github.fppt.jedismock that return ServiceOptionsMethods in com.github.fppt.jedismock with parameters of type ServiceOptions -
Uses of ServiceOptions in com.github.fppt.jedismock.server
Methods in com.github.fppt.jedismock.server that return ServiceOptionsModifier and TypeMethodDescriptionstatic ServiceOptionsServiceOptions.defaultOptions()static ServiceOptionsServiceOptions.executeOnly(int n) A special type of interceptor which mocks only given number of command invocation and then breaks the connection.ServiceOptions.withClusterModeEnabled()Enables cluster mode for Jedis Mock, compatible with JedisCluster and RedisClusterClient from Lettuce.static ServiceOptionsServiceOptions.withInterceptor(RedisCommandInterceptor commandInterceptor) Set interceptor which handles all the operations sent to JedisMock and can be used for overriding the standard behaviour.