From 780b92ada9afcf1d58085a83a0b9e6bc982203d1 Mon Sep 17 00:00:00 2001 From: Lorry Tar Creator Date: Tue, 17 Feb 2015 17:25:57 +0000 Subject: Imported from /home/lorry/working-area/delta_berkeleydb/db-6.1.23.tar.gz. --- .../com/sleepycat/db/ReplicationTransport.html | 569 +++++++++++---------- 1 file changed, 285 insertions(+), 284 deletions(-) (limited to 'docs/java/com/sleepycat/db/ReplicationTransport.html') diff --git a/docs/java/com/sleepycat/db/ReplicationTransport.html b/docs/java/com/sleepycat/db/ReplicationTransport.html index f80d82fb..8f8579cd 100644 --- a/docs/java/com/sleepycat/db/ReplicationTransport.html +++ b/docs/java/com/sleepycat/db/ReplicationTransport.html @@ -1,245 +1,239 @@ - - - - - -ReplicationTransport (Oracle - Berkeley DB Java API) - - - - - - - - - - - - -
- - +//--> + + - - - - - - - - - - - - - - - - -
-Berkeley DB
version 5.3.21
-
- + + +
+ + +
+ + + - -
-

- -com.sleepycat.db -
-Interface ReplicationTransport

-
-
-
public interface ReplicationTransport
- - -

-An interface specifying a replication transmit function, which sends -information to other members of the replication group. -

- -

-


- -

+

+
com.sleepycat.db
+

Interface ReplicationTransport

+
+
+
+
    +
  • +
    +
    +
    public interface ReplicationTransport
    +
    An interface specifying a replication transmit function, which sends +information to other members of the replication group.
    +
  • +
+
+
+
    +
  • - - - - - - - - - - - - - - -
    -Field Summary
    -static intEID_BROADCAST - -
    -          A message that should be broadcast to every environment in the - replication group.
    -static intEID_INVALID - -
    -          An invalid environment ID, and may be used to initialize environment ID - variables that are subsequently checked for validity.
    -  +
      +
    • + + +

      Field Summary

      + + + + + + + + + + + + + + +
      Fields 
      Modifier and TypeField and Description
      static intEID_BROADCAST +
      A message that should be broadcast to every environment in the + replication group.
      +
      static intEID_INVALID +
      An invalid environment ID, and may be used to initialize environment ID + variables that are subsequently checked for validity.
      +
      +
    • +
    - - - - - - - - - - -
    -Method Summary
    - intsend(Environment environment, - DatabaseEntry control, - DatabaseEntry rec, - LogSequenceNumber lsn, - int envid, - boolean noBuffer, - boolean permanent, - boolean anywhere, - boolean isRetry) - -
    -          The callback used when Berkeley DB needs to transmit a replication message.
    -  -

    - +

      +
    • + + +

      Method Summary

      + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      intsend(Environment environment, + DatabaseEntry control, + DatabaseEntry rec, + LogSequenceNumber lsn, + int envid, + boolean noBuffer, + boolean permanent, + boolean anywhere, + boolean isRetry) +
      The callback used when Berkeley DB needs to transmit a replication message.
      +
      +
    • +
    +
  • +
+
+
+
    +
  • - - - - - - -
    -Field Detail
    - -

    -EID_BROADCAST

    -
    -static final int EID_BROADCAST
    -
    -
    A message that should be broadcast to every environment in the +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        EID_BROADCAST

        +
        static final int EID_BROADCAST
        +
        A message that should be broadcast to every environment in the replication group. The application may use a true broadcast protocol or may send the message in sequence to each machine with which it is in communication. In both cases, the sending site should not be asked to - process the message. -

        -

        -
        See Also:
        Constant Field Values
        -
    -
    - -

    -EID_INVALID

    -
    -static final int EID_INVALID
    -
    -
    An invalid environment ID, and may be used to initialize environment ID - variables that are subsequently checked for validity. -

    -

    -
    See Also:
    Constant Field Values
    -
    - + process the message.
+
See Also:
Constant Field Values
+ + + + + + + + - - - - - - -
-Method Detail
- -

-send

-
-int send(Environment environment,
-         DatabaseEntry control,
-         DatabaseEntry rec,
-         LogSequenceNumber lsn,
-         int envid,
-         boolean noBuffer,
-         boolean permanent,
-         boolean anywhere,
-         boolean isRetry)
-         throws DatabaseException
-
-
The callback used when Berkeley DB needs to transmit a replication message. +
    +
  • + + +

    Method Detail

    + + + +
      +
    • +

      send

      +
      int send(Environment environment,
      +       DatabaseEntry control,
      +       DatabaseEntry rec,
      +       LogSequenceNumber lsn,
      +       int envid,
      +       boolean noBuffer,
      +       boolean permanent,
      +       boolean anywhere,
      +       boolean isRetry)
      +         throws DatabaseException
      +
      The callback used when Berkeley DB needs to transmit a replication message. This method must not call back down into Berkeley DB. It must return 0 on success and non-zero on failure. If the transmission fails, the message being sent is necessary to maintain database integrity, and the local log is not configured for synchronous flushing, the local log will be flushed; otherwise, any error from the function will be ignored. -

      -

      -

      -
      Parameters:
      environment - The enclosing database environment handle. -

      control - The first of the two data elements to be transmitted. -

      rec - The second of the two data elements to be transmitted. -

      lsn - If the type of message to be sent has an LSN associated with it, +

      +
      Parameters:
      environment - The enclosing database environment handle. +

      control - The first of the two data elements to be transmitted. +

      rec - The second of the two data elements to be transmitted. +

      lsn - If the type of message to be sent has an LSN associated with it, then the lsn contains the LSN of the record being sent. This LSN can be used to determine that certain records have been processed successfully by clients. -

      envid - A positive integer identifier that specifies the replication +

      envid - A positive integer identifier that specifies the replication environment to which the message should be sent.

      The value DB_EID_BROADCAST indicates that a message should be @@ -248,83 +242,90 @@ int send(DatabaseException - if a failure occurs.

      -
-
+

+

Throws:
+
DatabaseException - if a failure occurs.
+ + + + + + +
+ -
- - - - - - - - - - - - - - - - - - -
-Berkeley DB
version 5.3.21
-
- + + +
+ + +
+ + + - -
-Copyright (c) 1996, 2012 Oracle and/or its affiliates. All rights reserved. - - +

Copyright (c) 1996, 2015 Oracle and/or its affiliates. All rights reserved.

+ + -- cgit v1.2.1