Brooklyn

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

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

@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 Resizable
RESIZE
 
Fields inherited from interface Startable
RESTART, SERVICE_UP, START, STOP
 
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 Resizable
getCurrentSize, resize
 
Methods inherited from interface Startable
restart, start, stop
 

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.