Oracle Berkeley DB Getting Started with Replicated Applications for Java

This document describes how to write replicated applications for Berkeley DB 11g Release 2 (library version 11.2.5.1). The APIs used to implement replication in your application are described here.

More PDF Content

Oracle Berkeley DB, Getting Started with, Replicated Applications, for Java, 11g Release 2
Conventions Used in this Book… v
For More Information… vi
Contact Us… vi
1. Introduction… 1
Overview… 1
Replication Environments… 1
Replication Databases… 2
Communications Layer… 2
Selecting a Master… 2
Replication Benefits… 3
The Replication APIs… 4
Replication Manager Overview… 4
Replication Base API Overview… 5
Holding Elections… 5
Influencing Elections… 6
Winning Elections… 6
Switching Masters… 7
Permanent Message Handling… 7
When Not to Manage Permanent Messages… 8
Managing Permanent Messages… 8
Implementing Permanent Message Handling… 9
2. Transactional Application… 11
Application Overview… 11
Program Listing… 11
Class: RepConfig… 12
Class: SimpleTxn… 13
Method: SimpleTxn.main()… 14
Method: SimpleTxn.init()… 15
Method: SimpleTxn.doloop()… 16
Method: SimpleTxn.printStocks()… 18
3. The DB Replication Manager… 20
Starting and Stopping Replication… 21
Managing Election Policies… 23
Selecting the Number of Threads… 25
Adding the Replication Manager to SimpleTxn… 25
Permanent Message Handling… 33
Identifying Permanent Message Policies… 33
Setting the Permanent Message Timeout… 34
Adding a Permanent Message Policy to RepQuoteExampleGSG… 35
Managing Election Times… 36
Managing Election Timeouts… 36
Managing Election Retry Times… 36
Managing Connection Retries… 36
Managing Heartbeats… 37
4. Replica versus Master Processes… 38
Determining State… 38
Processing Loop… 41
Example Processing Loop… 43
Running It… 49
5. Additional Features… 52
Delayed Synchronization… 52
Managing Blocking Operations… 52
Stop Auto-Initialization… 53
Read-Your-Writes Consistency… 53
Client to Client Transfer… 54
Identifying Peers… 54
Bulk Transfers… 55

Download Oracle Berkeley DB Getting Started with Replicated Applications for Java pdf from download.oracle.com, 62 pages, 339.07KB.
Related Books

One Response to “Oracle Berkeley DB Getting Started with Replicated Applications for Java”

  1. apple software downloads on May 31st, 2013 at 1:09 am

    Appreciation for some other wonderful write-up. The spot in addition may any individual wardrobe form of data in this the best technique of composing? I’ve a demonstration next week, with this particular for the look for similarly info.

Leave a Reply