Brooklyn

brooklyn.entity.nosql.mongodb
[Java] Interface MongoDBServer

brooklyn.entity.trait.Startable
  brooklyn.entity.rebind.Rebindable
      brooklyn.entity.Entity
          brooklyn.entity.basic.SoftwareProcess
              brooklyn.entity.nosql.mongodb.MongoDBServer
                  brooklyn.entity.trait.Identifiable
All Superinterfaces:
Startable, Rebindable, Entity, SoftwareProcess, Identifiable

@Catalog(name="MongoDB Server",
    description="MongoDB (from \"humongous\") is a scalable, high-performance, open source NoSQL database",
    iconUrl="classpath:///mongodb-logo.png")
@ImplementedBy(MongoDBServerImpl.class)
public interface MongoDBServer
extends SoftwareProcess

Field Summary
ConfigKey DATA_DIRECTORY

AttributeSensorAndConfigKey DOWNLOAD_URL

ConfigKey ENABLE_REST_INTERFACE

AttributeSensor HTTP_INTERFACE_URL

ConfigKey MONGODB_CONF_TEMPLATE_URL

AttributeSensor NETWORK_BYTES_IN

AttributeSensor NETWORK_BYTES_OUT

AttributeSensor NETWORK_NUM_REQUESTS

A single server's replica set configuration *

AttributeSensor OPCOUNTERS_COMMAND

AttributeSensor OPCOUNTERS_DELETES

AttributeSensor OPCOUNTERS_GETMORE

AttributeSensor OPCOUNTERS_INSERTS

AttributeSensor OPCOUNTERS_QUERIES

AttributeSensor OPCOUNTERS_UPDATES

PortAttributeSensorAndConfigKey PORT

ConfigKey REPLICA_SET_ENABLED

AttributeSensor REPLICA_SET_MEMBER_STATUS

AttributeSensorAndConfigKey REPLICA_SET_NAME

AttributeSensor REPLICA_SET_PRIMARY

AttributeSensor REPLICA_SET_PRIMARY_NAME

AttributeSensor REPLICA_SET_SECONDARY

AttributeSensor STATUS

ConfigKey SUGGESTED_VERSION

AttributeSensor UPTIME_SECONDS

 
Fields inherited from interface SoftwareProcess
ADDRESS, CUSTOMIZE_LATCH, DOWNLOAD_ADDON_URLS, DOWNLOAD_URL, HOSTNAME, INSTALL_LATCH, LAUNCH_LATCH, PROVISIONING_LOCATION, PROVISIONING_PROPERTIES, SERVICE_STATE, SHELL_ENVIRONMENT, START_LATCH, START_TIMEOUT, SUBNET_ADDRESS, SUBNET_HOSTNAME, SUGGESTED_INSTALL_DIR, SUGGESTED_RUN_DIR, SUGGESTED_VERSION
 
Fields inherited from interface Startable
RESTART, SERVICE_UP, START, STOP
 
Method Summary
MongoClientSupport getClient()

 
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
 

Field Detail

DATA_DIRECTORY

@SetFromFlag("mongodbConfTemplateUrl")
public ConfigKey DATA_DIRECTORY


DOWNLOAD_URL

@SetFromFlag("port")
public AttributeSensorAndConfigKey DOWNLOAD_URL


ENABLE_REST_INTERFACE

AttributeSensor HTTP_INTERFACE_URL = new BasicAttributeSensor(String.class,
public ConfigKey ENABLE_REST_INTERFACE


HTTP_INTERFACE_URL

public AttributeSensor HTTP_INTERFACE_URL


MONGODB_CONF_TEMPLATE_URL

public ConfigKey MONGODB_CONF_TEMPLATE_URL


NETWORK_BYTES_IN

public AttributeSensor NETWORK_BYTES_IN


NETWORK_BYTES_OUT

public AttributeSensor NETWORK_BYTES_OUT


NETWORK_NUM_REQUESTS

public AttributeSensor NETWORK_NUM_REQUESTS
A single server's replica set configuration *


OPCOUNTERS_COMMAND

public AttributeSensor OPCOUNTERS_COMMAND


OPCOUNTERS_DELETES

public AttributeSensor OPCOUNTERS_DELETES


OPCOUNTERS_GETMORE

public AttributeSensor OPCOUNTERS_GETMORE


OPCOUNTERS_INSERTS

public AttributeSensor OPCOUNTERS_INSERTS


OPCOUNTERS_QUERIES

public AttributeSensor OPCOUNTERS_QUERIES


OPCOUNTERS_UPDATES

public AttributeSensor OPCOUNTERS_UPDATES


PORT

@SetFromFlag("dataDirectory")
public PortAttributeSensorAndConfigKey PORT


REPLICA_SET_ENABLED

public ConfigKey REPLICA_SET_ENABLED


REPLICA_SET_MEMBER_STATUS

public AttributeSensor REPLICA_SET_MEMBER_STATUS


REPLICA_SET_NAME

public AttributeSensorAndConfigKey REPLICA_SET_NAME


REPLICA_SET_PRIMARY

public AttributeSensor REPLICA_SET_PRIMARY


REPLICA_SET_PRIMARY_NAME

public AttributeSensor REPLICA_SET_PRIMARY_NAME


REPLICA_SET_SECONDARY

public AttributeSensor REPLICA_SET_SECONDARY


STATUS

public AttributeSensor STATUS


SUGGESTED_VERSION

@SetFromFlag("version")
public ConfigKey SUGGESTED_VERSION


UPTIME_SECONDS

public AttributeSensor UPTIME_SECONDS


 
Method Detail

getClient

public MongoClientSupport getClient()


 

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