You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@slider.apache.org by sm...@apache.org on 2014/10/15 03:07:52 UTC

[14/23] git commit: rm some @VisibleForTesting attributes from SliderClientAPI

rm some @VisibleForTesting attributes from SliderClientAPI


Project: http://git-wip-us.apache.org/repos/asf/incubator-slider/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-slider/commit/2c55c43c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-slider/tree/2c55c43c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-slider/diff/2c55c43c

Branch: refs/heads/feature/SLIDER-481_allow_dedicated_handling_of_exports
Commit: 2c55c43cb510a585ebfc5d5f74395be762d5731f
Parents: 87987a5
Author: Steve Loughran <st...@apache.org>
Authored: Tue Oct 14 13:30:15 2014 -0700
Committer: Steve Loughran <st...@apache.org>
Committed: Tue Oct 14 13:30:15 2014 -0700

----------------------------------------------------------------------
 .../src/main/java/org/apache/slider/client/SliderClientAPI.java  | 4 ----
 1 file changed, 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-slider/blob/2c55c43c/slider-core/src/main/java/org/apache/slider/client/SliderClientAPI.java
----------------------------------------------------------------------
diff --git a/slider-core/src/main/java/org/apache/slider/client/SliderClientAPI.java b/slider-core/src/main/java/org/apache/slider/client/SliderClientAPI.java
index cacf962..3d2c8cd 100644
--- a/slider-core/src/main/java/org/apache/slider/client/SliderClientAPI.java
+++ b/slider-core/src/main/java/org/apache/slider/client/SliderClientAPI.java
@@ -126,14 +126,12 @@ public interface SliderClientAPI extends Service {
    * Implement the list action: list all nodes
    * @return exit code of 0 if a list was created
    */
-  @VisibleForTesting
   int actionList(String clustername) throws IOException, YarnException;
 
   /**
    * Implement the islive action: probe for a cluster of the given name existing
    * @return exit code
    */
-  @VisibleForTesting
   int actionFlex(String name, ActionFlexArgs args) throws YarnException, IOException;
 
   /**
@@ -141,7 +139,6 @@ public interface SliderClientAPI extends Service {
    * in the filesystem. If the live param is set, it must be a live cluster
    * @return exit code
    */
-  @VisibleForTesting
   int actionExists(String name, boolean checkLive) throws YarnException, IOException;
 
   /**
@@ -175,7 +172,6 @@ public interface SliderClientAPI extends Service {
    * @throws YarnException
    * @throws IOException
    */
-  @VisibleForTesting
   int actionStatus(String clustername, ActionStatusArgs statusArgs)
       throws YarnException, IOException;