Brooklyn

brooklyn.entity.nosql.cassandra
[Java] Interface CassandraFabric

brooklyn.entity.trait.Startable
  brooklyn.entity.group.Fabric
      brooklyn.entity.rebind.Rebindable
          brooklyn.entity.Entity
              brooklyn.entity.group.Tier
                  brooklyn.entity.Group
                      brooklyn.entity.nosql.cassandra.CassandraFabric
                          brooklyn.entity.trait.Changeable
                              brooklyn.entity.basic.AbstractGroup
                                  brooklyn.entity.group.DynamicFabric
                                      brooklyn.entity.trait.Identifiable
All Superinterfaces:
Startable, Fabric, Rebindable, Entity, Tier, Group, Changeable, AbstractGroup, DynamicFabric, Identifiable

@Catalog(name="Apache Cassandra Database Fabric", description="Cassandra is a highly scalable, eventually " +
        "consistent, distributed, structured key-value store which provides a ColumnFamily-based data model " +
        "richer than typical key/value systems", iconUrl="classpath:///cassandra-logo.jpeg")
@ImplementedBy(CassandraFabricImpl.class)
public interface CassandraFabric
extends DynamicFabric

A fabric of CassandraNodes, which forms a cluster spanning multiple locations.

Each CassandraCluster child instance is actually just a part of the whole cluster. It consists of the nodes in that single location (which normally corresponds to a "datacenter" in Cassandra terminology).


Field Summary
AttributeSensor CURRENT_SEEDS

AttributeSensor DATACENTERS

AttributeSensor DATACENTER_USAGE

AttributeSensor HAS_PUBLISHED_SEEDS

AttributeSensor HOSTNAME

ConfigKey INITIAL_QUORUM_SIZE

AttributeSensor THRIFT_PORT

MethodEffector UPDATE

 
Fields inherited from interface DynamicFabric
CUSTOM_CHILD_FLAGS, DISPLAY_NAME_PREFIX, DISPLAY_NAME_SUFFIX, FABRIC_SIZE, FACTORY, MEMBER_SPEC, SERVICE_STATE
 
Fields inherited from interface Startable
RESTART, SERVICE_UP, START, STOP
 
Fields inherited from interface Changeable
GROUP_SIZE, MEMBER_ADDED, MEMBER_REMOVED
 
Method Summary
void update()

 
Methods inherited from interface DynamicFabric
getFabricSize, setFactory, setMemberSpec
 
Methods inherited from interface Startable
restart, start, stop
 
Methods inherited from interface AbstractGroup
setMembers, setMembers
 
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 Group
addMember, getCurrentSize, getMembers, hasMember, removeMember
 

Field Detail

CURRENT_SEEDS

public AttributeSensor CURRENT_SEEDS


DATACENTERS

public AttributeSensor DATACENTERS


DATACENTER_USAGE

public AttributeSensor DATACENTER_USAGE


HAS_PUBLISHED_SEEDS

public AttributeSensor HAS_PUBLISHED_SEEDS


HOSTNAME

public AttributeSensor HOSTNAME


INITIAL_QUORUM_SIZE

public ConfigKey INITIAL_QUORUM_SIZE


THRIFT_PORT

public AttributeSensor THRIFT_PORT


UPDATE

public MethodEffector UPDATE


 
Method Detail

update

@Effector(description="Updates the cluster members")
public void update()


 

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