From 117f0d096895d9c3168f2bcf7e8b0dc97ed6cdfe Mon Sep 17 00:00:00 2001 From: Jonathan Edwards Date: Mon, 9 May 2016 09:31:23 -0600 Subject: [PATCH] DATACOUCH 225 - Minimal SDK 2.2.6 support --- pom.xml | 4 +- .../CouchbaseEnvironmentNoShutdownProxy.java | 43 ++++++++++++++++++- 2 files changed, 44 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index 5fd59fc3..7da614be 100644 --- a/pom.xml +++ b/pom.xml @@ -21,8 +21,8 @@ DATACOUCH - 2.2.3 - 2.2.3 + 2.2.6 + 2.2.6 1.13.0.BUILD-SNAPSHOT 1.0.0.GA diff --git a/src/main/java/org/springframework/data/couchbase/config/CouchbaseEnvironmentNoShutdownProxy.java b/src/main/java/org/springframework/data/couchbase/config/CouchbaseEnvironmentNoShutdownProxy.java index 05e250e9..c5a18482 100644 --- a/src/main/java/org/springframework/data/couchbase/config/CouchbaseEnvironmentNoShutdownProxy.java +++ b/src/main/java/org/springframework/data/couchbase/config/CouchbaseEnvironmentNoShutdownProxy.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2015 the original author or authors + * Copyright 2012-2016 the original author or authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -31,6 +31,7 @@ import rx.Scheduler; * to be invoked. Useful when the delegate is not to be lifecycle-managed by Spring. * * @author Simon Baslé + * @author Jonathan Edwards */ public class CouchbaseEnvironmentNoShutdownProxy implements CouchbaseEnvironment { @@ -283,4 +284,44 @@ public class CouchbaseEnvironmentNoShutdownProxy implements CouchbaseEnvironment public boolean tcpNodelayEnabled() { return delegate.tcpNodelayEnabled(); } + + @Override + public boolean callbacksOnIoPool() { + return delegate.callbacksOnIoPool(); + } + + @Override + public String coreBuild() { + return delegate.coreBuild(); + } + + @Override + public String coreVersion() { + return delegate.coreVersion(); + } + + @Override + public String dcpConnectionName() { + return delegate.dcpConnectionName(); + } + + @Override + public int searchEndpoints() { + return delegate.searchEndpoints(); + } + + @Override + public String clientBuild() { + return delegate.clientBuild(); + } + + @Override + public String clientVersion() { + return delegate.clientVersion(); + } + + @Override + public long searchTimeout() { + return delegate.searchTimeout(); + } }