ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sevdoki...@apache.org
Subject [2/2] incubator-ignite git commit: # IGNITE-459 Remove CacheNodeStartup class, use ExampleNodeStartup instead.
Date Thu, 12 Mar 2015 10:00:42 GMT
# IGNITE-459 Remove CacheNodeStartup class, use ExampleNodeStartup instead.


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

Branch: refs/heads/ignite-459
Commit: 4b0554eafeab5ce828cebc585d6a01e2b233913e
Parents: 3ad5e42
Author: sevdokimov <sevdokimov@gridgain.com>
Authored: Thu Mar 12 13:00:06 2015 +0300
Committer: sevdokimov <sevdokimov@gridgain.com>
Committed: Thu Mar 12 13:00:06 2015 +0300

----------------------------------------------------------------------
 .../examples/datagrid/CacheAffinityExample.java |  3 +-
 .../examples/datagrid/CacheApiExample.java      |  3 +-
 .../datagrid/CacheContinuousQueryExample.java   |  3 +-
 .../datagrid/CacheDataLoaderExample.java        |  2 +-
 .../examples/datagrid/CacheEventsExample.java   |  3 +-
 .../examples/datagrid/CacheNodeStartup.java     | 35 --------------------
 .../datagrid/CachePopularNumbersExample.java    |  3 +-
 .../examples/datagrid/CachePutGetExample.java   |  3 +-
 .../examples/datagrid/CacheQueryExample.java    |  3 +-
 .../datagrid/CacheTransactionExample.java       |  3 +-
 .../starschema/CacheStarSchemaExample.java      |  3 +-
 .../datastructures/IgniteAtomicLongExample.java |  3 +-
 .../IgniteAtomicReferenceExample.java           |  3 +-
 .../IgniteAtomicSequenceExample.java            |  3 +-
 .../IgniteAtomicStampedExample.java             |  3 +-
 .../IgniteCountDownLatchExample.java            |  3 +-
 .../datastructures/IgniteQueueExample.java      |  3 +-
 .../datastructures/IgniteSetExample.java        |  3 +-
 .../ScalarCachePopularNumbersExample.scala      |  4 +--
 19 files changed, 35 insertions(+), 54 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/4b0554ea/examples/src/main/java/org/apache/ignite/examples/datagrid/CacheAffinityExample.java
----------------------------------------------------------------------
diff --git a/examples/src/main/java/org/apache/ignite/examples/datagrid/CacheAffinityExample.java
b/examples/src/main/java/org/apache/ignite/examples/datagrid/CacheAffinityExample.java
index b8bbf25..271df75 100644
--- a/examples/src/main/java/org/apache/ignite/examples/datagrid/CacheAffinityExample.java
+++ b/examples/src/main/java/org/apache/ignite/examples/datagrid/CacheAffinityExample.java
@@ -19,6 +19,7 @@ package org.apache.ignite.examples.datagrid;
 
 import org.apache.ignite.*;
 import org.apache.ignite.cluster.*;
+import org.apache.ignite.examples.*;
 import org.apache.ignite.lang.*;
 
 import java.util.*;
@@ -31,7 +32,7 @@ import java.util.*;
  * Remote nodes should always be started with special configuration file which
  * enables P2P class loading: {@code 'ignite.{sh|bat} examples/config/example-cache.xml'}.
  * <p>
- * Alternatively you can run {@link CacheNodeStartup} in another JVM which will
+ * Alternatively you can run {@link ExampleNodeStartup} in another JVM which will
  * start node with {@code examples/config/example-cache.xml} configuration.
  */
 public final class CacheAffinityExample {

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/4b0554ea/examples/src/main/java/org/apache/ignite/examples/datagrid/CacheApiExample.java
----------------------------------------------------------------------
diff --git a/examples/src/main/java/org/apache/ignite/examples/datagrid/CacheApiExample.java
b/examples/src/main/java/org/apache/ignite/examples/datagrid/CacheApiExample.java
index ccebada..e8f34ec 100644
--- a/examples/src/main/java/org/apache/ignite/examples/datagrid/CacheApiExample.java
+++ b/examples/src/main/java/org/apache/ignite/examples/datagrid/CacheApiExample.java
@@ -20,6 +20,7 @@ package org.apache.ignite.examples.datagrid;
 import org.apache.ignite.*;
 import org.apache.ignite.cache.*;
 import org.apache.ignite.configuration.*;
+import org.apache.ignite.examples.*;
 import org.apache.ignite.lang.*;
 
 import javax.cache.processor.*;
@@ -31,7 +32,7 @@ import java.util.concurrent.*;
  * Remote nodes should always be started with special configuration file which
  * enables P2P class loading: {@code 'ignite.{sh|bat} examples/config/example-cache.xml'}.
  * <p>
- * Alternatively you can run {@link CacheNodeStartup} in another JVM which will
+ * Alternatively you can run {@link ExampleNodeStartup} in another JVM which will
  * start node with {@code examples/config/example-cache.xml} configuration.
  */
 public class CacheApiExample {

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/4b0554ea/examples/src/main/java/org/apache/ignite/examples/datagrid/CacheContinuousQueryExample.java
----------------------------------------------------------------------
diff --git a/examples/src/main/java/org/apache/ignite/examples/datagrid/CacheContinuousQueryExample.java
b/examples/src/main/java/org/apache/ignite/examples/datagrid/CacheContinuousQueryExample.java
index d1db86b..38e392e 100644
--- a/examples/src/main/java/org/apache/ignite/examples/datagrid/CacheContinuousQueryExample.java
+++ b/examples/src/main/java/org/apache/ignite/examples/datagrid/CacheContinuousQueryExample.java
@@ -19,6 +19,7 @@ package org.apache.ignite.examples.datagrid;
 
 import org.apache.ignite.*;
 import org.apache.ignite.cache.query.*;
+import org.apache.ignite.examples.*;
 import org.apache.ignite.lang.*;
 
 import javax.cache.*;
@@ -30,7 +31,7 @@ import javax.cache.event.*;
  * Remote nodes should always be started with special configuration file which
  * enables P2P class loading: {@code 'ignite.{sh|bat} examples/config/example-cache.xml'}.
  * <p>
- * Alternatively you can run {@link CacheNodeStartup} in another JVM which will
+ * Alternatively you can run {@link ExampleNodeStartup} in another JVM which will
  * start node with {@code examples/config/example-cache.xml} configuration.
  */
 public class CacheContinuousQueryExample {

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/4b0554ea/examples/src/main/java/org/apache/ignite/examples/datagrid/CacheDataLoaderExample.java
----------------------------------------------------------------------
diff --git a/examples/src/main/java/org/apache/ignite/examples/datagrid/CacheDataLoaderExample.java
b/examples/src/main/java/org/apache/ignite/examples/datagrid/CacheDataLoaderExample.java
index 57b0cd2..fd2f8fb 100644
--- a/examples/src/main/java/org/apache/ignite/examples/datagrid/CacheDataLoaderExample.java
+++ b/examples/src/main/java/org/apache/ignite/examples/datagrid/CacheDataLoaderExample.java
@@ -29,7 +29,7 @@ import org.apache.ignite.examples.*;
  * Remote nodes should always be started with special configuration file which
  * enables P2P class loading: {@code 'ignite.{sh|bat} examples/config/example-cache.xml'}.
  * <p>
- * Alternatively you can run {@link CacheNodeStartup} in another JVM which will
+ * Alternatively you can run {@link ExampleNodeStartup} in another JVM which will
  * start node with {@code examples/config/example-cache.xml} configuration.
  */
 public class CacheDataLoaderExample {

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/4b0554ea/examples/src/main/java/org/apache/ignite/examples/datagrid/CacheEventsExample.java
----------------------------------------------------------------------
diff --git a/examples/src/main/java/org/apache/ignite/examples/datagrid/CacheEventsExample.java
b/examples/src/main/java/org/apache/ignite/examples/datagrid/CacheEventsExample.java
index 1ae194e..fab9676 100644
--- a/examples/src/main/java/org/apache/ignite/examples/datagrid/CacheEventsExample.java
+++ b/examples/src/main/java/org/apache/ignite/examples/datagrid/CacheEventsExample.java
@@ -19,6 +19,7 @@ package org.apache.ignite.examples.datagrid;
 
 import org.apache.ignite.*;
 import org.apache.ignite.events.*;
+import org.apache.ignite.examples.*;
 import org.apache.ignite.lang.*;
 
 import java.util.*;
@@ -32,7 +33,7 @@ import static org.apache.ignite.events.EventType.*;
  * Remote nodes should always be started with special configuration file which
  * enables P2P class loading: {@code 'ignite.{sh|bat} examples/config/example-cache.xml'}.
  * <p>
- * Alternatively you can run {@link CacheNodeStartup} in another JVM which will
+ * Alternatively you can run {@link ExampleNodeStartup} in another JVM which will
  * start node with {@code examples/config/example-cache.xml} configuration.
  */
 public class CacheEventsExample {

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/4b0554ea/examples/src/main/java/org/apache/ignite/examples/datagrid/CacheNodeStartup.java
----------------------------------------------------------------------
diff --git a/examples/src/main/java/org/apache/ignite/examples/datagrid/CacheNodeStartup.java
b/examples/src/main/java/org/apache/ignite/examples/datagrid/CacheNodeStartup.java
deleted file mode 100644
index c89fd96..0000000
--- a/examples/src/main/java/org/apache/ignite/examples/datagrid/CacheNodeStartup.java
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
- * 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.ignite.examples.datagrid;
-
-import org.apache.ignite.*;
-
-/**
- * Starts up an empty node with example cache configuration.
- */
-public class CacheNodeStartup {
-    /**
-     * Start up an empty node with specified cache configuration.
-     *
-     * @param args Command line arguments, none required.
-     * @throws IgniteException If example execution failed.
-     */
-    public static void main(String[] args) throws IgniteException {
-        Ignition.start("examples/config/example-cache.xml");
-    }
-}

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/4b0554ea/examples/src/main/java/org/apache/ignite/examples/datagrid/CachePopularNumbersExample.java
----------------------------------------------------------------------
diff --git a/examples/src/main/java/org/apache/ignite/examples/datagrid/CachePopularNumbersExample.java
b/examples/src/main/java/org/apache/ignite/examples/datagrid/CachePopularNumbersExample.java
index 0f71681..89ebfc2 100644
--- a/examples/src/main/java/org/apache/ignite/examples/datagrid/CachePopularNumbersExample.java
+++ b/examples/src/main/java/org/apache/ignite/examples/datagrid/CachePopularNumbersExample.java
@@ -19,6 +19,7 @@ package org.apache.ignite.examples.datagrid;
 
 import org.apache.ignite.*;
 import org.apache.ignite.cluster.*;
+import org.apache.ignite.examples.*;
 
 import javax.cache.processor.*;
 import java.util.*;
@@ -31,7 +32,7 @@ import static org.apache.ignite.cache.query.Query.*;
  * Remote nodes should always be started with special configuration file which
  * enables P2P class loading: {@code 'ignite.{sh|bat} examples/config/example-cache.xml'}.
  * <p>
- * Alternatively you can run {@link CacheNodeStartup} in another JVM which will
+ * Alternatively you can run {@link ExampleNodeStartup} in another JVM which will
  * start node with {@code examples/config/example-cache.xml} configuration.
  */
 public class CachePopularNumbersExample {

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/4b0554ea/examples/src/main/java/org/apache/ignite/examples/datagrid/CachePutGetExample.java
----------------------------------------------------------------------
diff --git a/examples/src/main/java/org/apache/ignite/examples/datagrid/CachePutGetExample.java
b/examples/src/main/java/org/apache/ignite/examples/datagrid/CachePutGetExample.java
index fb4a16d..7b615a8 100644
--- a/examples/src/main/java/org/apache/ignite/examples/datagrid/CachePutGetExample.java
+++ b/examples/src/main/java/org/apache/ignite/examples/datagrid/CachePutGetExample.java
@@ -18,6 +18,7 @@
 package org.apache.ignite.examples.datagrid;
 
 import org.apache.ignite.*;
+import org.apache.ignite.examples.*;
 
 import java.util.*;
 
@@ -27,7 +28,7 @@ import java.util.*;
  * Remote nodes should always be started with special configuration file which
  * enables P2P class loading: {@code 'ignite.{sh|bat} examples/config/example-cache.xml'}.
  * <p>
- * Alternatively you can run {@link CacheNodeStartup} in another JVM which will
+ * Alternatively you can run {@link ExampleNodeStartup} in another JVM which will
  * start node with {@code examples/config/example-cache.xml} configuration.
  */
 public class CachePutGetExample {

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/4b0554ea/examples/src/main/java/org/apache/ignite/examples/datagrid/CacheQueryExample.java
----------------------------------------------------------------------
diff --git a/examples/src/main/java/org/apache/ignite/examples/datagrid/CacheQueryExample.java
b/examples/src/main/java/org/apache/ignite/examples/datagrid/CacheQueryExample.java
index ba14e35..0c6b052 100644
--- a/examples/src/main/java/org/apache/ignite/examples/datagrid/CacheQueryExample.java
+++ b/examples/src/main/java/org/apache/ignite/examples/datagrid/CacheQueryExample.java
@@ -21,6 +21,7 @@ import org.apache.ignite.*;
 import org.apache.ignite.cache.affinity.*;
 import org.apache.ignite.cache.query.*;
 import org.apache.ignite.cache.query.annotations.*;
+import org.apache.ignite.examples.*;
 
 import javax.cache.*;
 import java.io.*;
@@ -63,7 +64,7 @@ import static org.apache.ignite.cache.query.Query.*;
  * Remote nodes should always be started with special configuration file which
  * enables P2P class loading: {@code 'ignite.{sh|bat} examples/config/example-cache.xml'}.
  * <p>
- * Alternatively you can run {@link CacheNodeStartup} in another JVM which will
+ * Alternatively you can run {@link ExampleNodeStartup} in another JVM which will
  * start node with {@code examples/config/example-cache.xml} configuration.
  */
 public class CacheQueryExample {

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/4b0554ea/examples/src/main/java/org/apache/ignite/examples/datagrid/CacheTransactionExample.java
----------------------------------------------------------------------
diff --git a/examples/src/main/java/org/apache/ignite/examples/datagrid/CacheTransactionExample.java
b/examples/src/main/java/org/apache/ignite/examples/datagrid/CacheTransactionExample.java
index 50f1b9d..2eb833c 100644
--- a/examples/src/main/java/org/apache/ignite/examples/datagrid/CacheTransactionExample.java
+++ b/examples/src/main/java/org/apache/ignite/examples/datagrid/CacheTransactionExample.java
@@ -18,6 +18,7 @@
 package org.apache.ignite.examples.datagrid;
 
 import org.apache.ignite.*;
+import org.apache.ignite.examples.*;
 import org.apache.ignite.transactions.*;
 
 import java.io.*;
@@ -31,7 +32,7 @@ import static org.apache.ignite.transactions.TransactionIsolation.*;
  * Remote nodes should always be started with special configuration file which
  * enables P2P class loading: {@code 'ignite.{sh|bat} examples/config/example-cache.xml'}.
  * <p>
- * Alternatively you can run {@link CacheNodeStartup} in another JVM which will
+ * Alternatively you can run {@link ExampleNodeStartup} in another JVM which will
  * start node with {@code examples/config/example-cache.xml} configuration.
  */
 public class CacheTransactionExample {

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/4b0554ea/examples/src/main/java/org/apache/ignite/examples/datagrid/starschema/CacheStarSchemaExample.java
----------------------------------------------------------------------
diff --git a/examples/src/main/java/org/apache/ignite/examples/datagrid/starschema/CacheStarSchemaExample.java
b/examples/src/main/java/org/apache/ignite/examples/datagrid/starschema/CacheStarSchemaExample.java
index e8eb2be..8f3c7d1 100644
--- a/examples/src/main/java/org/apache/ignite/examples/datagrid/starschema/CacheStarSchemaExample.java
+++ b/examples/src/main/java/org/apache/ignite/examples/datagrid/starschema/CacheStarSchemaExample.java
@@ -20,6 +20,7 @@ package org.apache.ignite.examples.datagrid.starschema;
 import org.apache.ignite.*;
 import org.apache.ignite.cache.*;
 import org.apache.ignite.cache.query.*;
+import org.apache.ignite.examples.*;
 import org.apache.ignite.examples.datagrid.*;
 
 import javax.cache.*;
@@ -47,7 +48,7 @@ import static org.apache.ignite.cache.query.Query.*;
  * Remote nodes should always be started with special configuration file which
  * enables P2P class loading: {@code 'ignite.{sh|bat} examples/config/example-cache.xml'}.
  * <p>
- * Alternatively you can run {@link CacheNodeStartup} in another JVM which will
+ * Alternatively you can run {@link ExampleNodeStartup} in another JVM which will
  * start node with {@code examples/config/example-cache.xml} configuration.
  */
 public class CacheStarSchemaExample {

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/4b0554ea/examples/src/main/java/org/apache/ignite/examples/datastructures/IgniteAtomicLongExample.java
----------------------------------------------------------------------
diff --git a/examples/src/main/java/org/apache/ignite/examples/datastructures/IgniteAtomicLongExample.java
b/examples/src/main/java/org/apache/ignite/examples/datastructures/IgniteAtomicLongExample.java
index 6548f94..4adf22f 100644
--- a/examples/src/main/java/org/apache/ignite/examples/datastructures/IgniteAtomicLongExample.java
+++ b/examples/src/main/java/org/apache/ignite/examples/datastructures/IgniteAtomicLongExample.java
@@ -18,6 +18,7 @@
 package org.apache.ignite.examples.datastructures;
 
 import org.apache.ignite.*;
+import org.apache.ignite.examples.*;
 import org.apache.ignite.examples.datagrid.*;
 import org.apache.ignite.lang.*;
 
@@ -29,7 +30,7 @@ import java.util.*;
  * Remote nodes should always be started with special configuration file which
  * enables P2P class loading: {@code 'ignite.{sh|bat} examples/config/example-cache.xml'}.
  * <p>
- * Alternatively you can run {@link CacheNodeStartup} in another JVM which will
+ * Alternatively you can run {@link ExampleNodeStartup} in another JVM which will
  * start node with {@code examples/config/example-cache.xml} configuration.
  */
 public final class IgniteAtomicLongExample {

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/4b0554ea/examples/src/main/java/org/apache/ignite/examples/datastructures/IgniteAtomicReferenceExample.java
----------------------------------------------------------------------
diff --git a/examples/src/main/java/org/apache/ignite/examples/datastructures/IgniteAtomicReferenceExample.java
b/examples/src/main/java/org/apache/ignite/examples/datastructures/IgniteAtomicReferenceExample.java
index 866a426..1c9d74f 100644
--- a/examples/src/main/java/org/apache/ignite/examples/datastructures/IgniteAtomicReferenceExample.java
+++ b/examples/src/main/java/org/apache/ignite/examples/datastructures/IgniteAtomicReferenceExample.java
@@ -18,6 +18,7 @@
 package org.apache.ignite.examples.datastructures;
 
 import org.apache.ignite.*;
+import org.apache.ignite.examples.*;
 import org.apache.ignite.examples.datagrid.*;
 import org.apache.ignite.lang.*;
 
@@ -29,7 +30,7 @@ import java.util.*;
  * Remote nodes should always be started with special configuration file which
  * enables P2P class loading: {@code 'ignite.{sh|bat} examples/config/example-cache.xml'}.
  * <p>
- * Alternatively you can run {@link CacheNodeStartup} in another JVM which will
+ * Alternatively you can run {@link ExampleNodeStartup} in another JVM which will
  * start node with {@code examples/config/example-cache.xml} configuration.
  */
 public final class IgniteAtomicReferenceExample {

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/4b0554ea/examples/src/main/java/org/apache/ignite/examples/datastructures/IgniteAtomicSequenceExample.java
----------------------------------------------------------------------
diff --git a/examples/src/main/java/org/apache/ignite/examples/datastructures/IgniteAtomicSequenceExample.java
b/examples/src/main/java/org/apache/ignite/examples/datastructures/IgniteAtomicSequenceExample.java
index f83a819..ce6f45e 100644
--- a/examples/src/main/java/org/apache/ignite/examples/datastructures/IgniteAtomicSequenceExample.java
+++ b/examples/src/main/java/org/apache/ignite/examples/datastructures/IgniteAtomicSequenceExample.java
@@ -18,6 +18,7 @@
 package org.apache.ignite.examples.datastructures;
 
 import org.apache.ignite.*;
+import org.apache.ignite.examples.*;
 import org.apache.ignite.examples.datagrid.*;
 import org.apache.ignite.lang.*;
 
@@ -27,7 +28,7 @@ import org.apache.ignite.lang.*;
  * Remote nodes should always be started with special configuration file which
  * enables P2P class loading: {@code 'ignite.{sh|bat} examples/config/example-cache.xml'}.
  * <p>
- * Alternatively you can run {@link CacheNodeStartup} in another JVM which will
+ * Alternatively you can run {@link ExampleNodeStartup} in another JVM which will
  * start node with {@code examples/config/example-cache.xml} configuration.
  */
 public final class IgniteAtomicSequenceExample {

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/4b0554ea/examples/src/main/java/org/apache/ignite/examples/datastructures/IgniteAtomicStampedExample.java
----------------------------------------------------------------------
diff --git a/examples/src/main/java/org/apache/ignite/examples/datastructures/IgniteAtomicStampedExample.java
b/examples/src/main/java/org/apache/ignite/examples/datastructures/IgniteAtomicStampedExample.java
index 14f52b1..7e2bc09 100644
--- a/examples/src/main/java/org/apache/ignite/examples/datastructures/IgniteAtomicStampedExample.java
+++ b/examples/src/main/java/org/apache/ignite/examples/datastructures/IgniteAtomicStampedExample.java
@@ -18,6 +18,7 @@
 package org.apache.ignite.examples.datastructures;
 
 import org.apache.ignite.*;
+import org.apache.ignite.examples.*;
 import org.apache.ignite.examples.datagrid.*;
 import org.apache.ignite.lang.*;
 
@@ -29,7 +30,7 @@ import java.util.*;
  * Remote nodes should always be started with special configuration file which
  * enables P2P class loading: {@code 'ignite.{sh|bat} examples/config/example-cache.xml'}.
  * <p>
- * Alternatively you can run {@link CacheNodeStartup} in another JVM which will
+ * Alternatively you can run {@link ExampleNodeStartup} in another JVM which will
  * start node with {@code examples/config/example-cache.xml} configuration.
  */
 public final class IgniteAtomicStampedExample {

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/4b0554ea/examples/src/main/java/org/apache/ignite/examples/datastructures/IgniteCountDownLatchExample.java
----------------------------------------------------------------------
diff --git a/examples/src/main/java/org/apache/ignite/examples/datastructures/IgniteCountDownLatchExample.java
b/examples/src/main/java/org/apache/ignite/examples/datastructures/IgniteCountDownLatchExample.java
index dc5f608..a7b726a 100644
--- a/examples/src/main/java/org/apache/ignite/examples/datastructures/IgniteCountDownLatchExample.java
+++ b/examples/src/main/java/org/apache/ignite/examples/datastructures/IgniteCountDownLatchExample.java
@@ -18,6 +18,7 @@
 package org.apache.ignite.examples.datastructures;
 
 import org.apache.ignite.*;
+import org.apache.ignite.examples.*;
 import org.apache.ignite.examples.datagrid.*;
 import org.apache.ignite.lang.*;
 
@@ -29,7 +30,7 @@ import java.util.*;
  * Remote nodes should always be started with special configuration file which
  * enables P2P class loading: {@code 'ignite.{sh|bat} examples/config/example-cache.xml'}.
  * <p>
- * Alternatively you can run {@link CacheNodeStartup} in another JVM which will
+ * Alternatively you can run {@link ExampleNodeStartup} in another JVM which will
  * start node with {@code examples/config/example-cache.xml} configuration.
  */
 public class IgniteCountDownLatchExample {

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/4b0554ea/examples/src/main/java/org/apache/ignite/examples/datastructures/IgniteQueueExample.java
----------------------------------------------------------------------
diff --git a/examples/src/main/java/org/apache/ignite/examples/datastructures/IgniteQueueExample.java
b/examples/src/main/java/org/apache/ignite/examples/datastructures/IgniteQueueExample.java
index 8f915f9..f0e13cb 100644
--- a/examples/src/main/java/org/apache/ignite/examples/datastructures/IgniteQueueExample.java
+++ b/examples/src/main/java/org/apache/ignite/examples/datastructures/IgniteQueueExample.java
@@ -19,6 +19,7 @@ package org.apache.ignite.examples.datastructures;
 
 import org.apache.ignite.*;
 import org.apache.ignite.configuration.*;
+import org.apache.ignite.examples.*;
 import org.apache.ignite.examples.datagrid.*;
 import org.apache.ignite.lang.*;
 
@@ -31,7 +32,7 @@ import java.util.*;
  * Remote nodes should always be started with special configuration file which
  * enables P2P class loading: {@code 'ignite.{sh|bat} examples/config/example-cache.xml'}.
  * <p>
- * Alternatively you can run {@link CacheNodeStartup} in another JVM which will
+ * Alternatively you can run {@link ExampleNodeStartup} in another JVM which will
  * start node with {@code examples/config/example-cache.xml} configuration.
  */
 public class IgniteQueueExample {

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/4b0554ea/examples/src/main/java/org/apache/ignite/examples/datastructures/IgniteSetExample.java
----------------------------------------------------------------------
diff --git a/examples/src/main/java/org/apache/ignite/examples/datastructures/IgniteSetExample.java
b/examples/src/main/java/org/apache/ignite/examples/datastructures/IgniteSetExample.java
index 2976ccb..e1032c6 100644
--- a/examples/src/main/java/org/apache/ignite/examples/datastructures/IgniteSetExample.java
+++ b/examples/src/main/java/org/apache/ignite/examples/datastructures/IgniteSetExample.java
@@ -19,6 +19,7 @@ package org.apache.ignite.examples.datastructures;
 
 import org.apache.ignite.*;
 import org.apache.ignite.configuration.*;
+import org.apache.ignite.examples.*;
 import org.apache.ignite.examples.datagrid.*;
 import org.apache.ignite.lang.*;
 
@@ -30,7 +31,7 @@ import java.util.*;
  * Remote nodes should always be started with special configuration file which
  * enables P2P class loading: {@code 'ignite.{sh|bat} examples/config/example-cache.xml'}.
  * <p>
- * Alternatively you can run {@link CacheNodeStartup} in another JVM which will
+ * Alternatively you can run {@link ExampleNodeStartup} in another JVM which will
  * start node with {@code examples/config/example-cache.xml} configuration.
  */
 public class IgniteSetExample {

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/4b0554ea/examples/src/main/scala/org/apache/ignite/scalar/examples/ScalarCachePopularNumbersExample.scala
----------------------------------------------------------------------
diff --git a/examples/src/main/scala/org/apache/ignite/scalar/examples/ScalarCachePopularNumbersExample.scala
b/examples/src/main/scala/org/apache/ignite/scalar/examples/ScalarCachePopularNumbersExample.scala
index 98d9637..1f67422 100644
--- a/examples/src/main/scala/org/apache/ignite/scalar/examples/ScalarCachePopularNumbersExample.scala
+++ b/examples/src/main/scala/org/apache/ignite/scalar/examples/ScalarCachePopularNumbersExample.scala
@@ -20,7 +20,7 @@ package org.apache.ignite.scalar.examples
 import java.util.Timer
 
 import org.apache.ignite.IgniteException
-import org.apache.ignite.examples.datagrid.CacheNodeStartup
+import org.apache.ignite.examples.ExampleNodeStartup
 import org.apache.ignite.scalar.scalar
 import org.apache.ignite.scalar.scalar._
 
@@ -33,7 +33,7 @@ import collection.JavaConversions._
  * Remote nodes should always be started with special configuration file which
  * enables P2P class loading: `ignite.sh examples/config/example-cache.xml`
  * <p>
- * Alternatively you can run [[CacheNodeStartup]] in another JVM which will
+ * Alternatively you can run [[ExampleNodeStartup]] in another JVM which will
  * start node with `examples/config/example-cache.xml` configuration.
  * <p>
  * The counts are kept in cache on all remote nodes. Top `10` counts from each node are then
grabbed to produce


Mime
View raw message