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 2015/03/25 21:28:31 UTC
[02/25] incubator-slider git commit: SLIDER-799 javadoc cleanup
SLIDER-799 javadoc cleanup
Project: http://git-wip-us.apache.org/repos/asf/incubator-slider/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-slider/commit/8c8682f5
Tree: http://git-wip-us.apache.org/repos/asf/incubator-slider/tree/8c8682f5
Diff: http://git-wip-us.apache.org/repos/asf/incubator-slider/diff/8c8682f5
Branch: refs/heads/develop
Commit: 8c8682f5162f17ec47081086465aac6cfcbf9388
Parents: 55815c2
Author: Steve Loughran <st...@apache.org>
Authored: Tue Mar 3 15:25:52 2015 -0800
Committer: Steve Loughran <st...@apache.org>
Committed: Tue Mar 3 15:26:18 2015 -0800
----------------------------------------------------------------------
.../slider/server/appmaster/state/OutstandingRequest.java | 7 +++----
.../slider/server/appmaster/state/ProviderAppState.java | 4 ++++
2 files changed, 7 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-slider/blob/8c8682f5/slider-core/src/main/java/org/apache/slider/server/appmaster/state/OutstandingRequest.java
----------------------------------------------------------------------
diff --git a/slider-core/src/main/java/org/apache/slider/server/appmaster/state/OutstandingRequest.java b/slider-core/src/main/java/org/apache/slider/server/appmaster/state/OutstandingRequest.java
index 6acac89..2bc211a 100644
--- a/slider-core/src/main/java/org/apache/slider/server/appmaster/state/OutstandingRequest.java
+++ b/slider-core/src/main/java/org/apache/slider/server/appmaster/state/OutstandingRequest.java
@@ -27,12 +27,11 @@ import org.slf4j.LoggerFactory;
/**
* Tracks an outstanding request. This is used to correlate an allocation response
- * with the
- * node and role used in the request.
- *
+ * with the node and role used in the request.
+ * <p>
* The node identifier may be null -which indicates that a request was made without
* a specific target node
- *
+ * <p>
* Equality and the hash code are based <i>only</i> on the role and hostname,
* which are fixed in the constructor. This means that a simple
* instance constructed with (role, hostname) can be used to look up
http://git-wip-us.apache.org/repos/asf/incubator-slider/blob/8c8682f5/slider-core/src/main/java/org/apache/slider/server/appmaster/state/ProviderAppState.java
----------------------------------------------------------------------
diff --git a/slider-core/src/main/java/org/apache/slider/server/appmaster/state/ProviderAppState.java b/slider-core/src/main/java/org/apache/slider/server/appmaster/state/ProviderAppState.java
index d237f42..632551e 100644
--- a/slider-core/src/main/java/org/apache/slider/server/appmaster/state/ProviderAppState.java
+++ b/slider-core/src/main/java/org/apache/slider/server/appmaster/state/ProviderAppState.java
@@ -39,6 +39,10 @@ import java.util.List;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
+/**
+ * Implementation of {@link StateAccessForProviders}, which means
+ * state access for providers, web UI and IPC/REST views.
+ */
public class ProviderAppState implements StateAccessForProviders {