org.apache.activemq.apollo.broker

Broker

class Broker extends BaseService with SecuredResource with PluginStateSupport

A Broker is parent object of all services assoicated with the serverside of a message passing system. It keeps track of all running connections, virtual hosts and assoicated messaging destintations.

Linear Supertypes
PluginStateSupport, SecuredResource, BaseService, Dispatched, Service, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Broker
  2. PluginStateSupport
  3. SecuredResource
  4. BaseService
  5. Dispatched
  6. Service
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Broker()

Type Members

  1. class CREATED extends State

    Attributes
    protected
    Definition Classes
    BaseService
  2. class FAILED extends State

    Attributes
    protected
    Definition Classes
    BaseService
  3. class PeriodStat extends AnyRef

  4. class STARTED extends State

    Attributes
    protected
    Definition Classes
    BaseService
  5. class STARTING extends State

    Attributes
    protected
    Definition Classes
    BaseService
  6. class STOPPED extends State

    Attributes
    protected
    Definition Classes
    BaseService
  7. class STOPPING extends State

    Attributes
    protected
    Definition Classes
    BaseService
  8. sealed class State extends AnyRef

    Definition Classes
    BaseService

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. object PeriodStat

  7. var _service_failure: Throwable

    Attributes
    protected
    Definition Classes
    BaseService
  8. var _service_state: State

    Attributes
    protected
    Definition Classes
    BaseService
  9. def _start(on_completed: Task): Unit

    Definition Classes
    Broker → BaseService
  10. var _start_transition_counter: Int

    Definition Classes
    BaseService
  11. def _stop(on_completed: Task): Unit

    Definition Classes
    Broker → BaseService
  12. def apply_update(tracker: LoggingTracker): Unit

    Attributes
    protected
  13. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  14. def assert_executing: Unit

    Definition Classes
    Dispatched
  15. var audit_log: Log

  16. var authenticator: Authenticator

  17. var authorizer: Authorizer

  18. var auto_tuned_send_receiver_buffer_size: Int

  19. def clear_plugin_state[T](clazz: Class[T]): T

    Used to clear out previously set plugin state.

    Used to clear out previously set plugin state.

    Definition Classes
    PluginStateSupport
  20. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  21. var config: BrokerDTO

  22. var config_log: Log

  23. val connection_id_counter: LongCounter

  24. var connection_log: Log

  25. val connections: LinkedHashMap[Long, BrokerConnection]

  26. val connectors: LinkedHashMap[String, Connector]

  27. var console_log: Log

  28. var cow_virtual_hosts_by_hostname: Map[AsciiBuffer, VirtualHost]

    This is a copy of the virtual_hosts_by_hostname variable which can be accessed by any thread.

  29. var current_period: PeriodStat

  30. var default_virtual_host: VirtualHost

  31. val dispatch_queue: DispatchQueue

    Definition Classes
    Broker → Dispatched
  32. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  33. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  34. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  35. def first_accepting_connector: Option[AcceptingConnector]

  36. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  37. def getConfig(): BrokerDTO

  38. def getTmp(): File

  39. def get_connect_address: String

  40. def get_default_virtual_host: VirtualHost

  41. def get_socket_address: SocketAddress

  42. def get_virtual_host(name: AsciiBuffer): VirtualHost

  43. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  44. var id: String

    Definition Classes
    BrokerSecuredResource
  45. def init_logs: Unit

    Attributes
    protected
  46. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  47. var key_storage: KeyStorage

  48. var max_connections_in_5min: Int

  49. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  50. final def notify(): Unit

    Definition Classes
    AnyRef
  51. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  52. def now: Long

    Annotations
    @volatile()
  53. def plugin_state[T](factory: ⇒ T, clazz: Class[T]): T

    Plugins can associate state data with the virtual host instance using this method.

    Plugins can associate state data with the virtual host instance using this method. The factory will be used to create the state if it does not yet exist.

    Definition Classes
    PluginStateSupport
  54. def resource_kind: BrokerKind.type

    Definition Classes
    BrokerSecuredResource
  55. def roll_current_period: Unit

  56. var rules_cache: SecurityRules

    Definition Classes
    SecuredResource
  57. def schedule_reoccurring(time: Long, unit: TimeUnit)(func: ⇒ Unit): Unit

    Definition Classes
    BaseService
  58. var security_log: Log

  59. def service_failure(): Throwable

    Definition Classes
    BaseService → Service
  60. def service_state: State

    Definition Classes
    BaseService
  61. var services: Map[CustomServiceDTO, Service]

  62. def setConfig(arg0: BrokerDTO): Unit

  63. def setTmp(arg0: File): Unit

  64. def ssl_context(protocol: String): SSLContext

  65. def start(on_completed: Task): Unit

    Definition Classes
    Broker → BaseService → Service
  66. def start(on_completed: Runnable): Unit

  67. val stats_of_5min: CircularBuffer[PeriodStat]

  68. def stop(on_completed: Task): Unit

    Definition Classes
    Broker → BaseService → Service
  69. def stop(on_completed: Runnable): Unit

  70. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  71. var tmp: File

  72. def toString(): String

    Definition Classes
    Broker → AnyRef → Any
  73. def tune_send_receive_buffers: Unit

  74. def update(config: BrokerDTO, on_completed: Task): Unit

    Validates and then applies the configuration.

  75. def update(config: BrokerDTO, on_completed: Runnable): Unit

  76. val virtual_hosts: LinkedHashMap[AsciiBuffer, VirtualHost]

  77. val virtual_hosts_by_hostname: LinkedHashMap[AsciiBuffer, VirtualHost]

  78. def virtualhost_maintenance: Unit

  79. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  80. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  81. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  82. def web_admin_url: String

  83. var web_server: WebServer

Inherited from PluginStateSupport

Inherited from SecuredResource

Inherited from BaseService

Inherited from Dispatched

Inherited from Service

Inherited from AnyRef

Inherited from Any

Ungrouped