Brooklyn

brooklyn.entity.database.postgresql
[Java] Interface PostgreSqlNode

brooklyn.entity.trait.Startable
  brooklyn.entity.rebind.Rebindable
      brooklyn.entity.Entity
          brooklyn.entity.basic.SoftwareProcess
              brooklyn.entity.trait.Identifiable
                  brooklyn.entity.database.postgresql.PostgreSqlNode
                      brooklyn.entity.database.DatabaseNode
All Superinterfaces:
Startable, Rebindable, Entity, SoftwareProcess, Identifiable, DatabaseNode

@Catalog(name="PostgreSQL Node", description="PostgreSQL is an object-relational database management system (ORDBMS)", iconUrl="classpath:///postgresql-logo.jpeg")
@ImplementedBy(PostgreSqlNodeImpl.class)
public interface PostgreSqlNode
extends DatabaseNode

Usage notes:

  • On OS X you may need to increase kernel/memory settings, as per http://willbryant.net/software/mac_os_x/postgres_initdb_fatal_shared_memory_error_on_leopard .
  • (You will also need to enable passwordless sudo.)


    Field Summary
    static ConfigKey CREATION_SCRIPT_CONTENTS

    static ConfigKey CREATION_SCRIPT_URL

    static ConfigKey DISCONNECT_ON_STOP

    static PortAttributeSensorAndConfigKey POSTGRESQL_PORT

     
    Fields inherited from interface DatabaseNode
    DB_URL
     
    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
     
    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

    CREATION_SCRIPT_CONTENTS

    public static final ConfigKey CREATION_SCRIPT_CONTENTS =
    public static final ConfigKey CREATION_SCRIPT_CONTENTS


    CREATION_SCRIPT_URL

    public static final ConfigKey CREATION_SCRIPT_URL =
    public static final ConfigKey CREATION_SCRIPT_URL


    DISCONNECT_ON_STOP

    public static final ConfigKey DISCONNECT_ON_STOP =
    public static final ConfigKey DISCONNECT_ON_STOP


    POSTGRESQL_PORT

    public static final PortAttributeSensorAndConfigKey POSTGRESQL_PORT =
    public static final PortAttributeSensorAndConfigKey POSTGRESQL_PORT


     

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