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/08/21 21:34:12 UTC
[04/50] [abbrv] git commit: SLIDER-320 Action PublishEndpointDetails
SLIDER-320 Action PublishEndpointDetails
Project: http://git-wip-us.apache.org/repos/asf/incubator-slider/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-slider/commit/74cca8a9
Tree: http://git-wip-us.apache.org/repos/asf/incubator-slider/tree/74cca8a9
Diff: http://git-wip-us.apache.org/repos/asf/incubator-slider/diff/74cca8a9
Branch: refs/heads/feature/SLIDER-151_REST_API
Commit: 74cca8a9f351fbc25e7a617eacce8a330224e4a9
Parents: 52f1f6f
Author: Steve Loughran <st...@apache.org>
Authored: Thu Aug 14 16:19:34 2014 +0100
Committer: Steve Loughran <st...@apache.org>
Committed: Thu Aug 14 16:19:34 2014 +0100
----------------------------------------------------------------------
.../actions/PublishEndpointDetails.java | 45 ++++++++++++++++++++
1 file changed, 45 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-slider/blob/74cca8a9/slider-core/src/main/java/org/apache/slider/server/appmaster/actions/PublishEndpointDetails.java
----------------------------------------------------------------------
diff --git a/slider-core/src/main/java/org/apache/slider/server/appmaster/actions/PublishEndpointDetails.java b/slider-core/src/main/java/org/apache/slider/server/appmaster/actions/PublishEndpointDetails.java
new file mode 100644
index 0000000..67198a2
--- /dev/null
+++ b/slider-core/src/main/java/org/apache/slider/server/appmaster/actions/PublishEndpointDetails.java
@@ -0,0 +1,45 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.slider.server.appmaster.actions;
+
+import org.apache.hadoop.yarn.api.records.ContainerId;
+import org.apache.slider.server.appmaster.SliderAppMaster;
+import org.apache.slider.server.appmaster.state.AppState;
+
+import java.util.concurrent.TimeUnit;
+
+public class PublishEndpointDetails extends AsyncAction {
+
+
+ public final ContainerId containerId;
+
+ public PublishEndpointDetails(ContainerId containerId, long delay,
+ TimeUnit timeUnit) {
+ super("PublishEndpointDetails :" + containerId.toString(),
+ delay, timeUnit);
+ this.containerId = containerId;
+ }
+
+ @Override
+ public void execute(SliderAppMaster appMaster,
+ QueueAccess queueService,
+ AppState appState) throws Exception {
+
+ }
+}