summaryrefslogtreecommitdiff
path: root/examples/java/src/db
diff options
context:
space:
mode:
Diffstat (limited to 'examples/java/src/db')
-rw-r--r--examples/java/src/db/AccessExample.java2
-rw-r--r--examples/java/src/db/BtRecExample.java2
-rw-r--r--examples/java/src/db/BulkAccessExample.java2
-rw-r--r--examples/java/src/db/BulkAccessNIOExample.java2
-rw-r--r--examples/java/src/db/BulkExample.java2
-rw-r--r--examples/java/src/db/EnvExample.java2
-rw-r--r--examples/java/src/db/GettingStarted/ExampleDatabaseLoad.java2
-rw-r--r--examples/java/src/db/GettingStarted/ExampleDatabaseRead.java2
-rw-r--r--examples/java/src/db/GettingStarted/Inventory.java2
-rw-r--r--examples/java/src/db/GettingStarted/InventoryBinding.java2
-rw-r--r--examples/java/src/db/GettingStarted/ItemNameKeyCreator.java2
-rw-r--r--examples/java/src/db/GettingStarted/MyDbs.java2
-rw-r--r--examples/java/src/db/GettingStarted/Vendor.java2
-rw-r--r--examples/java/src/db/LockExample.java2
-rw-r--r--examples/java/src/db/SequenceExample.java2
-rw-r--r--examples/java/src/db/TpcbExample.java2
-rw-r--r--examples/java/src/db/repquote/RepConfig.java2
-rw-r--r--examples/java/src/db/repquote/RepQuoteEnvironment.java2
-rw-r--r--examples/java/src/db/repquote/RepQuoteExample.java2
-rw-r--r--examples/java/src/db/repquote/RepRemoteHost.java2
-rw-r--r--examples/java/src/db/repquote_gsg/RepConfig.java2
-rw-r--r--examples/java/src/db/repquote_gsg/RepQuoteEnvironment.java2
-rw-r--r--examples/java/src/db/repquote_gsg/RepQuoteExampleGSG.java12
-rw-r--r--examples/java/src/db/repquote_gsg/SimpleConfig.java2
-rw-r--r--examples/java/src/db/repquote_gsg/SimpleTxn.java2
-rw-r--r--examples/java/src/db/txn/DBWriter.java2
-rw-r--r--examples/java/src/db/txn/PayloadData.java2
-rw-r--r--examples/java/src/db/txn/TxnGuide.java2
-rw-r--r--examples/java/src/db/txn/TxnGuideInMemory.java2
29 files changed, 39 insertions, 29 deletions
diff --git a/examples/java/src/db/AccessExample.java b/examples/java/src/db/AccessExample.java
index c1609c6c..3be6dc13 100644
--- a/examples/java/src/db/AccessExample.java
+++ b/examples/java/src/db/AccessExample.java
@@ -1,7 +1,7 @@
/*-
* See the file LICENSE for redistribution information.
*
- * Copyright (c) 1997, 2012 Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2015 Oracle and/or its affiliates. All rights reserved.
*
* $Id$
*/
diff --git a/examples/java/src/db/BtRecExample.java b/examples/java/src/db/BtRecExample.java
index 28634964..4680210e 100644
--- a/examples/java/src/db/BtRecExample.java
+++ b/examples/java/src/db/BtRecExample.java
@@ -1,7 +1,7 @@
/*-
* See the file LICENSE for redistribution information.
*
- * Copyright (c) 1997, 2012 Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2015 Oracle and/or its affiliates. All rights reserved.
*
* $Id$
*/
diff --git a/examples/java/src/db/BulkAccessExample.java b/examples/java/src/db/BulkAccessExample.java
index 33db22e6..ebc859d3 100644
--- a/examples/java/src/db/BulkAccessExample.java
+++ b/examples/java/src/db/BulkAccessExample.java
@@ -1,7 +1,7 @@
/*-
* See the file LICENSE for redistribution information.
*
- * Copyright (c) 1997, 2012 Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2015 Oracle and/or its affiliates. All rights reserved.
*
* $Id$
*/
diff --git a/examples/java/src/db/BulkAccessNIOExample.java b/examples/java/src/db/BulkAccessNIOExample.java
index ef42dfd4..efb54069 100644
--- a/examples/java/src/db/BulkAccessNIOExample.java
+++ b/examples/java/src/db/BulkAccessNIOExample.java
@@ -1,7 +1,7 @@
/*-
* See the file LICENSE for redistribution information.
*
- * Copyright (c) 1997, 2012 Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2015 Oracle and/or its affiliates. All rights reserved.
*
* $Id$
*/
diff --git a/examples/java/src/db/BulkExample.java b/examples/java/src/db/BulkExample.java
index 1d752ff4..0d6aefb4 100644
--- a/examples/java/src/db/BulkExample.java
+++ b/examples/java/src/db/BulkExample.java
@@ -1,7 +1,7 @@
/*-
* See the file LICENSE for redistribution information.
*
- * Copyright (c) 1997, 2012 Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2015 Oracle and/or its affiliates. All rights reserved.
*
* $Id$
*/
diff --git a/examples/java/src/db/EnvExample.java b/examples/java/src/db/EnvExample.java
index 22a285ac..2436a646 100644
--- a/examples/java/src/db/EnvExample.java
+++ b/examples/java/src/db/EnvExample.java
@@ -1,7 +1,7 @@
/*-
* See the file LICENSE for redistribution information.
*
- * Copyright (c) 1997, 2012 Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2015 Oracle and/or its affiliates. All rights reserved.
*
* $Id$
*/
diff --git a/examples/java/src/db/GettingStarted/ExampleDatabaseLoad.java b/examples/java/src/db/GettingStarted/ExampleDatabaseLoad.java
index 0fc2262c..8ae85825 100644
--- a/examples/java/src/db/GettingStarted/ExampleDatabaseLoad.java
+++ b/examples/java/src/db/GettingStarted/ExampleDatabaseLoad.java
@@ -1,7 +1,7 @@
/*-
* See the file LICENSE for redistribution information.
*
- * Copyright (c) 2004, 2012 Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2004, 2015 Oracle and/or its affiliates. All rights reserved.
*
* $Id$
*/
diff --git a/examples/java/src/db/GettingStarted/ExampleDatabaseRead.java b/examples/java/src/db/GettingStarted/ExampleDatabaseRead.java
index 684501a8..b8223c54 100644
--- a/examples/java/src/db/GettingStarted/ExampleDatabaseRead.java
+++ b/examples/java/src/db/GettingStarted/ExampleDatabaseRead.java
@@ -1,7 +1,7 @@
/*-
* See the file LICENSE for redistribution information.
*
- * Copyright (c) 2004, 2012 Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2004, 2015 Oracle and/or its affiliates. All rights reserved.
*
* $Id$
*/
diff --git a/examples/java/src/db/GettingStarted/Inventory.java b/examples/java/src/db/GettingStarted/Inventory.java
index e39be934..a1946e52 100644
--- a/examples/java/src/db/GettingStarted/Inventory.java
+++ b/examples/java/src/db/GettingStarted/Inventory.java
@@ -1,7 +1,7 @@
/*-
* See the file LICENSE for redistribution information.
*
- * Copyright (c) 2004, 2012 Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2004, 2015 Oracle and/or its affiliates. All rights reserved.
*
* $Id$
*/
diff --git a/examples/java/src/db/GettingStarted/InventoryBinding.java b/examples/java/src/db/GettingStarted/InventoryBinding.java
index 46c8d0fc..9cae9048 100644
--- a/examples/java/src/db/GettingStarted/InventoryBinding.java
+++ b/examples/java/src/db/GettingStarted/InventoryBinding.java
@@ -1,7 +1,7 @@
/*-
* See the file LICENSE for redistribution information.
*
- * Copyright (c) 2004, 2012 Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2004, 2015 Oracle and/or its affiliates. All rights reserved.
*
* $Id$
*/
diff --git a/examples/java/src/db/GettingStarted/ItemNameKeyCreator.java b/examples/java/src/db/GettingStarted/ItemNameKeyCreator.java
index 0c0b7b2d..1708a69e 100644
--- a/examples/java/src/db/GettingStarted/ItemNameKeyCreator.java
+++ b/examples/java/src/db/GettingStarted/ItemNameKeyCreator.java
@@ -1,7 +1,7 @@
/*-
* See the file LICENSE for redistribution information.
*
- * Copyright (c) 2004, 2012 Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2004, 2015 Oracle and/or its affiliates. All rights reserved.
*
* $Id$
*/
diff --git a/examples/java/src/db/GettingStarted/MyDbs.java b/examples/java/src/db/GettingStarted/MyDbs.java
index c0d2c79a..07b941fb 100644
--- a/examples/java/src/db/GettingStarted/MyDbs.java
+++ b/examples/java/src/db/GettingStarted/MyDbs.java
@@ -1,7 +1,7 @@
/*-
* See the file LICENSE for redistribution information.
*
- * Copyright (c) 2004, 2012 Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2004, 2015 Oracle and/or its affiliates. All rights reserved.
*
* $Id$
*/
diff --git a/examples/java/src/db/GettingStarted/Vendor.java b/examples/java/src/db/GettingStarted/Vendor.java
index 5948fe25..f77ff703 100644
--- a/examples/java/src/db/GettingStarted/Vendor.java
+++ b/examples/java/src/db/GettingStarted/Vendor.java
@@ -1,7 +1,7 @@
/*-
* See the file LICENSE for redistribution information.
*
- * Copyright (c) 2004, 2012 Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2004, 2015 Oracle and/or its affiliates. All rights reserved.
*
* $Id$
*/
diff --git a/examples/java/src/db/LockExample.java b/examples/java/src/db/LockExample.java
index 2cd87c00..6be53699 100644
--- a/examples/java/src/db/LockExample.java
+++ b/examples/java/src/db/LockExample.java
@@ -1,7 +1,7 @@
/*-
* See the file LICENSE for redistribution information.
*
- * Copyright (c) 1997, 2012 Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2015 Oracle and/or its affiliates. All rights reserved.
*
* $Id$
*/
diff --git a/examples/java/src/db/SequenceExample.java b/examples/java/src/db/SequenceExample.java
index 8e889659..89156ca8 100644
--- a/examples/java/src/db/SequenceExample.java
+++ b/examples/java/src/db/SequenceExample.java
@@ -1,7 +1,7 @@
/*-
* See the file LICENSE for redistribution information.
*
- * Copyright (c) 1997, 2012 Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2015 Oracle and/or its affiliates. All rights reserved.
*
* $Id$
*/
diff --git a/examples/java/src/db/TpcbExample.java b/examples/java/src/db/TpcbExample.java
index fa51f4b7..b66bdfc6 100644
--- a/examples/java/src/db/TpcbExample.java
+++ b/examples/java/src/db/TpcbExample.java
@@ -1,7 +1,7 @@
/*-
* See the file LICENSE for redistribution information.
*
- * Copyright (c) 1997, 2012 Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2015 Oracle and/or its affiliates. All rights reserved.
*
* $Id$
*/
diff --git a/examples/java/src/db/repquote/RepConfig.java b/examples/java/src/db/repquote/RepConfig.java
index 1a39d5ed..a26d3f06 100644
--- a/examples/java/src/db/repquote/RepConfig.java
+++ b/examples/java/src/db/repquote/RepConfig.java
@@ -1,7 +1,7 @@
/*-
* See the file LICENSE for redistribution information.
*
- * Copyright (c) 2001, 2012 Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2015 Oracle and/or its affiliates. All rights reserved.
*
* $Id$
*/
diff --git a/examples/java/src/db/repquote/RepQuoteEnvironment.java b/examples/java/src/db/repquote/RepQuoteEnvironment.java
index 75a50e0e..53932a94 100644
--- a/examples/java/src/db/repquote/RepQuoteEnvironment.java
+++ b/examples/java/src/db/repquote/RepQuoteEnvironment.java
@@ -1,7 +1,7 @@
/*-
* See the file LICENSE for redistribution information.
*
- * Copyright (c) 1997, 2012 Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2015 Oracle and/or its affiliates. All rights reserved.
*
* $Id$
*/
diff --git a/examples/java/src/db/repquote/RepQuoteExample.java b/examples/java/src/db/repquote/RepQuoteExample.java
index 9e798a6f..4500696a 100644
--- a/examples/java/src/db/repquote/RepQuoteExample.java
+++ b/examples/java/src/db/repquote/RepQuoteExample.java
@@ -1,7 +1,7 @@
/*-
* See the file LICENSE for redistribution information.
*
- * Copyright (c) 2001, 2012 Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2015 Oracle and/or its affiliates. All rights reserved.
*
* $Id$
*/
diff --git a/examples/java/src/db/repquote/RepRemoteHost.java b/examples/java/src/db/repquote/RepRemoteHost.java
index c461539e..0754d2a7 100644
--- a/examples/java/src/db/repquote/RepRemoteHost.java
+++ b/examples/java/src/db/repquote/RepRemoteHost.java
@@ -1,7 +1,7 @@
/*-
* See the file LICENSE for redistribution information.
*
- * Copyright (c) 1997, 2012 Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2015 Oracle and/or its affiliates. All rights reserved.
*
* $Id$
*/
diff --git a/examples/java/src/db/repquote_gsg/RepConfig.java b/examples/java/src/db/repquote_gsg/RepConfig.java
index 82c75cce..2d710b3b 100644
--- a/examples/java/src/db/repquote_gsg/RepConfig.java
+++ b/examples/java/src/db/repquote_gsg/RepConfig.java
@@ -1,7 +1,7 @@
/*-
* See the file LICENSE for redistribution information.
*
- * Copyright (c) 2001, 2012 Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2015 Oracle and/or its affiliates. All rights reserved.
*
* $Id$
*/
diff --git a/examples/java/src/db/repquote_gsg/RepQuoteEnvironment.java b/examples/java/src/db/repquote_gsg/RepQuoteEnvironment.java
index 75084259..c6f8988c 100644
--- a/examples/java/src/db/repquote_gsg/RepQuoteEnvironment.java
+++ b/examples/java/src/db/repquote_gsg/RepQuoteEnvironment.java
@@ -1,7 +1,7 @@
/*-
* See the file LICENSE for redistribution information.
*
- * Copyright (c) 2001, 2012 Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2015 Oracle and/or its affiliates. All rights reserved.
*
* $Id$
*/
diff --git a/examples/java/src/db/repquote_gsg/RepQuoteExampleGSG.java b/examples/java/src/db/repquote_gsg/RepQuoteExampleGSG.java
index 3404e189..4b2137e1 100644
--- a/examples/java/src/db/repquote_gsg/RepQuoteExampleGSG.java
+++ b/examples/java/src/db/repquote_gsg/RepQuoteExampleGSG.java
@@ -1,7 +1,7 @@
/*-
* See the file LICENSE for redistribution information.
*
- * Copyright (c) 2001, 2012 Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2015 Oracle and/or its affiliates. All rights reserved.
*
* $Id$
*/
@@ -309,6 +309,11 @@ public class RepQuoteExampleGSG implements EventHandler
dbenv.close();
}
+ public void handleRepAutoTakeoverFailedEvent()
+ {
+ // Ignored for now.
+ }
+
public void handleRepClientEvent()
{
dbenv.setIsMaster(false);
@@ -334,6 +339,11 @@ public class RepQuoteExampleGSG implements EventHandler
// Ignored for now.
}
+ public void handleRepInQueueFullEvent()
+ {
+ // Ignored for now.
+ }
+
public void handleRepMasterEvent()
{
dbenv.setIsMaster(true);
diff --git a/examples/java/src/db/repquote_gsg/SimpleConfig.java b/examples/java/src/db/repquote_gsg/SimpleConfig.java
index cde1bd71..6074378e 100644
--- a/examples/java/src/db/repquote_gsg/SimpleConfig.java
+++ b/examples/java/src/db/repquote_gsg/SimpleConfig.java
@@ -1,7 +1,7 @@
/*-
* See the file LICENSE for redistribution information.
*
- * Copyright (c) 2001, 2012 Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2015 Oracle and/or its affiliates. All rights reserved.
*
* $Id$
*/
diff --git a/examples/java/src/db/repquote_gsg/SimpleTxn.java b/examples/java/src/db/repquote_gsg/SimpleTxn.java
index c597b99f..1eba9d81 100644
--- a/examples/java/src/db/repquote_gsg/SimpleTxn.java
+++ b/examples/java/src/db/repquote_gsg/SimpleTxn.java
@@ -1,7 +1,7 @@
/*-
* See the file LICENSE for redistribution information.
*
- * Copyright (c) 2001, 2012 Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2015 Oracle and/or its affiliates. All rights reserved.
*
* $Id$
*/
diff --git a/examples/java/src/db/txn/DBWriter.java b/examples/java/src/db/txn/DBWriter.java
index e0d53380..f259d513 100644
--- a/examples/java/src/db/txn/DBWriter.java
+++ b/examples/java/src/db/txn/DBWriter.java
@@ -1,7 +1,7 @@
/*-
* See the file LICENSE for redistribution information.
*
- * Copyright (c) 2005, 2012 Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2015 Oracle and/or its affiliates. All rights reserved.
*
* $Id$
*/
diff --git a/examples/java/src/db/txn/PayloadData.java b/examples/java/src/db/txn/PayloadData.java
index 7ae0ab58..3b2ba43a 100644
--- a/examples/java/src/db/txn/PayloadData.java
+++ b/examples/java/src/db/txn/PayloadData.java
@@ -1,7 +1,7 @@
/*-
* See the file LICENSE for redistribution information.
*
- * Copyright (c) 2005, 2012 Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2015 Oracle and/or its affiliates. All rights reserved.
*
* $Id$
*/
diff --git a/examples/java/src/db/txn/TxnGuide.java b/examples/java/src/db/txn/TxnGuide.java
index 1142f12d..d33329d5 100644
--- a/examples/java/src/db/txn/TxnGuide.java
+++ b/examples/java/src/db/txn/TxnGuide.java
@@ -1,7 +1,7 @@
/*-
* See the file LICENSE for redistribution information.
*
- * Copyright (c) 2005, 2012 Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2015 Oracle and/or its affiliates. All rights reserved.
*
* $Id$
*/
diff --git a/examples/java/src/db/txn/TxnGuideInMemory.java b/examples/java/src/db/txn/TxnGuideInMemory.java
index f4c422bf..10e80593 100644
--- a/examples/java/src/db/txn/TxnGuideInMemory.java
+++ b/examples/java/src/db/txn/TxnGuideInMemory.java
@@ -1,7 +1,7 @@
/*-
* See the file LICENSE for redistribution information.
*
- * Copyright (c) 2005, 2012 Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2015 Oracle and/or its affiliates. All rights reserved.
*
* $Id$
*/