| Summary: | Provide FailoverMonitor server and FailoverAgents to coordinate fail-over scenarios | ||
|---|---|---|---|
| Product: | [Modeling] EMF | Reporter: | Eike Stepper <stepper> |
| Component: | cdo.core | Assignee: | Eike Stepper <stepper> |
| Status: | CLOSED FIXED | QA Contact: | Eike Stepper <stepper> |
| Severity: | enhancement | ||
| Priority: | P3 | Keywords: | noteworthy |
| Version: | 4.0 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | Power to the People | ||
| Bug Depends on: | 203167 | ||
| Bug Blocks: | 325721 | ||
|
Description
Eike Stepper
New monitoring framework: org.eclipse.emf.cdo.server.internal.net4j.syncing.FailoverMonitor org.eclipse.emf.cdo.server.internal.net4j.syncing.FailoverAgent Updated examples: org.eclipse.emf.cdo.examples.server.FailoverExample.Monitored.Monitor org.eclipse.emf.cdo.examples.server.FailoverExample.Monitored.Agent1 org.eclipse.emf.cdo.examples.server.FailoverExample.Monitored.Agent2 Committed to HEAD I've moved FailoverMonitor and FailoverAgent to the public org.eclipse.emf.cdo.server.net4jpackage because the agent is abstract and needs to be subclassed. Clients can now also participate in the monitored failover scenarios by using a new session configuration type: CDONet4jUtil.createFailoverSessionConfiguration(String, String, IManagedContainer) The sessions created by this configuration will detect server/network failure (as usual) and (new) query the failover monitor for the new master connection details, connect to that master and reregister all existing views with the new master. An example is in org.eclipse.emf.cdo.examples.server.FailoverExample.Monitored.Client.main(String[]) Committed to HEAD Available in R20110608-1407 |