brooklyn.entity.nosql.redis.RedisSlave Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of brooklyn-software-nosql Show documentation
Show all versions of brooklyn-software-nosql Show documentation
Brooklyn entities for NoSQL data store software entities
package brooklyn.entity.nosql.redis;
import brooklyn.config.ConfigKey;
import brooklyn.entity.proxying.ImplementedBy;
import brooklyn.event.basic.BasicConfigKey;
import brooklyn.util.flags.SetFromFlag;
/**
* A {@link RedisStore} configured as a slave.
*/
@ImplementedBy(RedisSlaveImpl.class)
public interface RedisSlave extends RedisStore {
@SetFromFlag("master")
ConfigKey MASTER = new BasicConfigKey(RedisStore.class, "redis.master", "Redis master");
@SetFromFlag("redisConfigTemplateUrl")
ConfigKey REDIS_CONFIG_TEMPLATE_URL = new BasicConfigKey(
String.class, "redis.config.templateUrl", "Template file (in freemarker format) for the redis.conf config file",
"classpath://brooklyn/entity/nosql/redis/slave.conf");
RedisStore getMaster();
}