Package io.debezium.server.redis
Class RedisMemoryThreshold
java.lang.Object
io.debezium.server.redis.RedisMemoryThreshold
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionRedisMemoryThreshold(io.debezium.storage.redis.RedisClient client, RedisStreamChangeConsumerConfig config) -
Method Summary
Modifier and TypeMethodDescriptionbooleancheck()private voiddisable()private booleanmemoryTuple(long defaultMaxMemory) private Long
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
INFO_MEMORY
- See Also:
-
INFO_MEMORY_SECTION_MAXMEMORY
- See Also:
-
INFO_MEMORY_SECTION_USEDMEMORY
- See Also:
-
MEMORY_OK
-
client
private io.debezium.storage.redis.RedisClient client -
memoryThreshold
private int memoryThreshold -
memoryLimit
private long memoryLimit -
isMemoryOk
-
-
Constructor Details
-
RedisMemoryThreshold
public RedisMemoryThreshold(io.debezium.storage.redis.RedisClient client, RedisStreamChangeConsumerConfig config)
-
-
Method Details
-
check
public boolean check() -
isMemoryOk
private boolean isMemoryOk() -
memoryTuple
-
disable
private void disable() -
parseLong
-