All Downloads are FREE. Search and download functionalities are using the official Maven repository.

gu.dtalk.redis.RedisConfigManager Maven / Gradle / Ivy

There is a newer version: 0.8.0
Show newest version
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