Brooklyn

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

brooklyn.entity.rebind.Rebindable
  brooklyn.entity.group.Cluster
      brooklyn.entity.group.DynamicCluster
          brooklyn.entity.nosql.cassandra.CassandraCluster
              brooklyn.entity.trait.Resizable
                  brooklyn.entity.Group
                      brooklyn.entity.basic.AbstractGroup
                          brooklyn.entity.Entity
                              brooklyn.entity.trait.Startable
                                  brooklyn.entity.trait.Changeable
All Superinterfaces:
Rebindable, Cluster, DynamicCluster, Resizable, Group, AbstractGroup, Entity, Startable, Changeable

@Catalog(name="Apache Cassandra Database Cluster", 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(CassandraClusterImpl.class)
public interface CassandraCluster
extends DynamicCluster

A cluster of CassandraNodes based on DynamicCluster which can be resized by a policy if required. TODO add sensors with aggregated Cassandra statistics from cluster


Field Summary
BasicAttributeSensorAndConfigKey CLUSTER_NAME

AttributeSensor HOSTNAME

ConfigKey SEEDS

AttributeSensor THRIFT_PORT

MethodEffector UPDATE

 
Fields inherited from interface DynamicCluster
ENTITY_QUARANTINED, FACTORY, MEMBER_SPEC, QUARANTINE_FAILED_ENTITIES, QUARANTINE_GROUP, REMOVAL_STRATEGY, REPLACE_MEMBER, SERVICE_STATE
 
Fields inherited from interface Cluster
INITIAL_SIZE
 
Fields inherited from interface Changeable
GROUP_SIZE, MEMBER_ADDED, MEMBER_REMOVED
 
Method Summary
java.lang.String getClusterName()

The name of the cluster.

void update()

 
Methods inherited from interface DynamicCluster
replaceMember, setFactory, setMemberSpec, setRemovalStrategy, setRemovalStrategy
 
Methods inherited from interface AbstractGroup
setMembers, setMembers
 
Methods inherited from interface Entity
addChild, addChild, addEnricher, addGroup, addOwnedChild, addPolicy, clearOwner, clearParent, getApplication, getApplicationId, getAttribute, getChildren, getConfig, getDisplayName, getEnrichers, getEntityType, getGroups, getId, getLocations, getOwnedChildren, getOwner, getParent, getPolicies, getRebindSupport, invoke, removeChild, removeEnricher, removeOwnedChild, removePolicy, setOwner, setParent
 
Methods inherited from interface Rebindable
getRebindSupport
 

Field Detail

CLUSTER_NAME

@SetFromFlag("clusterName")
public BasicAttributeSensorAndConfigKey CLUSTER_NAME


HOSTNAME

public AttributeSensor HOSTNAME


SEEDS

public ConfigKey SEEDS


THRIFT_PORT

public AttributeSensor THRIFT_PORT


UPDATE

public MethodEffector UPDATE


 
Method Detail

getClusterName

public java.lang.String getClusterName()
The name of the cluster.


update

@Description("Updates the cluster members")
public void update()


 

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