Brooklyn

brooklyn.entity.nosql.redis
[Java] Interface RedisCluster

brooklyn.entity.trait.Startable
  brooklyn.entity.rebind.Rebindable
      brooklyn.entity.Entity
          brooklyn.entity.trait.Identifiable
              brooklyn.entity.nosql.redis.RedisCluster
All Superinterfaces:
Startable, Rebindable, Entity, Identifiable

@Catalog(name="Redis Cluster", description="Redis is an open-source, networked, in-memory, key-value data store with optional durability", iconUrl="classpath:///redis-logo.png")
@ImplementedBy(RedisClusterImpl.class)
public interface RedisCluster
extends Entity, Startable

A cluster of RedisStores with one master and a group of slaves. The slaves are contained in a DynamicCluster which can be resized by a policy if required. TODO add sensors with aggregated Redis statistics from cluster


Field Summary
 
Fields inherited from interface Startable
RESTART, SERVICE_UP, START, STOP
 
Method Summary
RedisStore getMaster()

DynamicCluster getSlaves()

 
Methods inherited from interface Startable
restart, start, stop
 
Methods inherited from interface Entity
addChild, addChild, addEnricher, addGroup, addPolicy, clearParent, getApplication, getApplicationId, getAttribute, getChildren, getConfig, getConfig, getCreationTime, getDisplayName, getEnrichers, getEntityType, getGroups, getIconUrl, getId, getLocations, getParent, getPolicies, getRebindSupport, invoke, removeChild, removeEnricher, removePolicy, setParent
 
Methods inherited from interface Identifiable
getId
 
Methods inherited from interface Rebindable
getRebindSupport
 

Method Detail

getMaster

public RedisStore getMaster()


getSlaves

public DynamicCluster getSlaves()


 

Brooklyn Multi-Cloud Application Management Platform
brooklyncentral.github.com. Apache License. © 2012.