Updated Branches: refs/heads/master e716e4963 -> fc0c5623d
ACCUMULO-2350 add recommendation to use InstanceOperations methods to get/set server side configuration Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/7b3567f8 Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/7b3567f8 Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/7b3567f8 Branch: refs/heads/master Commit: 7b3567f853be562e0a326956b99752289d14a261 Parents: 75aac15 Author: Eric Newton <eric.new...@gmail.com> Authored: Fri Feb 14 12:33:36 2014 -0500 Committer: Eric Newton <eric.new...@gmail.com> Committed: Fri Feb 14 12:33:36 2014 -0500 ---------------------------------------------------------------------- .../main/java/org/apache/accumulo/core/client/Instance.java | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/accumulo/blob/7b3567f8/core/src/main/java/org/apache/accumulo/core/client/Instance.java ---------------------------------------------------------------------- diff --git a/core/src/main/java/org/apache/accumulo/core/client/Instance.java b/core/src/main/java/org/apache/accumulo/core/client/Instance.java index 9bf2a08..c6f6f33 100644 --- a/core/src/main/java/org/apache/accumulo/core/client/Instance.java +++ b/core/src/main/java/org/apache/accumulo/core/client/Instance.java @@ -19,6 +19,7 @@ package org.apache.accumulo.core.client; import java.nio.ByteBuffer; import java.util.List; +import org.apache.accumulo.core.client.admin.InstanceOperations; import org.apache.accumulo.core.client.security.tokens.AuthenticationToken; import org.apache.accumulo.core.client.security.tokens.PasswordToken; import org.apache.accumulo.core.conf.AccumuloConfiguration; @@ -125,7 +126,9 @@ public interface Instance { * Returns the AccumuloConfiguration to use when interacting with this instance. * * @return the AccumuloConfiguration that specifies properties related to interacting with this instance - * @deprecated since 1.6.0 + * @deprecated since 1.6.0. + * This method makes very little sense in the context of the client API and never should have been exposed. + * @see {@link InstanceOperations#getConfiguration()} for client-side reading of the server-side configuration. */ @Deprecated AccumuloConfiguration getConfiguration(); @@ -135,7 +138,9 @@ public interface Instance { * * @param conf * accumulo configuration - * @deprecated since 1.6.0 + * @deprecated since 1.6.0. + * This method makes very little sense in the context of the client API and never should have been exposed. + * @see {@link InstanceOperations#setProperty(String, String)} */ @Deprecated void setConfiguration(AccumuloConfiguration conf);