public class CassandraFabricImpl extends DynamicFabricImpl implements CassandraFabric
CassandraDatacenter.
 Serveral subtleties to note: - a node may take some time after it is running and serving JMX to actually be contactable on its thrift port (so we wait for thrift port to be contactable) - sometimes new nodes take a while to peer, and/or take a while to get a consistent schema (each up to 1m; often very close to the 1m)
| Modifier and Type | Class and Description | 
|---|---|
| static class  | CassandraFabricImpl.MemberTrackingPolicy | 
Startable.RestartEffectorBody, Startable.StartEffectorBody, Startable.StopEffectorBodyBrooklynObject.TagSupportEntityInternal.FeedSupportCHILD_ADDED, CHILD_REMOVED, EFFECTOR_ADDED, EFFECTOR_CHANGED, EFFECTOR_REMOVED, POLICY_ADDED, POLICY_REMOVED, SENSOR_ADDED, SENSOR_REMOVEDCURRENT_SEEDS, DATA_CENTER_NAMER, DATACENTER_USAGE, DATACENTERS, DEFAULT_SEED_QUORUM, HAS_PUBLISHED_SEEDS, HOSTNAME, INITIAL_QUORUM_SIZE, THRIFT_PORT, UPDATECUSTOM_CHILD_FLAGS, DISPLAY_NAME_PREFIX, DISPLAY_NAME_SUFFIX, FABRIC_SIZE, FACTORY, MEMBER_SPEC, SERVICE_STATE_ACTUALFIRST, FIRST_MEMBER, GROUP_MEMBERS, MEMBER_DELEGATE_CHILDREN, MEMBER_DELEGATE_NAME_FORMAT, RUNNING_QUORUM_CHECK, UP_QUORUM_CHECKGROUP_SIZE, MEMBER_ADDED, MEMBER_REMOVEDRESTART, SERVICE_UP, START, STOP| Constructor and Description | 
|---|
| CassandraFabricImpl() | 
| Modifier and Type | Method and Description | 
|---|---|
| com.google.common.base.Supplier<java.util.Set<Entity>> | getSeedSupplier()Prefers one node per location, and then others from anywhere. | 
| void | init()Default entity initialization, just calls  AbstractEntity.initEnrichers(). | 
| void | start(java.util.Collection<? extends Location> locations)Start the entity in the given collection of locations. | 
| void | stop()Stop the entity. | 
| void | update() | 
getFabricSize, removeChild, restart, setFactory, setMemberSpecaddMember, addMemberChild, addMemberChild, addMemberInternal, getCurrentSize, getMembers, hasMember, removeMember, setManagementContext, setMembers, setMembersaddChild, addChild, addEnricher, addEnricher, addFeed, addGroup, addLocations, addPolicy, addPolicy, addTag, clearLocations, clearParent, configure, configure, configure, configure, configure, containsTag, destroy, emit, emitInternal, equals, feeds, firstLocation, getAllAttributes, getAllConfig, getAllConfigBag, getApplication, getApplicationId, getAttribute, getAttributeByNameParts, getChildren, getConfig, getConfig, getConfig, getConfig, getConfigMap, getConfigRaw, getConfigRaw, getCreationTime, getDisplayName, getEffector, getEnrichers, getEntityType, getExecutionContext, getFeedSupport, getGroups, getIconUrl, getLocalConfigBag, getLocations, getManagementContext, getManagementSupport, getMutableEntityType, getParent, getPolicies, getProxy, getProxyIfAvailable, getRebindSupport, getSubscriptionContext, getTags, hashCode, invalidateReferences, invoke, invoke, invoke, modifyAttribute, onManagementBecomingMaster, onManagementNoLongerMaster, onManagementStarted, onManagementStarting, onManagementStopped, refreshInheritedConfig, removeAllEnrichers, removeAllPolicies, removeAttribute, removeEnricher, removeGroup, removeLocations, removePolicy, removeTag, requestPersist, resetProxy, setAttribute, setAttribute, setAttributeWithoutPublishing, setConfig, setConfig, setConfig, setConfig, setConfig, setConfig, setConfigEvenIfOwned, setConfigEvenIfOwned, setDisplayName, setParent, setProxy, subscribe, subscribeToChildren, subscribeToMembers, toMetadataRecord, toString, unsubscribe, unsubscribegetCatalogItemId, getId, getTagSupport, rebind, setCatalogItemId, tagsgetFabricSize, setFactory, setMemberSpecsetMembers, setMembersaddChild, addChild, addMember, addMemberChild, addMemberChild, getCurrentSize, getMembers, hasMember, removeMemberaddEnricher, addEnricher, addFeed, addGroup, addPolicy, addPolicy, addTag, clearParent, containsTag, getApplication, getApplicationId, getAttribute, getChildren, getConfig, getConfig, getConfigRaw, getConfigRaw, getCreationTime, getDisplayName, getEnrichers, getEntityType, getGroups, getIconUrl, getId, getLocations, getParent, getPolicies, getTags, invoke, removeChild, removeEnricher, removeGroup, removePolicy, removeTag, setParentgetCatalogItemId, getTagSupport, tagssetCatalogItemIdpublic void init()
AbstractEntityAbstractEntity.initEnrichers().init in class DynamicFabricImplpublic com.google.common.base.Supplier<java.util.Set<Entity>> getSeedSupplier()
public void start(java.util.Collection<? extends Location> locations)
Startable
 Some entities may define custom Effector implementations which support
 a richer set of parameters.  See the entity-specific Startable.START effector declaration.
start in interface Startablestart in class DynamicFabricImplpublic void stop()
Startable
 Some entities may define custom Effector implementations which support
 a richer set of parameters.  See the entity-specific Startable.STOP effector declaration.
stop in interface Startablestop in class DynamicFabricImplpublic void update()
update in interface CassandraFabric