You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@slider.apache.org by st...@apache.org on 2014/12/18 22:32:40 UTC

[32/50] incubator-slider git commit: SLIDER-708 reformat IPC source

SLIDER-708 reformat IPC source


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

Branch: refs/heads/feature/SLIDER-151_REST_API
Commit: 5c882b1ec2a6131aa54442d01b3b500e58ea9a3b
Parents: a342066
Author: Steve Loughran <st...@apache.org>
Authored: Thu Dec 11 15:27:51 2014 +0000
Committer: Steve Loughran <st...@apache.org>
Committed: Tue Dec 16 20:25:39 2014 +0000

----------------------------------------------------------------------
 .../slider/api/SliderClusterProtocol.java       | 24 ++++++++++++--------
 1 file changed, 14 insertions(+), 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-slider/blob/5c882b1e/slider-core/src/main/java/org/apache/slider/api/SliderClusterProtocol.java
----------------------------------------------------------------------
diff --git a/slider-core/src/main/java/org/apache/slider/api/SliderClusterProtocol.java b/slider-core/src/main/java/org/apache/slider/api/SliderClusterProtocol.java
index 2f198c5..fc5c21b 100644
--- a/slider-core/src/main/java/org/apache/slider/api/SliderClusterProtocol.java
+++ b/slider-core/src/main/java/org/apache/slider/api/SliderClusterProtocol.java
@@ -47,26 +47,29 @@ public interface SliderClusterProtocol extends VersionedProtocol {
   /**
    * Flex the cluster. 
    */
-  Messages.FlexClusterResponseProto flexCluster(Messages.FlexClusterRequestProto request) throws IOException,
-                                                                                                 YarnException;
+  Messages.FlexClusterResponseProto flexCluster(Messages.FlexClusterRequestProto request)
+      throws IOException, YarnException;
 
 
   /**
    * Get the current cluster status
    */
-  Messages.GetJSONClusterStatusResponseProto getJSONClusterStatus(Messages.GetJSONClusterStatusRequestProto request) throws IOException, YarnException;
+  Messages.GetJSONClusterStatusResponseProto getJSONClusterStatus(Messages.GetJSONClusterStatusRequestProto request)
+      throws IOException, YarnException;
 
 
   /**
    * List all running nodes in a role
    */
-  Messages.ListNodeUUIDsByRoleResponseProto listNodeUUIDsByRole(Messages.ListNodeUUIDsByRoleRequestProto request) throws IOException, YarnException;
+  Messages.ListNodeUUIDsByRoleResponseProto listNodeUUIDsByRole(Messages.ListNodeUUIDsByRoleRequestProto request)
+      throws IOException, YarnException;
 
 
   /**
    * Get the details on a node
    */
-  Messages.GetNodeResponseProto getNode(Messages.GetNodeRequestProto request) throws IOException, YarnException;
+  Messages.GetNodeResponseProto getNode(Messages.GetNodeRequestProto request)
+      throws IOException, YarnException;
 
   /**
    * Get the 
@@ -74,7 +77,8 @@ public interface SliderClusterProtocol extends VersionedProtocol {
    * Unknown nodes are not returned
    * <i>Important: the order of the results are undefined</i>
    */
-  Messages.GetClusterNodesResponseProto getClusterNodes(Messages.GetClusterNodesRequestProto request) throws IOException, YarnException;
+  Messages.GetClusterNodesResponseProto getClusterNodes(Messages.GetClusterNodesRequestProto request)
+      throws IOException, YarnException;
 
   /**
    * Echo back the submitted text (after logging it).
@@ -94,7 +98,8 @@ public interface SliderClusterProtocol extends VersionedProtocol {
    * @throws IOException
    * @throws YarnException
    */
-  Messages.KillContainerResponseProto killContainer(Messages.KillContainerRequestProto request) throws IOException, YarnException;
+  Messages.KillContainerResponseProto killContainer(Messages.KillContainerRequestProto request)
+      throws IOException, YarnException;
 
   /**
    * AM to commit suicide. If the Hadoop halt entry point has not been disabled,
@@ -104,9 +109,8 @@ public interface SliderClusterProtocol extends VersionedProtocol {
    * @throws IOException
    * @throws YarnException
    */
-  Messages.AMSuicideResponseProto amSuicide(Messages.AMSuicideRequestProto request) throws
-                                                                                    IOException,
-                                                                                    YarnException;
+  Messages.AMSuicideResponseProto amSuicide(Messages.AMSuicideRequestProto request)
+      throws IOException, YarnException;
 
   /**
    * Get the instance definition