ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yzhda...@apache.org
Subject ignite git commit: Fixed javadoc
Date Fri, 07 Oct 2016 08:43:48 GMT
Repository: ignite
Updated Branches:
  refs/heads/master 5afd6546f -> c478d03a8


Fixed javadoc


Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/c478d03a
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/c478d03a
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/c478d03a

Branch: refs/heads/master
Commit: c478d03a81f9d3b55ad7757f743a7471b768e2ba
Parents: 5afd654
Author: yzhdanov <yzhdanov@apache.org>
Authored: Fri Oct 7 11:43:34 2016 +0300
Committer: yzhdanov <yzhdanov@apache.org>
Committed: Fri Oct 7 11:43:34 2016 +0300

----------------------------------------------------------------------
 .../main/java/org/apache/ignite/services/Service.java   | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/c478d03a/modules/core/src/main/java/org/apache/ignite/services/Service.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/services/Service.java b/modules/core/src/main/java/org/apache/ignite/services/Service.java
index 60b977d..e82f6c3 100644
--- a/modules/core/src/main/java/org/apache/ignite/services/Service.java
+++ b/modules/core/src/main/java/org/apache/ignite/services/Service.java
@@ -53,21 +53,21 @@ import java.io.Serializable;
  * Consecutively, this service can be deployed as follows:
  * <pre name="code" class="java">
  * ...
- * GridServices svcs = grid.services();
+ * IgniteServices svcs = ignite.services();
  *
- * svcs.deployClusterSingleton("mySingleton", new MyGridService());
+ * svcs.deployClusterSingleton("mySingleton", new MyIgniteService());
  * </pre>
  * Or from grid configuration on startup:
  * <pre name="code" class="java">
  * IgniteConfiguration gridCfg = new IgniteConfiguration();
  *
- * GridServiceConfiguration svcCfg = new GridServiceConfiguration();
+ * IgniteServiceConfiguration svcCfg = new IgniteServiceConfiguration();
  *
  * // Configuration for cluster-singleton service.
  * svcCfg.setName("mySingleton");
  * svcCfg.setMaxPerNodeCount(1);
  * svcCfg.setTotalCount(1);
- * svcCfg.setService(new MyGridService());
+ * svcCfg.setService(new MyIgniteService());
  *
  * gridCfg.setServiceConfiguration(svcCfg);
  * ...
@@ -88,7 +88,7 @@ public interface Service extends Serializable {
      * {@code cancel} methods on {@link org.apache.ignite.IgniteServices} API are called.
      * <p>
      * Note that Ignite cannot guarantee that the service exits from {@link #execute(ServiceContext)}
-     * method whenever {@code cancel(GridServiceContext)} method is called. It is up to the
user to
+     * method whenever {@code cancel(ServiceContext)} method is called. It is up to the user
to
      * make sure that the service code properly reacts to cancellations.
      *
      * @param ctx Service execution context.
@@ -117,4 +117,4 @@ public interface Service extends Serializable {
      *      {@link org.apache.ignite.IgniteServices#cancel(String)} method will be called.
      */
     public void execute(ServiceContext ctx) throws Exception;
-}
\ No newline at end of file
+}


Mime
View raw message