Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Berkeley DB Java Edition version 4.0.103
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES

## 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
MonitorChangeListener | Applications can register for Monitor event notification through `Monitor.startListener(com.sleepycat.je.rep.monitor.MonitorChangeListener)`.

Class Summary
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.
NewMasterEvent | The event generated upon detecting a new Master.

Enum Summary
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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Berkeley DB Java Edition version 4.0.103
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES

Copyright (c) 2004-2010 Oracle. All rights reserved.