com.sleepycat.je.rep.monitor (Oracle - Berkeley DB Java Edition API)
Date: 2014-12-16

# Package com.sleepycat.je.rep.monitor

BDB JE HA support for applications that need to track the composition of a replication group, in order to do tasks such as load balancing and request routing.

See: Description

- Interface Summary
  Interface | Description
  --- | ---
  MonitorChangeListener | Applications can register for Monitor event notification through `Monitor.startListener(com.sleepycat.je.rep.monitor.MonitorChangeListener)`.

- Class Summary
  Class | Description
  --- | ---
  GroupChangeEvent | The event generated when the group composition changes.
  JoinGroupEvent | The event generated when a node joins the group.
  LeaveGroupEvent | The event generated when a node leaves the group.
  MemberChangeEvent | MemberChangeEvent is the base class for all member status changed events.
  Monitor | Provides a lightweight mechanism to track the current master node and the members of the replication group.
  MonitorChangeEvent | MonitorChangeEvent is the base class for all Monitor events.
  MonitorConfig | Specifies the attributes used by a replication `Monitor`.
  MonitorConfigBeanInfo |
  NewMasterEvent | The event generated upon detecting a new Master.

- Enum Summary
  Enum | Description
  --- | ---
  GroupChangeEvent.GroupChangeType | The kind of GroupChangeEvent.
  LeaveGroupEvent.LeaveReason | The reason for why the node leaves the group.

## Package com.sleepycat.je.rep.monitor Description

BDB JE HA support for applications that need to track the composition of a replication group, in order to do tasks such as load balancing and request routing.

## Package Specification

The Monitor is intended for applications that do not directly reference ReplicatedEnvironment, but need to track the composition of a replication group and the current Master. A Monitor tracks changes in replication group membership and roles.

See Also:
  Replication Guide, Writing Monitor Nodes

Copyright (c) 2004, 2014 Oracle and/or its affiliates. All rights reserved.