diff options
Diffstat (limited to 'lang/java/src/com/sleepycat/db/EventHandler.java')
| -rw-r--r-- | lang/java/src/com/sleepycat/db/EventHandler.java | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/lang/java/src/com/sleepycat/db/EventHandler.java b/lang/java/src/com/sleepycat/db/EventHandler.java index a876a645..6bbdf20a 100644 --- a/lang/java/src/com/sleepycat/db/EventHandler.java +++ b/lang/java/src/com/sleepycat/db/EventHandler.java @@ -1,7 +1,7 @@ /*- * See the file LICENSE for redistribution information. * - * Copyright (c) 2000, 2012 Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2000, 2015 Oracle and/or its affiliates. All rights reserved. * * $Id$ */ @@ -50,6 +50,16 @@ public interface EventHandler { public void handlePanicEvent(); /** + A callback function to be called when a Replication automatic takeover + failed event is sent from the Berkeley DB library. + <p> + This event callback is received in a replication manager subordinate + process when it fails to take over as the replication process and + all replication manager threads in it are stopped unexpectedly. + */ + public void handleRepAutoTakeoverFailedEvent(); + + /** A callback function to be called when a Replication Client event is sent from the Berkeley DB library. <p> @@ -133,6 +143,15 @@ public interface EventHandler { A callback function to be called when an event is sent from the Berkeley DB library. <p> + This event callback is received when replication Mananger incoming queue + has reached its maximum threshold. + */ + public void handleRepInQueueFullEvent(); + + /** + A callback function to be called when an event is sent from the + Berkeley DB library. + <p> This event callback is received when the local site could not synchronize with the master because an internal initialization was required, but internal initialization has been turned off by the {@link com.sleepycat.db.ReplicationConfig#AUTOINIT ReplicationConfig.AUTOINIT} |
