gu.dtalk.redis.RedisConfigManager Maven / Gradle / Ivy
package gu.dtalk.redis;
import gu.simplemq.IMessageQueueConfigManager;
import gu.simplemq.MessageQueueType;
import gu.simplemq.exceptions.SmqNotFoundConnectionException;
import static gu.dtalk.redis.RedisConfigType.lookupConnect;
import static gu.dtalk.redis.RedisConfigType.lookupConnectUnchecked;
public class RedisConfigManager implements IMessageQueueConfigManager {
public RedisConfigManager() {
}
@Override
public RedisConfigType lookupMessageQueueConnect(Integer timeoutMills) throws SmqNotFoundConnectionException{
return lookupConnect(timeoutMills);
}
@Override
public RedisConfigType lookupMessageQueueConnectUnchecked(Integer timeoutMills) {
return lookupConnectUnchecked(timeoutMills);
}
@Override
public final MessageQueueType getImplType() {
return MessageQueueType.REDIS;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy