This is an automated email from the ASF dual-hosted git repository.
cameronlee pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/samza.git
The following commit(s) were added to refs/heads/master by this push:
new bebad34 Minor: fix misleading javadoc for context factories in
ApplicationDescriptor (#1096)
bebad34 is described below
commit bebad3476430a242c79a96ed29cae344c0e0e561
Author: Cameron Lee <[email protected]>
AuthorDate: Fri Jun 28 15:20:52 2019 -0700
Minor: fix misleading javadoc for context factories in
ApplicationDescriptor (#1096)
---
.../samza/application/descriptors/ApplicationDescriptor.java | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git
a/samza-api/src/main/java/org/apache/samza/application/descriptors/ApplicationDescriptor.java
b/samza-api/src/main/java/org/apache/samza/application/descriptors/ApplicationDescriptor.java
index 2aaa5c9..4273962 100644
---
a/samza-api/src/main/java/org/apache/samza/application/descriptors/ApplicationDescriptor.java
+++
b/samza-api/src/main/java/org/apache/samza/application/descriptors/ApplicationDescriptor.java
@@ -78,9 +78,10 @@ public interface ApplicationDescriptor<S extends
ApplicationDescriptor> {
S withDefaultSystem(SystemDescriptor<?> defaultSystemDescriptor);
/**
- * Sets the {@link ApplicationContainerContextFactory} for this application.
Each task will be given access to a
- * different instance of the {@link ApplicationContainerContext} that this
creates. The context can be accessed
- * through the {@link Context}.
+ * Sets the {@link ApplicationContainerContextFactory} for this application.
This will be used to create one instance
+ * of an {@link ApplicationContainerContext} for each container. All tasks
in the same container will share the same
+ * {@link ApplicationContainerContext} instance. The {@link
ApplicationContainerContext} can be accessed through the
+ * {@link Context}.
* <p>
* Setting this is optional.
* <p>
@@ -93,8 +94,8 @@ public interface ApplicationDescriptor<S extends
ApplicationDescriptor> {
/**
* Sets the {@link ApplicationTaskContextFactory} for this application. Each
task will be given access to a different
- * instance of the {@link ApplicationTaskContext} that this creates. The
context can be accessed through the
- * {@link Context}.
+ * instance of the {@link ApplicationTaskContext} that this creates. The
{@link ApplicationTaskContext} can be
+ * accessed through the {@link Context}.
* <p>
* Setting this is optional.
* <p>