You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by sb...@apache.org on 2015/02/02 16:25:15 UTC
[1/5] incubator-ignite git commit: #ignite-16: WIP.
Repository: incubator-ignite
Updated Branches:
refs/heads/ignite-106 efb915844 -> 796737a27
#ignite-16: WIP.
Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/d0444b79
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/d0444b79
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/d0444b79
Branch: refs/heads/ignite-106
Commit: d0444b79c5028074128f56f555b0414041dc878d
Parents: 9ea9607
Author: vozerov-gridgain <vo...@gridgain.com>
Authored: Fri Jan 30 17:05:00 2015 +0300
Committer: vozerov-gridgain <vo...@gridgain.com>
Committed: Fri Jan 30 17:05:00 2015 +0300
----------------------------------------------------------------------
.../configuration/IgniteConfiguration.java | 22 ----
.../ignite/internal/GridKernalContext.java | 8 --
.../ignite/internal/GridKernalContextImpl.java | 12 --
.../org/apache/ignite/internal/IgniteEx.java | 8 --
.../apache/ignite/internal/IgniteKernal.java | 7 --
.../org/apache/ignite/internal/IgnitionEx.java | 1 -
.../processors/cache/GridCacheStoreManager.java | 1 -
.../cache/GridCacheWriteBehindStore.java | 1 -
.../processors/interop/GridInteropAware.java | 49 ---------
.../interop/GridInteropProcessor.java | 82 --------------
.../interop/GridInteropProcessorAdapter.java | 31 ------
.../processors/interop/GridInteropTarget.java | 109 -------------------
.../interop/os/GridOsInteropProcessor.java | 80 --------------
.../internal/processors/interop/os/package.html | 23 ----
.../internal/processors/interop/package.html | 23 ----
.../plugin/IgnitePluginProcessor.java | 10 +-
16 files changed, 6 insertions(+), 461 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/d0444b79/modules/core/src/main/java/org/apache/ignite/configuration/IgniteConfiguration.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/configuration/IgniteConfiguration.java b/modules/core/src/main/java/org/apache/ignite/configuration/IgniteConfiguration.java
index 778ca62..e6d513b 100644
--- a/modules/core/src/main/java/org/apache/ignite/configuration/IgniteConfiguration.java
+++ b/modules/core/src/main/java/org/apache/ignite/configuration/IgniteConfiguration.java
@@ -389,9 +389,6 @@ public class IgniteConfiguration {
/** Transactions configuration. */
private TransactionsConfiguration txCfg = new TransactionsConfiguration();
- /** Interop configuration. */
- private InteropConfiguration interopCfg;
-
/** */
private Collection<? extends PluginConfiguration> pluginCfgs;
@@ -585,7 +582,6 @@ public class IgniteConfiguration {
hadoopCfg = cfg.getHadoopConfiguration();
inclEvtTypes = cfg.getIncludeEventTypes();
includeProps = cfg.getIncludeProperties();
- interopCfg = cfg.getInteropConfiguration() != null ? cfg.getInteropConfiguration().copy() : null;
jettyPath = cfg.getRestJettyPath();
licUrl = cfg.getLicenseUrl();
lifecycleBeans = cfg.getLifecycleBeans();
@@ -3117,24 +3113,6 @@ public class IgniteConfiguration {
}
/**
- * Gets interop configuration.
- *
- * @return Interop configuration.
- */
- @Nullable public InteropConfiguration getInteropConfiguration() {
- return interopCfg;
- }
-
- /**
- * Sets interop configuration.
- *
- * @param interopCfg Interop configuration.
- */
- public void setInteropConfiguration(@Nullable InteropConfiguration interopCfg) {
- this.interopCfg = interopCfg;
- }
-
- /**
* Gets transactions configuration.
*
* @return Transactions configuration.
http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/d0444b79/modules/core/src/main/java/org/apache/ignite/internal/GridKernalContext.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/GridKernalContext.java b/modules/core/src/main/java/org/apache/ignite/internal/GridKernalContext.java
index 17f3ec8..58923b6 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/GridKernalContext.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/GridKernalContext.java
@@ -43,7 +43,6 @@ import org.apache.ignite.internal.processors.continuous.*;
import org.apache.ignite.internal.processors.dataload.*;
import org.apache.ignite.internal.processors.email.*;
import org.apache.ignite.internal.processors.hadoop.*;
-import org.apache.ignite.internal.processors.interop.*;
import org.apache.ignite.internal.processors.job.*;
import org.apache.ignite.internal.processors.jobmetrics.*;
import org.apache.ignite.internal.processors.license.*;
@@ -330,13 +329,6 @@ public interface GridKernalContext extends Iterable<GridComponent> {
public GridPortableProcessor portable();
/**
- * Gets interop processor.
- *
- * @return Interop processor.
- */
- public GridInteropProcessor interop();
-
- /**
* Gets query processor.
*
* @return Query processor.
http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/d0444b79/modules/core/src/main/java/org/apache/ignite/internal/GridKernalContextImpl.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/GridKernalContextImpl.java b/modules/core/src/main/java/org/apache/ignite/internal/GridKernalContextImpl.java
index 88dbef6..13eb341 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/GridKernalContextImpl.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/GridKernalContextImpl.java
@@ -46,7 +46,6 @@ import org.apache.ignite.internal.processors.continuous.*;
import org.apache.ignite.internal.processors.dataload.*;
import org.apache.ignite.internal.processors.email.*;
import org.apache.ignite.internal.processors.hadoop.*;
-import org.apache.ignite.internal.processors.interop.*;
import org.apache.ignite.internal.processors.job.*;
import org.apache.ignite.internal.processors.jobmetrics.*;
import org.apache.ignite.internal.processors.license.*;
@@ -255,10 +254,6 @@ public class GridKernalContextImpl implements GridKernalContext, Externalizable
/** */
@GridToStringExclude
- private GridInteropProcessor interopProc;
-
- /** */
- @GridToStringExclude
private IgniteSpringProcessor spring;
/** */
@@ -444,8 +439,6 @@ public class GridKernalContextImpl implements GridKernalContext, Externalizable
hadoopProc = (IgniteHadoopProcessorAdapter)comp;
else if (comp instanceof GridPortableProcessor)
portableProc = (GridPortableProcessor)comp;
- else if (comp instanceof GridInteropProcessor)
- interopProc = (GridInteropProcessor)comp;
else if (comp instanceof IgnitePluginProcessor)
pluginProc = (IgnitePluginProcessor)comp;
else if (comp instanceof GridQueryProcessor)
@@ -697,11 +690,6 @@ public class GridKernalContextImpl implements GridKernalContext, Externalizable
}
/** {@inheritDoc} */
- @Override public GridInteropProcessor interop() {
- return interopProc;
- }
-
- /** {@inheritDoc} */
@Override public GridQueryProcessor query() {
return qryProc;
}
http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/d0444b79/modules/core/src/main/java/org/apache/ignite/internal/IgniteEx.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/IgniteEx.java b/modules/core/src/main/java/org/apache/ignite/internal/IgniteEx.java
index 6aa8bf5..aa94560 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/IgniteEx.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/IgniteEx.java
@@ -21,7 +21,6 @@ import org.apache.ignite.*;
import org.apache.ignite.cache.*;
import org.apache.ignite.internal.processors.cache.*;
import org.apache.ignite.lang.*;
-import org.apache.ignite.internal.processors.interop.*;
import org.jetbrains.annotations.*;
import java.util.*;
@@ -133,11 +132,4 @@ public interface IgniteEx extends Ignite, ClusterGroupEx, IgniteCluster {
* @return GGFS.
*/
@Nullable public IgniteFs ggfsx(@Nullable String name);
-
- /**
- * Gets interop processor.
- *
- * @return Interop processor.
- */
- public GridInteropProcessor interop();
}
http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/d0444b79/modules/core/src/main/java/org/apache/ignite/internal/IgniteKernal.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/IgniteKernal.java b/modules/core/src/main/java/org/apache/ignite/internal/IgniteKernal.java
index 7854bd9..0df86f9 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/IgniteKernal.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/IgniteKernal.java
@@ -56,7 +56,6 @@ import org.apache.ignite.internal.processors.closure.*;
import org.apache.ignite.internal.processors.continuous.*;
import org.apache.ignite.internal.processors.dataload.*;
import org.apache.ignite.internal.processors.email.*;
-import org.apache.ignite.internal.processors.interop.*;
import org.apache.ignite.internal.processors.job.*;
import org.apache.ignite.internal.processors.jobmetrics.*;
import org.apache.ignite.internal.processors.license.*;
@@ -742,7 +741,6 @@ public class IgniteKernal extends ClusterGroupAdapter implements IgniteEx, Ignit
startProcessor(ctx, new GridTaskProcessor(ctx), attrs);
startProcessor(ctx, (GridProcessor)SCHEDULE.createOptional(ctx), attrs);
startProcessor(ctx, createComponent(GridPortableProcessor.class, ctx), attrs);
- startProcessor(ctx, createComponent(GridInteropProcessor.class, ctx), attrs);
startProcessor(ctx, new GridRestProcessor(ctx), attrs);
startProcessor(ctx, new GridDataLoaderProcessor(ctx), attrs);
startProcessor(ctx, new GridStreamProcessor(ctx), attrs);
@@ -3104,11 +3102,6 @@ public class IgniteKernal extends ClusterGroupAdapter implements IgniteEx, Ignit
}
/** {@inheritDoc} */
- @Override public GridInteropProcessor interop() {
- return ctx.interop();
- }
-
- /** {@inheritDoc} */
@Override public <K> Map<ClusterNode, Collection<K>> mapKeysToNodes(String cacheName,
@Nullable Collection<? extends K> keys) throws IgniteCheckedException {
if (F.isEmpty(keys))
http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/d0444b79/modules/core/src/main/java/org/apache/ignite/internal/IgnitionEx.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/IgnitionEx.java b/modules/core/src/main/java/org/apache/ignite/internal/IgnitionEx.java
index d962de0..3857851 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/IgnitionEx.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/IgnitionEx.java
@@ -1418,7 +1418,6 @@ public class IgnitionEx {
myCfg.setSecurityCredentialsProvider(cfg.getSecurityCredentialsProvider());
myCfg.setServiceConfiguration(cfg.getServiceConfiguration());
myCfg.setWarmupClosure(cfg.getWarmupClosure());
- myCfg.setInteropConfiguration(cfg.getInteropConfiguration());
myCfg.setPluginConfigurations(cfg.getPluginConfigurations());
myCfg.setTransactionsConfiguration(new TransactionsConfiguration(cfg.getTransactionsConfiguration()));
myCfg.setQueryConfiguration(cfg.getQueryConfiguration());
http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/d0444b79/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheStoreManager.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheStoreManager.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheStoreManager.java
index 61408cb..f7fe02e 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheStoreManager.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheStoreManager.java
@@ -26,7 +26,6 @@ import org.apache.ignite.internal.util.*;
import org.apache.ignite.lang.*;
import org.apache.ignite.lifecycle.*;
import org.apache.ignite.transactions.*;
-import org.apache.ignite.internal.processors.interop.*;
import org.apache.ignite.internal.util.lang.*;
import org.apache.ignite.internal.util.typedef.*;
import org.apache.ignite.internal.util.typedef.internal.*;
http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/d0444b79/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheWriteBehindStore.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheWriteBehindStore.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheWriteBehindStore.java
index a31d3b5..4999ce0 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheWriteBehindStore.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheWriteBehindStore.java
@@ -24,7 +24,6 @@ import org.apache.ignite.internal.*;
import org.apache.ignite.lang.*;
import org.apache.ignite.lifecycle.*;
import org.apache.ignite.thread.*;
-import org.apache.ignite.internal.processors.interop.*;
import org.apache.ignite.internal.util.typedef.*;
import org.apache.ignite.internal.util.typedef.internal.*;
import org.apache.ignite.internal.util.tostring.*;
http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/d0444b79/modules/core/src/main/java/org/apache/ignite/internal/processors/interop/GridInteropAware.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/interop/GridInteropAware.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/interop/GridInteropAware.java
deleted file mode 100644
index 81035d8..0000000
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/interop/GridInteropAware.java
+++ /dev/null
@@ -1,49 +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.internal.processors.interop;
-
-import org.apache.ignite.*;
-import org.apache.ignite.internal.*;
-
-/**
- * Interface for interop-aware components.
- */
-public interface GridInteropAware {
- /**
- * Sets configuration parameters.
- *
- * @param params Configuration parameters.
- */
- public void configure(Object... params);
-
- /**
- * Initializes interop-aware component.
- *
- * @param ctx Context.
- * @throws IgniteCheckedException In case of error.
- */
- public void initialize(GridKernalContext ctx) throws IgniteCheckedException;
-
- /**
- * Destroys interop-aware component.
- *
- * @param ctx Context.
- * @throws IgniteCheckedException In case of error.
- */
- public void destroy(GridKernalContext ctx) throws IgniteCheckedException;
-}
http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/d0444b79/modules/core/src/main/java/org/apache/ignite/internal/processors/interop/GridInteropProcessor.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/interop/GridInteropProcessor.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/interop/GridInteropProcessor.java
deleted file mode 100644
index 33c841a..0000000
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/interop/GridInteropProcessor.java
+++ /dev/null
@@ -1,82 +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.internal.processors.interop;
-
-import org.apache.ignite.*;
-import org.apache.ignite.internal.processors.*;
-import org.jetbrains.annotations.*;
-
-/**
- * Interop processor.
- */
-public interface GridInteropProcessor extends GridProcessor {
- /**
- * Release start latch.
- */
- public void releaseStart();
-
- /**
- * Await start on native side.
- *
- * @throws IgniteCheckedException If failed.
- */
- public void awaitStart() throws IgniteCheckedException;
-
- /**
- * @return Environment pointer.
- */
- public long environmentPointer() throws IgniteCheckedException;
-
- /**
- * @return Grid name.
- */
- public String gridName();
-
- /**
- * Gets native wrapper for default Grid projection.
- *
- * @return Native compute wrapper.
- * @throws IgniteCheckedException If failed.
- */
- public GridInteropTarget projection() throws IgniteCheckedException;
-
- /**
- * Gets native wrapper for cache with the given name.
- *
- * @param name Cache name ({@code null} for default cache).
- * @return Native cache wrapper.
- * @throws IgniteCheckedException If failed.
- */
- public GridInteropTarget cache(@Nullable String name) throws IgniteCheckedException;
-
- /**
- * Gets native wrapper for data loader for cache with the given name.
- *
- * @param cacheName Cache name ({@code null} for default cache).
- * @return Native data loader wrapper.
- * @throws IgniteCheckedException If failed.
- */
- public GridInteropTarget dataLoader(@Nullable String cacheName) throws IgniteCheckedException;
-
- /**
- * Stops grid.
- *
- * @param cancel Cancel flag.
- */
- public void close(boolean cancel);
-}
http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/d0444b79/modules/core/src/main/java/org/apache/ignite/internal/processors/interop/GridInteropProcessorAdapter.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/interop/GridInteropProcessorAdapter.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/interop/GridInteropProcessorAdapter.java
deleted file mode 100644
index 91ea27e..0000000
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/interop/GridInteropProcessorAdapter.java
+++ /dev/null
@@ -1,31 +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.internal.processors.interop;
-
-import org.apache.ignite.internal.*;
-import org.apache.ignite.internal.processors.*;
-
-/**
- * Interop processor adapter.
- */
-public abstract class GridInteropProcessorAdapter extends GridProcessorAdapter implements GridInteropProcessor {
- /** {@inheritDoc} */
- protected GridInteropProcessorAdapter(GridKernalContext ctx) {
- super(ctx);
- }
-}
http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/d0444b79/modules/core/src/main/java/org/apache/ignite/internal/processors/interop/GridInteropTarget.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/interop/GridInteropTarget.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/interop/GridInteropTarget.java
deleted file mode 100644
index af8b5d2..0000000
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/interop/GridInteropTarget.java
+++ /dev/null
@@ -1,109 +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.internal.processors.interop;
-
-import org.apache.ignite.*;
-import org.apache.ignite.internal.processors.portable.*;
-import org.jetbrains.annotations.*;
-
-/**
- * Interop target abstraction.
- */
-public interface GridInteropTarget {
- /**
- * Synchronous IN operation.
- *
- * @param type Operation type.
- * @param stream Input stream.
- * @return Value specific for the given operation otherwise.
- * @throws IgniteCheckedException In case of failure.
- */
- public int inOp(int type, GridPortableInputStream stream) throws IgniteCheckedException;
-
- /**
- * Synchronous IN operation which returns managed object as result.
- *
- * @param type Operation type.
- * @param stream Input stream.
- * @return Managed result.
- * @throws IgniteCheckedException If case of failure.
- */
- public Object inOpObject(int type, GridPortableInputStream stream) throws IgniteCheckedException;
-
- /**
- * Synchronous OUT operation.
- *
- * @param type Operation type.
- * @param stream Native stream address.
- * @param arr Native array address.
- * @param cap Capacity.
- * @throws IgniteCheckedException In case of failure.
- */
- public void outOp(int type, long stream, long arr, int cap) throws IgniteCheckedException;
-
- /**
- * Synchronous IN-OUT operation.
- *
- * @param type Operation type.
- * @param inStream Input stream.
- * @param outStream Native stream address.
- * @param outArr Native array address.
- * @param outCap Capacity.
- * @throws IgniteCheckedException In case of failure.
- */
- public void inOutOp(int type, GridPortableInputStream inStream, long outStream, long outArr, int outCap)
- throws IgniteCheckedException;
-
- /**
- * Synchronous IN-OUT operation with optional argument.
- *
- * @param type Operation type.
- * @param inStream Input stream.
- * @param outStream Native stream address.
- * @param outArr Native array address.
- * @param outCap Capacity.
- * @param arg Argument (optional).
- * @throws IgniteCheckedException In case of failure.
- */
- public void inOutOp(int type, GridPortableInputStream inStream, long outStream, long outArr, int outCap,
- @Nullable Object arg) throws IgniteCheckedException;
-
- /**
- * Asynchronous IN operation.
- *
- * @param type Operation type.
- * @param futId Future ID.
- * @param in Input stream.
- * @throws IgniteCheckedException In case of failure.
- */
- public void inOpAsync(int type, long futId, GridPortableInputStream in) throws IgniteCheckedException;
-
- /**
- * Asynchronous IN-OUT operation.
- *
- * @param type Operation type.
- * @param futId Future ID.
- * @param in Input stream.
- * @param outStream Native stream address.
- * @param outArr Native array address.
- * @param outCap Capacity.
- * @throws IgniteCheckedException In case of failure.
- */
- public void inOutOpAsync(int type, long futId, GridPortableInputStream in, long outStream, long outArr, int outCap)
- throws IgniteCheckedException;
-}
http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/d0444b79/modules/core/src/main/java/org/apache/ignite/internal/processors/interop/os/GridOsInteropProcessor.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/interop/os/GridOsInteropProcessor.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/interop/os/GridOsInteropProcessor.java
deleted file mode 100644
index 6a592d1..0000000
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/interop/os/GridOsInteropProcessor.java
+++ /dev/null
@@ -1,80 +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.internal.processors.interop.os;
-
-import org.apache.ignite.*;
-import org.apache.ignite.internal.*;
-import org.apache.ignite.internal.processors.interop.*;
-import org.jetbrains.annotations.*;
-
-/**
- * OS interop processor.
- */
-public class GridOsInteropProcessor extends GridInteropProcessorAdapter {
- /** Common error message. */
- private static final String ERR_MSG = "Interop feature is not supported in OS edition.";
-
- /**
- * Constructor.
- *
- * @param ctx Context.
- */
- public GridOsInteropProcessor(GridKernalContext ctx) {
- super(ctx);
- }
-
- /** {@inheritDoc} */
- @Override public void releaseStart() {
- throw new UnsupportedOperationException(ERR_MSG);
- }
-
- /** {@inheritDoc} */
- @Override public void awaitStart() throws IgniteCheckedException {
- throw new UnsupportedOperationException(ERR_MSG);
- }
-
- /** {@inheritDoc} */
- @Override public long environmentPointer() throws IgniteCheckedException {
- throw new UnsupportedOperationException(ERR_MSG);
- }
-
- /** {@inheritDoc} */
- @Override public String gridName() {
- throw new UnsupportedOperationException(ERR_MSG);
- }
-
- /** {@inheritDoc} */
- @Override public void close(boolean cancel) {
- throw new UnsupportedOperationException(ERR_MSG);
- }
-
- /** {@inheritDoc} */
- @Override public GridInteropTarget projection() throws IgniteCheckedException {
- throw new UnsupportedOperationException(ERR_MSG);
- }
-
- /** {@inheritDoc} */
- @Override public GridInteropTarget cache(@Nullable String name) throws IgniteCheckedException {
- throw new UnsupportedOperationException(ERR_MSG);
- }
-
- /** {@inheritDoc} */
- @Override public GridInteropTarget dataLoader(@Nullable String cacheName) throws IgniteCheckedException {
- throw new UnsupportedOperationException(ERR_MSG);
- }
-}
http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/d0444b79/modules/core/src/main/java/org/apache/ignite/internal/processors/interop/os/package.html
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/interop/os/package.html b/modules/core/src/main/java/org/apache/ignite/internal/processors/interop/os/package.html
deleted file mode 100644
index 20815a0..0000000
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/interop/os/package.html
+++ /dev/null
@@ -1,23 +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.
- -->
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html>
-<body>
- <!-- Package description. -->
- No-op implementation of interop processor.
-</body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/d0444b79/modules/core/src/main/java/org/apache/ignite/internal/processors/interop/package.html
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/interop/package.html b/modules/core/src/main/java/org/apache/ignite/internal/processors/interop/package.html
deleted file mode 100644
index 57a4e47..0000000
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/interop/package.html
+++ /dev/null
@@ -1,23 +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.
- -->
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html>
-<body>
- <!-- Package description. -->
- Interop processor.
-</body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/d0444b79/modules/core/src/main/java/org/apache/ignite/internal/processors/plugin/IgnitePluginProcessor.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/plugin/IgnitePluginProcessor.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/plugin/IgnitePluginProcessor.java
index 5d3ad42..9cd7943 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/plugin/IgnitePluginProcessor.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/plugin/IgnitePluginProcessor.java
@@ -132,8 +132,9 @@ public class IgnitePluginProcessor extends GridProcessorAdapter {
* @param name Plugin name.
* @return Plugin provider.
*/
- @Nullable public PluginProvider pluginProvider(String name) {
- return plugins.get(name);
+ @SuppressWarnings("unchecked")
+ @Nullable public <T extends PluginProvider> T pluginProvider(String name) {
+ return (T)plugins.get(name);
}
/**
@@ -147,8 +148,9 @@ public class IgnitePluginProcessor extends GridProcessorAdapter {
* @param provider Plugin context.
* @return Plugin context.
*/
- public PluginContext pluginContextForProvider(PluginProvider provider) {
- return pluginCtxMap.get(provider);
+ @SuppressWarnings("unchecked")
+ public <T extends PluginContext> T pluginContextForProvider(PluginProvider provider) {
+ return (T)pluginCtxMap.get(provider);
}
/**
[2/5] incubator-ignite git commit: Merge branch 'sprint-1' into
ignite-16
Posted by sb...@apache.org.
Merge branch 'sprint-1' into ignite-16
Conflicts:
modules/yardstick/src/main/java/org/apache/ignite/yardstick/cache/model/SampleValue.java
Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/2636e2c1
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/2636e2c1
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/2636e2c1
Branch: refs/heads/ignite-106
Commit: 2636e2c1163fac1b86fbcbe0fcec8d4dadaf8aea
Parents: d0444b7 61a70d9
Author: vozerov-gridgain <vo...@gridgain.com>
Authored: Mon Feb 2 13:31:31 2015 +0300
Committer: vozerov-gridgain <vo...@gridgain.com>
Committed: Mon Feb 2 13:31:31 2015 +0300
----------------------------------------------------------------------
assembly/libs/readme.txt | 4 +-
assembly/release-base-fabric.xml | 4 +-
assembly/release-base.xml | 6 +-
assembly/release-hadoop.xml | 6 +-
bin/ggrouter.bat | 33 -
bin/ggrouter.sh | 50 -
bin/ggstart.bat | 228 -
bin/ggstart.sh | 176 -
bin/ggvisorcmd.bat | 144 -
bin/ggvisorcmd.sh | 124 -
bin/ignite.bat | 228 +
bin/ignite.sh | 176 +
bin/igniterouter.bat | 33 +
bin/igniterouter.sh | 50 +
bin/ignitevisorcmd.bat | 144 +
bin/ignitevisorcmd.sh | 124 +
bin/include/functions.sh | 42 +-
bin/include/hadoop-classpath.bat | 2 +-
bin/include/hadoop-classpath.sh | 4 +-
bin/include/parseargs.bat | 2 +-
bin/include/parseargs.sh | 6 +-
bin/include/service.sh | 12 +-
bin/include/setenv.bat | 28 +-
bin/include/setenv.sh | 34 +-
bin/include/target-classpath.bat | 8 +-
bin/include/target-classpath.sh | 14 +-
bin/setup-hadoop.bat | 2 +-
bin/setup-hadoop.sh | 12 +-
config/gridgain-log4j.xml | 152 -
config/hadoop/default-config.xml | 2 +-
config/ignite-log4j.xml | 152 +
config/java.util.logging.properties | 16 +-
config/router/default-router.xml | 2 +-
docs/hadoop_readme.md | 6 +-
docs/ignite_readme.md | 12 +-
docs/mapred-site.ignite.xml | 2 +-
examples/config/example-cache.xml | 2 +-
examples/config/example-streamer.xml | 8 +-
examples/config/filesystem/example-ggfs.xml | 2 +-
examples/config/servlet/WEB-INF/web.xml | 4 +-
examples/rest/http-rest-example.php | 2 +-
examples/rest/memcache-rest-example.php | 2 +-
.../compute/ComputeBroadcastExample.java | 2 +-
.../compute/ComputeCallableExample.java | 2 +-
.../examples/compute/ComputeClosureExample.java | 2 +-
.../compute/ComputeContinuousMapperExample.java | 2 +-
.../compute/ComputeExecutorServiceExample.java | 2 +-
.../ComputeFibonacciContinuationExample.java | 2 +-
.../compute/ComputeProjectionExample.java | 2 +-
.../examples/compute/ComputeReducerExample.java | 2 +-
.../compute/ComputeRunnableExample.java | 2 +-
.../compute/ComputeScheduleExample.java | 2 +-
.../examples/compute/ComputeTaskMapExample.java | 2 +-
.../compute/ComputeTaskSplitExample.java | 2 +-
.../compute/montecarlo/CreditRiskExample.java | 2 +-
.../examples/datagrid/CacheAffinityExample.java | 2 +-
.../examples/datagrid/CacheApiExample.java | 2 +-
.../datagrid/CacheContinuousQueryExample.java | 2 +-
.../datagrid/CacheDataLoaderExample.java | 2 +-
.../examples/datagrid/CacheEventsExample.java | 2 +-
.../datagrid/CachePopularNumbersExample.java | 2 +-
.../examples/datagrid/CachePutGetExample.java | 2 +-
.../examples/datagrid/CacheQueryExample.java | 2 +-
.../datagrid/CacheTransactionExample.java | 2 +-
.../datastructures/CacheAtomicLongExample.java | 2 +-
.../CacheAtomicReferenceExample.java | 2 +-
.../CacheAtomicSequenceExample.java | 2 +-
.../CacheAtomicStampedExample.java | 2 +-
.../CacheCountDownLatchExample.java | 2 +-
.../datastructures/CacheQueueExample.java | 2 +-
.../datastructures/CacheSetExample.java | 2 +-
.../hibernate/HibernateL2CacheExample.java | 2 +-
.../starschema/CacheStarSchemaExample.java | 2 +-
.../ignite/examples/events/EventsExample.java | 2 +-
.../ignite/examples/ggfs/GgfsExample.java | 2 +-
.../examples/ggfs/GgfsMapReduceExample.java | 2 +-
.../ignite/examples/ggfs/GgfsNodeStartup.java | 4 +-
.../examples/messaging/MessagingExample.java | 2 +-
.../messaging/MessagingPingPongExample.java | 2 +-
.../MessagingPingPongListenActorExample.java | 2 +-
.../misc/deployment/DeploymentExample.java | 2 +-
.../misc/springbean/SpringBeanExample.java | 2 +-
.../examples/services/ServicesExample.java | 2 +-
.../streaming/StreamingCheckInExample.java | 8 +-
.../StreamingPopularNumbersExample.java | 8 +-
.../streaming/StreamingPriceBarsExample.java | 8 +-
.../StreamingRunningAverageExample.java | 8 +-
.../apache/ignite/examples/ComputeExample.java | 59 +
.../ignite/examples/MessagingExample.java | 166 +
.../org/gridgain/examples/ComputeExample.java | 59 -
.../org/gridgain/examples/MessagingExample.java | 166 -
.../examples/ScalarCacheAffinityExample1.scala | 2 +-
.../examples/ScalarCacheAffinityExample2.scala | 2 +-
.../ScalarCacheAffinitySimpleExample.scala | 2 +-
.../scalar/examples/ScalarCacheExample.scala | 2 +-
.../ScalarCachePopularNumbersExample.scala | 2 +-
.../examples/ScalarCacheQueryExample.scala | 2 +-
.../scalar/examples/ScalarClosureExample.scala | 2 +-
.../examples/ScalarContinuationExample.scala | 2 +-
.../examples/ScalarCreditRiskExample.scala | 2 +-
.../examples/ScalarPiCalculationExample.scala | 2 +-
.../scalar/examples/ScalarPingPongExample.scala | 2 +-
.../scalar/examples/ScalarPrimeExample.scala | 2 +-
.../scalar/examples/ScalarScheduleExample.scala | 2 +-
.../examples/ScalarSnowflakeSchemaExample.scala | 2 +-
.../scalar/examples/ScalarTaskExample.scala | 2 +-
.../examples/ScalarWorldShortestMapReduce.scala | 2 +-
.../GridMonteCarloExamplesSelfTest.java | 4 +-
.../testsuites/IgniteExamplesSelfTestSuite.java | 2 +-
.../ScalarExamplesSelfTestSuite.scala | 2 +-
ipc/shmem/Makefile.am | 2 +-
ipc/shmem/Makefile.in | 2 +-
ipc/shmem/configure | 4 +-
ipc/shmem/configure.ac | 2 +-
ipc/shmem/ggshmem/Makefile.am | 23 -
ipc/shmem/ggshmem/Makefile.in | 589 -
..._util_ipc_shmem_GridIpcSharedMemoryUtils.cpp | 882 --
ipc/shmem/igniteshmem/Makefile.am | 23 +
ipc/shmem/igniteshmem/Makefile.in | 589 +
...rnal_util_ipc_shmem_IpcSharedMemoryUtils.cpp | 882 ++
ipc/shmem/include/Makefile.am | 2 +-
ipc/shmem/include/Makefile.in | 2 +-
...ternal_util_ipc_shmem_IpcSharedMemoryUtils.h | 117 +
...id_util_ipc_shmem_GridIpcSharedMemoryUtils.h | 117 -
ipc/shmem/readme.txt | 9 +-
modules/aop/readme.txt | 2 +-
.../GridifySetToXXXNonSpringAopSelfTest.java | 20 +-
.../GridifySetToXXXSpringAopSelfTest.java | 20 +-
.../ignite/gridify/NonSpringAopSelfTest.java | 20 +-
.../optimized/OptimizedMarshallerAopTest.java | 4 +-
.../testsuites/IgniteAopSelfTestSuite.java | 2 +-
.../gridify/ExternalNonSpringAopSelfTest.java | 20 +-
modules/aws/readme.txt | 2 +-
.../spi/checkpoint/s3/S3CheckpointSpi.java | 4 +-
modules/clients/src/test/bin/start-nodes-ssh.sh | 2 +-
modules/clients/src/test/bin/start-nodes.cmd | 24 +-
modules/clients/src/test/bin/start-nodes.sh | 34 +-
.../client/ClientDefaultCacheSelfTest.java | 4 +-
.../client/ClientTopologyCacheSelfTest.java | 2 +-
.../ClientPropertiesConfigurationSelfTest.java | 4 +-
.../integration/ClientAbstractSelfTest.java | 6 +-
.../client/router/ClientFailedInitSelfTest.java | 4 +-
.../client/router/RouterFactorySelfTest.java | 4 +-
.../JettyRestProcessorAbstractSelfTest.java | 4 +-
.../rest/RestBinaryProtocolSelfTest.java | 2 +-
.../rest/TaskCommandHandlerSelfTest.java | 4 +-
.../protocols/tcp/TcpRestParserSelfTest.java | 6 +-
.../src/test/resources/jetty/rest-jetty-ssl.xml | 10 +-
.../src/test/resources/jetty/rest-jetty.xml | 8 +-
.../test/resources/jetty/router-jetty-ssl.xml | 8 +-
.../src/test/resources/jetty/router-jetty.xml | 8 +-
modules/clients/src/test/resources/log4j.xml | 4 +-
.../clients/src/test/resources/spring-cache.xml | 2 +-
.../src/test/resources/spring-router-ssl.xml | 4 +-
.../src/test/resources/spring-router.xml | 4 +-
.../src/test/resources/spring-server-node.xml | 2 +-
.../test/resources/spring-server-ssl-node.xml | 2 +-
.../java/META-INF/native/linux64/libggshmem.so | Bin 138023 -> 0 bytes
.../META-INF/native/linux64/libigniteshmem.so | Bin 0 -> 138345 bytes
.../java/META-INF/native/osx/libggshmem.dylib | Bin 32940 -> 0 bytes
.../META-INF/native/osx/libigniteshmem.dylib | Bin 0 -> 33116 bytes
.../apache/ignite/IgniteBasicWarmupClosure.java | 6 +-
.../apache/ignite/IgniteCheckedException.java | 2 +-
.../java/org/apache/ignite/IgniteCluster.java | 6 +-
.../java/org/apache/ignite/IgniteException.java | 2 +-
.../main/java/org/apache/ignite/IgniteFs.java | 4 +-
.../java/org/apache/ignite/IgniteLogger.java | 6 +-
.../apache/ignite/IgniteSystemProperties.java | 192 +-
.../main/java/org/apache/ignite/Ignition.java | 16 +-
.../apache/ignite/cache/CacheConfiguration.java | 3 +-
.../CacheConsistentHashAffinityFunction.java | 2 +-
.../apache/ignite/cache/query/CacheQuery.java | 3 +-
.../cache/query/CacheQuerySqlFunction.java | 4 +-
.../cache/query/annotations/QuerySqlField.java | 2 +-
.../query/annotations/QuerySqlFunction.java | 2 +-
.../apache/ignite/cache/store/CacheStore.java | 2 +-
.../apache/ignite/client/GridClientCompute.java | 8 +-
.../ignite/client/router/GridRouterFactory.java | 4 +-
.../impl/GridRouterCommandLineStartup.java | 4 +-
.../router/impl/GridTcpRouterNioParser.java | 4 +-
.../apache/ignite/compute/gridify/Gridify.java | 2 +-
.../ignite/compute/gridify/GridifySetToSet.java | 4 +-
.../compute/gridify/GridifySetToValue.java | 4 +-
.../ClientConnectionConfiguration.java | 16 +-
.../configuration/GridQueryConfiguration.java | 201 -
.../configuration/IgniteConfiguration.java | 80 +-
.../configuration/IgniteDeploymentMode.java | 4 +-
.../configuration/IgniteQueryConfiguration.java | 201 +
.../apache/ignite/fs/IgniteFsConfiguration.java | 2 +-
.../ignite/internal/GridKernalContextImpl.java | 2 +-
.../apache/ignite/internal/GridLoggerProxy.java | 4 +-
.../internal/GridPerformanceSuggestions.java | 4 +-
.../apache/ignite/internal/GridProductImpl.java | 2 +-
.../ignite/internal/IgniteInternalFuture.java | 8 +-
.../apache/ignite/internal/IgniteKernal.java | 32 +-
.../org/apache/ignite/internal/IgnitionEx.java | 54 +-
.../GridDeploymentPerLoaderStore.java | 20 +-
.../GridDeploymentPerVersionStore.java | 4 +-
.../processors/cache/GridCacheAdapter.java | 23 +-
.../cache/GridCacheDeploymentManager.java | 163 +-
.../cache/GridCacheMvccCandidate.java | 4 +-
.../GridCachePartitionExchangeManager.java | 2 +-
.../cache/GridCachePreloaderAdapter.java | 2 +-
.../processors/cache/GridCacheProcessor.java | 9 +-
.../processors/cache/GridCacheStoreManager.java | 49 +-
.../processors/cache/GridCacheSwapManager.java | 3 +-
.../processors/cache/GridCacheUtils.java | 2 +-
.../cache/GridCacheWriteBehindStore.java | 19 +-
.../processors/cache/IgniteCacheProxy.java | 24 +-
.../distributed/dht/GridDhtLocalPartition.java | 2 +-
.../dht/GridPartitionedGetFuture.java | 2 +-
.../dht/atomic/GridDhtAtomicCache.java | 4 +-
.../preloader/GridDhtPartitionDemandPool.java | 2 +-
.../distributed/near/GridNearAtomicCache.java | 2 +-
.../distributed/near/GridNearGetFuture.java | 2 +-
.../transactions/IgniteTxLocalAdapter.java | 42 +-
.../cache/transactions/IgniteTxManager.java | 10 +-
.../internal/processors/fs/GridGgfsServer.java | 26 +-
.../processors/fs/GridGgfsServerManager.java | 8 +-
.../processors/fs/IgniteFsNoopProcessor.java | 2 +-
.../processors/fs/IgniteFsProcessor.java | 12 +-
.../processors/fs/IgniteFsProcessorAdapter.java | 2 +-
.../processors/job/GridJobProcessor.java | 2 +-
.../jobmetrics/GridJobMetricsProcessor.java | 4 +-
.../handlers/log/GridLogCommandHandler.java | 4 +-
.../handlers/task/GridTaskCommandHandler.java | 2 +-
.../protocols/tcp/GridClientPacketType.java | 4 +-
.../protocols/tcp/GridMemcachedMessage.java | 4 +-
.../rest/protocols/tcp/GridTcpRestParser.java | 18 +-
.../service/GridServiceProcessor.java | 2 +-
.../streamer/GridStreamProcessor.java | 11 +-
.../processors/streamer/IgniteStreamerEx.java | 3 +-
.../processors/streamer/IgniteStreamerImpl.java | 5 +-
.../internal/util/GridConcurrentFactory.java | 3 +-
.../internal/util/GridConfigurationFinder.java | 4 +-
.../internal/util/GridReflectionCache.java | 3 +-
.../apache/ignite/internal/util/GridUtils.java | 9100 -----------
.../ignite/internal/util/IgniteUtils.java | 9141 +++++++++++
.../util/future/GridFinishedFuture.java | 2 +-
.../internal/util/future/GridFutureAdapter.java | 4 +-
.../internal/util/io/GridUnsafeDataInput.java | 2 +-
.../internal/util/io/GridUnsafeDataOutput.java | 2 +-
.../internal/util/ipc/GridIpcEndpoint.java | 49 -
.../util/ipc/GridIpcEndpointBindException.java | 47 -
.../util/ipc/GridIpcEndpointFactory.java | 84 -
.../internal/util/ipc/GridIpcEndpointType.java | 29 -
.../util/ipc/GridIpcServerEndpoint.java | 73 -
.../ipc/GridIpcServerEndpointDeserializer.java | 66 -
.../internal/util/ipc/GridIpcToNioAdapter.java | 250 -
.../ignite/internal/util/ipc/IpcEndpoint.java | 49 +
.../util/ipc/IpcEndpointBindException.java | 47 +
.../internal/util/ipc/IpcEndpointFactory.java | 84 +
.../internal/util/ipc/IpcEndpointType.java | 29 +
.../internal/util/ipc/IpcServerEndpoint.java | 73 +
.../util/ipc/IpcServerEndpointDeserializer.java | 66 +
.../internal/util/ipc/IpcToNioAdapter.java | 250 +
.../ipc/loopback/GridIpcClientTcpEndpoint.java | 87 -
.../ipc/loopback/GridIpcServerTcpEndpoint.java | 179 -
.../util/ipc/loopback/IpcClientTcpEndpoint.java | 87 +
.../util/ipc/loopback/IpcServerTcpEndpoint.java | 179 +
.../GridIpcOutOfSystemResourcesException.java | 59 -
.../GridIpcSharedMemoryClientEndpoint.java | 336 -
.../shmem/GridIpcSharedMemoryInitRequest.java | 67 -
.../shmem/GridIpcSharedMemoryInitResponse.java | 171 -
.../shmem/GridIpcSharedMemoryInputStream.java | 99 -
.../shmem/GridIpcSharedMemoryNativeLoader.java | 242 -
...cSharedMemoryOperationTimedoutException.java | 59 -
.../shmem/GridIpcSharedMemoryOutputStream.java | 80 -
.../GridIpcSharedMemoryServerEndpoint.java | 707 -
.../ipc/shmem/GridIpcSharedMemorySpace.java | 374 -
.../ipc/shmem/GridIpcSharedMemoryUtils.java | 242 -
.../shmem/IpcOutOfSystemResourcesException.java | 59 +
.../shmem/IpcSharedMemoryClientEndpoint.java | 336 +
.../ipc/shmem/IpcSharedMemoryInitRequest.java | 67 +
.../ipc/shmem/IpcSharedMemoryInitResponse.java | 171 +
.../ipc/shmem/IpcSharedMemoryInputStream.java | 99 +
.../ipc/shmem/IpcSharedMemoryNativeLoader.java | 261 +
...cSharedMemoryOperationTimedoutException.java | 59 +
.../ipc/shmem/IpcSharedMemoryOutputStream.java | 80 +
.../shmem/IpcSharedMemoryServerEndpoint.java | 707 +
.../util/ipc/shmem/IpcSharedMemorySpace.java | 374 +
.../util/ipc/shmem/IpcSharedMemoryUtils.java | 242 +
.../internal/util/nio/GridBufferedParser.java | 2 +-
.../nio/GridConnectionBytesVerifyFilter.java | 18 +-
.../util/nio/GridShmemCommunicationClient.java | 4 +-
.../util/nodestart/GridNodeStartUtils.java | 10 +-
.../util/offheap/unsafe/GridUnsafeMemory.java | 2 +-
.../util/portscanner/GridJmxPortFinder.java | 4 +-
.../apache/ignite/internal/util/typedef/X.java | 4 +-
.../internal/util/typedef/internal/U.java | 4 +-
.../visor/misc/VisorResolveHostNameTask.java | 2 +-
.../visor/node/VisorBasicConfiguration.java | 26 +-
.../visor/node/VisorEmailConfiguration.java | 14 +-
.../visor/node/VisorLifecycleConfiguration.java | 2 +-
.../visor/node/VisorNodeDataCollectorJob.java | 4 +-
.../visor/node/VisorRestConfiguration.java | 4 +-
.../internal/visor/query/VisorQueryUtils.java | 4 +-
.../apache/ignite/jdbc/IgniteJdbcDriver.java | 2 +-
.../ignite/lang/IgniteAsyncSupportAdapter.java | 27 +-
.../apache/ignite/lifecycle/LifecycleBean.java | 4 +-
.../ignite/logger/java/IgniteJavaLogger.java | 4 +-
.../java/IgniteJavaLoggerFileHandler.java | 4 +-
.../optimized/IgniteOptimizedMarshaller.java | 4 +-
.../segmentation/GridSegmentationPolicy.java | 2 +-
.../org/apache/ignite/spi/IgniteSpiAdapter.java | 4 +-
.../ignite/spi/IgniteSpiManagementMBean.java | 2 +-
.../ignite/spi/checkpoint/CheckpointSpi.java | 2 +-
.../sharedfs/SharedFsCheckpointSpi.java | 6 +-
.../communication/tcp/TcpCommunicationSpi.java | 36 +-
.../ignite/spi/deployment/DeploymentSpi.java | 2 +-
.../spi/discovery/tcp/TcpDiscoverySpi.java | 4 +-
.../discovery/tcp/TcpDiscoverySpiAdapter.java | 2 +-
.../TcpDiscoveryMulticastIpFinder.java | 18 +-
.../sharedfs/TcpDiscoverySharedFsIpFinder.java | 2 +-
.../tcp/ipfinder/vm/TcpDiscoveryVmIpFinder.java | 2 +-
.../spi/swapspace/file/FileSwapSpaceSpi.java | 4 +-
.../ignite/startup/BasicWarmupClosure.java | 6 +-
.../startup/cmdline/CommandLineStartup.java | 18 +-
.../startup/cmdline/CommandLineTransformer.java | 8 +-
.../ignite/thread/IgniteThreadFactory.java | 2 +-
.../apache/ignite/transactions/IgniteTx.java | 2 +-
.../core/src/test/bin/start-nodes-custom.bat | 2 +-
modules/core/src/test/bin/start-nodes-custom.sh | 2 +-
.../spring-cache-client-benchmark-1.xml | 2 +-
.../spring-cache-client-benchmark-2.xml | 2 +-
.../spring-cache-client-benchmark-3.xml | 2 +-
modules/core/src/test/config/example-cache.xml | 2 +-
modules/core/src/test/config/ggfs-loopback.xml | 2 +-
modules/core/src/test/config/ggfs-shmem.xml | 2 +-
modules/core/src/test/config/log4j-test.xml | 2 +-
.../core/src/test/config/spring-cache-load.xml | 2 +-
.../core/src/test/config/spring-multicache.xml | 2 +-
.../average/spring-streamer-average-base.xml | 2 +-
.../average/spring-streamer-average-local.xml | 2 +-
.../average/spring-streamer-average-random.xml | 2 +-
.../config/streamer/spring-streamer-base.xml | 2 +-
modules/core/src/test/config/tests.properties | 10 +-
.../IgniteExceptionHelpLinksSelfTest.java | 3 +-
.../GridEventStorageCheckAllEventsSelfTest.java | 2 +-
.../internal/GridFactoryVmShutdownTest.java | 2 +-
.../ignite/internal/GridHomePathSelfTest.java | 2 +-
.../GridNodeVisorAttributesSelfTest.java | 4 +-
.../ignite/internal/GridStartStopSelfTest.java | 2 +-
.../ignite/internal/GridVersionSelfTest.java | 8 +-
.../cache/GridCacheAbstractMetricsSelfTest.java | 10 +-
.../GridCacheAbstractProjectionSelfTest.java | 50 +
.../GridCacheAbstractRemoveFailureTest.java | 6 +-
.../GridCacheMissingCommitVersionSelfTest.java | 6 +-
.../cache/GridCachePutAllFailoverSelfTest.java | 4 +-
.../GridCacheReturnValueTransferSelfTest.java | 2 +-
.../cache/GridCacheSlowTxWarnTest.java | 2 +-
...idCacheValueConsistencyAbstractSelfTest.java | 6 +-
.../cache/IgniteCacheInvokeAbstractTest.java | 4 +-
.../GridCacheMultiNodeDataStructureTest.java | 4 +-
.../GridCacheNodeFailureAbstractTest.java | 2 +-
.../IgniteCrossCacheTxStoreSelfTest.java | 288 +
...GridCacheValueConsistencyAtomicSelfTest.java | 2 +-
.../GridCachePartitionedTxSalvageSelfTest.java | 6 +-
.../IgniteCacheTxStoreSessionTest.java | 11 +-
...IpcEndpointRegistrationAbstractSelfTest.java | 4 +-
...pcEndpointRegistrationOnWindowsSelfTest.java | 4 +-
.../cache/GridCacheCommandHandlerSelfTest.java | 10 +-
...artupWithSpecifiedWorkDirectorySelfTest.java | 4 +-
...tartupWithUndefinedGridGainHomeSelfTest.java | 10 +-
.../internal/util/GridTestClockTimer.java | 6 +-
.../ignite/internal/util/GridUtilsSelfTest.java | 717 -
.../internal/util/IgniteUtilsSelfTest.java | 728 +
...GridUnsafeDataOutputArraySizingSelfTest.java | 2 +-
...idIpcServerEndpointDeserializerSelfTest.java | 160 -
.../IpcServerEndpointDeserializerSelfTest.java | 160 +
.../ipc/shmem/GgfsSharedMemoryTestClient.java | 76 +
.../ipc/shmem/GgfsSharedMemoryTestServer.java | 71 +
.../shmem/GridGgfsSharedMemoryTestClient.java | 76 -
.../shmem/GridGgfsSharedMemoryTestServer.java | 71 -
...idIpcSharedMemoryCrashDetectionSelfTest.java | 500 -
.../shmem/GridIpcSharedMemoryFakeClient.java | 36 -
.../shmem/GridIpcSharedMemoryNodeStartup.java | 87 -
.../shmem/GridIpcSharedMemorySpaceSelfTest.java | 267 -
.../shmem/GridIpcSharedMemoryUtilsSelfTest.java | 84 -
.../IpcSharedMemoryCrashDetectionSelfTest.java | 500 +
.../ipc/shmem/IpcSharedMemoryFakeClient.java | 36 +
.../IpcSharedMemoryNativeLoaderSelfTest.java | 78 +
.../ipc/shmem/IpcSharedMemoryNodeStartup.java | 87 +
.../ipc/shmem/IpcSharedMemorySpaceSelfTest.java | 267 +
.../ipc/shmem/IpcSharedMemoryUtilsSelfTest.java | 84 +
.../LoadWithCorruptedLibFileTestRunner.java | 65 +
.../GridIpcSharedMemoryBenchmarkParty.java | 35 -
.../GridIpcSharedMemoryBenchmarkReader.java | 133 -
.../GridIpcSharedMemoryBenchmarkWriter.java | 125 -
.../IpcSharedMemoryBenchmarkParty.java | 35 +
.../IpcSharedMemoryBenchmarkReader.java | 133 +
.../IpcSharedMemoryBenchmarkWriter.java | 125 +
.../ignite/lang/GridSetWrapperSelfTest.java | 2 +-
.../loadtest/GridSingleExecutionTest.java | 4 +-
.../cache/GridCacheAbstractLoadTest.java | 2 +-
.../cache/GridCacheDataStructuresLoadTest.java | 2 +-
.../loadtests/cache/GridCacheLoadTest.java | 2 +-
.../capacity/spring-capacity-cache.xml | 2 +-
.../loadtests/colocation/spring-colocation.xml | 2 +-
.../GridContinuousOperationsLoadTest.java | 18 +-
.../loadtests/mapper/GridNodeStartup.java | 4 +-
.../loadtests/nio/GridNioBenchmarkTest.java | 2 +-
.../streamer/GridStreamerIndexLoadTest.java | 2 +-
.../ignite/loadtests/util/GridLoadTestArgs.java | 8 +-
.../ignite/messaging/GridMessagingSelfTest.java | 2 +-
.../startup/GridRandomCommandLineLoader.java | 10 +-
.../ignite/startup/GridVmNodesStarter.java | 8 +-
.../GridCommandLineTransformerSelfTest.java | 6 +-
.../ignite/testframework/GridTestUtils.java | 10 +-
.../config/GridTestProperties.java | 16 +-
.../testframework/junits/GridAbstractTest.java | 4 +-
.../logger/GridLog4jRollingFileAppender.java | 4 +-
.../junits/logger/GridTestLog4jLogger.java | 8 +-
.../ignite/testsuites/IgniteCacheTestSuite.java | 1 +
.../ignite/testsuites/IgniteFsTestSuite.java | 2 +-
.../IgniteIpcSharedMemorySelfTestSuite.java | 7 +-
.../testsuites/IgniteUtilSelfTestSuite.java | 2 +-
.../src/test/resources/log/gridgain.log.tst | 13706 -----------------
.../core/src/test/resources/log/ignite.log.tst | 13706 +++++++++++++++++
.../core/src/test/webapp/META-INF/gg-config.xml | 2 +-
modules/core/src/test/webapp/WEB-INF/web.xml | 2 +-
modules/email/readme.txt | 2 +-
modules/hadoop/readme.txt | 2 +-
.../fs/hadoop/v1/GridGgfsHadoopFileSystem.java | 6 +-
.../fs/hadoop/v2/GridGgfsHadoopFileSystem.java | 6 +-
.../apache/ignite/hadoop/GridHadoopSetup.java | 16 +-
.../internal/fs/hadoop/GridGgfsHadoopIpcIo.java | 10 +-
.../hadoop/GridHadoopClassLoader.java | 4 +-
.../GridHadoopExternalTaskExecutor.java | 2 +-
.../child/GridHadoopExternalProcessStarter.java | 2 +-
.../GridHadoopExternalCommunication.java | 26 +-
.../GridHadoopIpcToNioAdapter.java | 6 +-
...doop20FileSystemLoopbackPrimarySelfTest.java | 2 +-
...sHadoop20FileSystemShmemPrimarySelfTest.java | 2 +-
.../GridGgfsHadoopFileSystemClientSelfTest.java | 2 +-
...idGgfsHadoopFileSystemHandshakeSelfTest.java | 2 +-
...ridGgfsHadoopFileSystemIpcCacheSelfTest.java | 2 +-
...adoopFileSystemLoopbackAbstractSelfTest.java | 2 +-
...fsHadoopFileSystemShmemAbstractSelfTest.java | 8 +-
.../fs/GridGgfsNearOnlyMultiNodeSelfTest.java | 4 +-
.../ignite/fs/IgniteFsEventsTestSuite.java | 4 +-
.../hadoop/GridHadoopPopularWordsTest.java | 6 +-
.../hadoop/GridHadoopCommandLineTest.java | 4 +-
modules/hibernate/readme.txt | 2 +-
.../hibernate/CacheHibernateBlobStore.java | 593 +
.../CacheHibernateBlobStoreEntry.hbm.xml | 29 +
.../hibernate/CacheHibernateBlobStoreEntry.java | 86 +
.../hibernate/GridCacheHibernateBlobStore.java | 593 -
.../GridCacheHibernateBlobStoreEntry.hbm.xml | 29 -
.../GridCacheHibernateBlobStoreEntry.java | 86 -
...idHibernateL2CacheTransactionalSelfTest.java | 2 +-
.../CacheHibernateBlobStoreSelfTest.java | 108 +
.../GridCacheHibernateBlobStoreSelfTest.java | 108 -
.../cache/store/hibernate/hibernate.cfg.xml | 2 +-
.../testsuites/IgniteHibernateTestSuite.java | 2 +-
modules/indexing/readme.txt | 2 +-
.../processors/query/h2/IgniteH2Indexing.java | 8 +-
.../cache/GridCacheAbstractQuerySelfTest.java | 2 +-
.../GridCacheQueryMultiThreadedSelfTest.java | 2 +-
.../query/h2/sql/GridQueryParsingTest.java | 2 +-
modules/jcl/readme.txt | 2 +-
.../apache/ignite/logger/jcl/GridJclLogger.java | 4 +-
modules/jta/readme.txt | 2 +-
.../apache/ignite/cache/jta/CacheTmLookup.java | 50 +
.../ignite/cache/jta/GridCacheTmLookup.java | 50 -
.../cache/jta/jndi/CacheJndiTmLookup.java | 74 +
.../cache/jta/jndi/GridCacheJndiTmLookup.java | 74 -
.../jta/reflect/CacheReflectionTmLookup.java | 115 +
.../reflect/GridCacheReflectionTmLookup.java | 115 -
.../processors/cache/jta/CacheJtaManager.java | 4 +-
...CacheJtaConfigurationValidationSelfTest.java | 2 +-
.../processors/cache/GridCacheJtaSelfTest.java | 2 +-
.../GridTmLookupLifecycleAwareSelfTest.java | 4 +-
modules/log4j/readme.txt | 2 +-
.../ignite/logger/log4j/IgniteLog4jLogger.java | 8 +-
.../logger/log4j/IgniteLog4jNodeIdFilePath.java | 8 +-
.../log4j/GridLog4jCorrectFileNameTest.java | 4 +-
modules/rest-http/readme.txt | 2 +-
.../http/jetty/GridJettyRestProtocol.java | 16 +-
.../rest/protocols/http/jetty/rest.html | 6 +-
modules/scalar/pom.xml | 6 +-
modules/scalar/readme.txt | 2 +-
modules/schedule/readme.txt | 2 +-
.../processors/schedule/ScheduleFutureImpl.java | 4 +-
modules/slf4j/readme.txt | 2 +-
modules/spring/readme.txt | 2 +-
.../java/org/apache/ignite/IgniteSpring.java | 2 +-
.../ignite/cache/spring/SpringCacheManager.java | 6 +-
.../spring/IgniteSpringProcessorImpl.java | 10 +-
.../ignite/internal/GridFactorySelfTest.java | 2 +-
modules/ssh/readme.txt | 2 +-
.../util/nodestart/GridNodeCallableImpl.java | 20 +-
.../internal/GridNodeStartUtilsSelfTest.java | 6 +-
.../GridProjectionStartStopRestartSelfTest.java | 4 +-
.../ignite/tools/javadoc/GridLinkTaglet.java | 165 -
.../ignite/tools/javadoc/IgniteLinkTaglet.java | 165 +
.../optimized/OptimizedClassNamesGenerator.java | 18 +-
modules/urideploy/readme.txt | 2 +-
.../uri/GridUriDeploymentFileProcessor.java | 2 +-
.../deployment/uri/GridUriDeploymentSpi.java | 1367 --
.../uri/GridUriDeploymentSpiMBean.java | 53 -
.../spi/deployment/uri/UriDeploymentSpi.java | 1367 ++
.../deployment/uri/UriDeploymentSpiMBean.java | 53 +
.../GridTaskUriDeploymentDeadlockSelfTest.java | 2 +-
.../ignite/p2p/GridP2PDisabledSelfTest.java | 2 +-
.../uri/GridUriDeploymentAbstractSelfTest.java | 2 +-
.../GridUriDeploymentClassLoaderSelfTest.java | 2 +-
...riDeploymentClassloaderRegisterSelfTest.java | 4 +-
.../uri/GridUriDeploymentConfigSelfTest.java | 10 +-
.../GridUriDeploymentFileProcessorSelfTest.java | 2 +-
.../uri/GridUriDeploymentMd5CheckSelfTest.java | 2 +-
...loymentMultiScannersErrorThrottlingTest.java | 2 +-
.../GridUriDeploymentMultiScannersSelfTest.java | 2 +-
.../uri/GridUriDeploymentSimpleSelfTest.java | 10 +-
.../file/GridFileDeploymentSelfTest.java | 6 +-
.../GridFileDeploymentUndeploySelfTest.java | 8 +-
.../uri/scanners/ftp/GridFtpDeploymentTest.java | 2 +-
.../http/GridHttpDeploymentSelfTest.java | 2 +-
.../IgniteUriDeploymentTestSuite.java | 3 +-
.../scala/org/apache/ignite/visor/Packet.scala | 2 +-
.../ignite/visor/commands/VisorConsole.scala | 6 +-
.../commands/alert/VisorAlertCommand.scala | 2 +-
.../config/VisorConfigurationCommand.scala | 6 +-
.../ignite/visor/commands/deploy/Packet.scala | 4 +-
.../commands/deploy/VisorDeployCommand.scala | 22 +-
.../commands/disco/VisorDiscoveryCommand.scala | 4 +-
.../commands/events/VisorEventsCommand.scala | 4 +-
.../visor/commands/gc/VisorGcCommand.scala | 13 +-
.../visor/commands/node/VisorNodeCommand.scala | 4 +-
.../ignite/visor/commands/start/Packet.scala | 6 +-
.../commands/start/VisorStartCommand.scala | 16 +-
.../commands/tasks/VisorTasksCommand.scala | 4 +-
.../commands/top/VisorTopologyCommand.scala | 6 +-
.../visor/commands/vvm/VisorVvmCommand.scala | 8 +-
.../scala/org/apache/ignite/visor/visor.scala | 35 +-
.../visor/commands/gc/VisorGcCommandSpec.scala | 25 +-
.../testsuites/VisorConsoleSelfTestSuite.scala | 2 +-
modules/web/readme.txt | 2 +-
.../cache/websession/GridWebSessionFilter.java | 26 +-
.../GridServletContextListenerStartup.java | 181 -
.../startup/servlet/GridServletStartup.java | 187 -
.../IgniteServletContextListenerStartup.java | 181 +
.../startup/servlet/IgniteServletStartup.java | 187 +
.../internal/websession/WebSessionSelfTest.java | 8 +-
.../websession/WebSessionServerStart.java | 2 +-
modules/yardstick/README.md | 67 +
.../config/benchmark-atomic-win.properties | 42 +
.../config/benchmark-atomic.properties | 48 +
.../config/benchmark-compute-win.properties | 45 +
.../config/benchmark-compute.properties | 51 +
.../config/benchmark-query-win.properties | 43 +
.../yardstick/config/benchmark-query.properties | 49 +
.../config/benchmark-tx-win.properties | 42 +
.../yardstick/config/benchmark-tx.properties | 48 +
.../yardstick/config/benchmark-win.properties | 50 +
modules/yardstick/config/benchmark.properties | 61 +
modules/yardstick/config/ignite-base-config.xml | 118 +
.../config/ignite-localhost-config.xml | 55 +
.../config/ignite-multicast-config.xml | 38 +
modules/yardstick/pom.xml | 185 +
.../yardstick/IgniteAbstractBenchmark.java | 130 +
.../yardstick/IgniteBenchmarkArguments.java | 213 +
.../org/apache/ignite/yardstick/IgniteNode.java | 191 +
.../cache/IgniteCacheAbstractBenchmark.java | 44 +
.../yardstick/cache/IgniteGetBenchmark.java | 41 +
.../yardstick/cache/IgnitePutBenchmark.java | 42 +
.../yardstick/cache/IgnitePutGetBenchmark.java | 47 +
.../cache/IgnitePutGetTxBenchmark.java | 52 +
.../yardstick/cache/IgnitePutTxBenchmark.java | 43 +
.../cache/IgniteSqlQueryBenchmark.java | 94 +
.../cache/IgniteSqlQueryJoinBenchmark.java | 118 +
.../cache/IgniteSqlQueryPutBenchmark.java | 86 +
.../yardstick/cache/model/Organization.java | 110 +
.../ignite/yardstick/cache/model/Person.java | 191 +
.../yardstick/cache/model/SampleValue.java | 62 +
.../compute/IgniteAffinityCallBenchmark.java | 36 +
.../yardstick/compute/IgniteApplyBenchmark.java | 72 +
.../compute/IgniteBroadcastBenchmark.java | 35 +
.../compute/IgniteExecuteBenchmark.java | 35 +
.../yardstick/compute/IgniteRunBenchmark.java | 71 +
.../yardstick/compute/model/NoopCallable.java | 41 +
.../yardstick/compute/model/NoopTask.java | 97 +
pom.xml | 35 +-
583 files changed, 39143 insertions(+), 35758 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/2636e2c1/modules/core/src/main/java/org/apache/ignite/configuration/IgniteConfiguration.java
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/2636e2c1/modules/core/src/main/java/org/apache/ignite/internal/GridKernalContextImpl.java
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/2636e2c1/modules/core/src/main/java/org/apache/ignite/internal/IgniteKernal.java
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/2636e2c1/modules/core/src/main/java/org/apache/ignite/internal/IgnitionEx.java
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/2636e2c1/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheWriteBehindStore.java
----------------------------------------------------------------------
[3/5] incubator-ignite git commit: #ignite-16: Finished.
Posted by sb...@apache.org.
#ignite-16: Finished.
Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/ff7ee6d3
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/ff7ee6d3
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/ff7ee6d3
Branch: refs/heads/ignite-106
Commit: ff7ee6d30460db42c4f1364b135ba21e20a26c60
Parents: 2636e2c
Author: vozerov-gridgain <vo...@gridgain.com>
Authored: Mon Feb 2 14:35:01 2015 +0300
Committer: vozerov-gridgain <vo...@gridgain.com>
Committed: Mon Feb 2 14:35:01 2015 +0300
----------------------------------------------------------------------
.../internal/processors/cache/GridCacheWriteBehindStore.java | 1 -
.../hadoop/GridHadoopDefaultMapReducePlannerSelfTest.java | 6 ------
2 files changed, 7 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/ff7ee6d3/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheWriteBehindStore.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheWriteBehindStore.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheWriteBehindStore.java
index 5159348..d303225 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheWriteBehindStore.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheWriteBehindStore.java
@@ -20,7 +20,6 @@ package org.apache.ignite.internal.processors.cache;
import org.apache.ignite.*;
import org.apache.ignite.cache.*;
import org.apache.ignite.cache.store.*;
-import org.apache.ignite.internal.*;
import org.apache.ignite.lang.*;
import org.apache.ignite.lifecycle.*;
import org.apache.ignite.thread.*;
http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/ff7ee6d3/modules/hadoop/src/test/java/org/apache/ignite/internal/processors/hadoop/GridHadoopDefaultMapReducePlannerSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/hadoop/src/test/java/org/apache/ignite/internal/processors/hadoop/GridHadoopDefaultMapReducePlannerSelfTest.java b/modules/hadoop/src/test/java/org/apache/ignite/internal/processors/hadoop/GridHadoopDefaultMapReducePlannerSelfTest.java
index 65b8ba2..514c44f 100644
--- a/modules/hadoop/src/test/java/org/apache/ignite/internal/processors/hadoop/GridHadoopDefaultMapReducePlannerSelfTest.java
+++ b/modules/hadoop/src/test/java/org/apache/ignite/internal/processors/hadoop/GridHadoopDefaultMapReducePlannerSelfTest.java
@@ -28,7 +28,6 @@ import org.apache.ignite.internal.processors.fs.*;
import org.apache.ignite.lang.*;
import org.apache.ignite.hadoop.*;
import org.apache.ignite.internal.processors.hadoop.planner.*;
-import org.apache.ignite.internal.processors.interop.*;
import org.apache.ignite.internal.util.lang.*;
import org.apache.ignite.internal.util.typedef.*;
import org.apache.ignite.testframework.*;
@@ -1011,11 +1010,6 @@ public class GridHadoopDefaultMapReducePlannerSelfTest extends GridHadoopAbstrac
}
/** {@inheritDoc} */
- @Override public GridInteropProcessor interop() {
- return null;
- }
-
- /** {@inheritDoc} */
@Override public ClusterNode localNode() {
return null;
}
[5/5] incubator-ignite git commit: Merge remote-tracking branch
'remotes/origin/sprint-1' into ignite-106
Posted by sb...@apache.org.
Merge remote-tracking branch 'remotes/origin/sprint-1' into ignite-106
Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/796737a2
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/796737a2
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/796737a2
Branch: refs/heads/ignite-106
Commit: 796737a27ee2847b079c7f5b17cb77b4740ca22b
Parents: f21a638 ff7ee6d
Author: ivasilinets <iv...@gridgain.com>
Authored: Mon Feb 2 18:14:15 2015 +0300
Committer: ivasilinets <iv...@gridgain.com>
Committed: Mon Feb 2 18:14:15 2015 +0300
----------------------------------------------------------------------
.../configuration/IgniteConfiguration.java | 22 ----
.../ignite/internal/GridKernalContext.java | 8 --
.../ignite/internal/GridKernalContextImpl.java | 12 --
.../org/apache/ignite/internal/IgniteEx.java | 8 --
.../apache/ignite/internal/IgniteKernal.java | 7 --
.../org/apache/ignite/internal/IgnitionEx.java | 1 -
.../cache/GridCacheWriteBehindStore.java | 2 -
.../interop/GridInteropProcessor.java | 82 --------------
.../interop/GridInteropProcessorAdapter.java | 31 ------
.../processors/interop/GridInteropTarget.java | 109 -------------------
.../interop/os/GridOsInteropProcessor.java | 80 --------------
.../internal/processors/interop/os/package.html | 23 ----
.../internal/processors/interop/package.html | 23 ----
.../plugin/IgnitePluginProcessor.java | 10 +-
...idHadoopDefaultMapReducePlannerSelfTest.java | 6 -
15 files changed, 6 insertions(+), 418 deletions(-)
----------------------------------------------------------------------
[4/5] incubator-ignite git commit: #IGNITE-106: Revert some renaming.
Posted by sb...@apache.org.
#IGNITE-106: Revert some renaming.
Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/f21a638e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/f21a638e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/f21a638e
Branch: refs/heads/ignite-106
Commit: f21a638eab7efbcf81dacd40193c4d210d052488
Parents: efb9158
Author: ivasilinets <iv...@gridgain.com>
Authored: Mon Feb 2 18:13:31 2015 +0300
Committer: ivasilinets <iv...@gridgain.com>
Committed: Mon Feb 2 18:13:31 2015 +0300
----------------------------------------------------------------------
.../ignite/examples/BasicExamplesSelfTest.java | 2 +-
.../ignite/examples/CacheExamplesSelfTest.java | 2 +-
...heStoreLoadDataExampleMultiNodeSelfTest.java | 2 +-
.../examples/CheckpointExamplesSelfTest.java | 2 +-
.../examples/ContinuationExamplesSelfTest.java | 2 +-
.../ContinuousMapperExamplesSelfTest.java | 2 +-
.../examples/DeploymentExamplesSelfTest.java | 2 +-
.../ignite/examples/EventsExamplesSelfTest.java | 2 +-
.../HibernateL2CacheExampleSelfTest.java | 2 +-
.../examples/IgniteFsExamplesSelfTest.java | 2 +-
.../examples/LifecycleExamplesSelfTest.java | 2 +-
.../examples/MemcacheRestExamplesSelfTest.java | 2 +-
.../examples/MessagingExamplesSelfTest.java | 2 +-
.../examples/MonteCarloExamplesSelfTest.java | 2 +-
.../examples/ProjectionExampleSelfTest.java | 2 +-
.../examples/SpringBeanExamplesSelfTest.java | 2 +-
.../ignite/examples/TaskExamplesSelfTest.java | 2 +-
.../tests/examples/ScalarExamplesSelfTest.scala | 4 +-
.../junits/common/AbstractExamplesTest.java | 79 --------------------
.../junits/common/GridAbstractExamplesTest.java | 79 ++++++++++++++++++++
20 files changed, 98 insertions(+), 98 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/f21a638e/examples/src/test/java/org/apache/ignite/examples/BasicExamplesSelfTest.java
----------------------------------------------------------------------
diff --git a/examples/src/test/java/org/apache/ignite/examples/BasicExamplesSelfTest.java b/examples/src/test/java/org/apache/ignite/examples/BasicExamplesSelfTest.java
index e95b0cc..ca7b67e 100644
--- a/examples/src/test/java/org/apache/ignite/examples/BasicExamplesSelfTest.java
+++ b/examples/src/test/java/org/apache/ignite/examples/BasicExamplesSelfTest.java
@@ -23,7 +23,7 @@ import org.apache.ignite.testframework.junits.common.*;
/**
* Closure examples self test.
*/
-public class BasicExamplesSelfTest extends AbstractExamplesTest {
+public class BasicExamplesSelfTest extends GridAbstractExamplesTest {
/**
* @throws Exception If failed.
*/
http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/f21a638e/examples/src/test/java/org/apache/ignite/examples/CacheExamplesSelfTest.java
----------------------------------------------------------------------
diff --git a/examples/src/test/java/org/apache/ignite/examples/CacheExamplesSelfTest.java b/examples/src/test/java/org/apache/ignite/examples/CacheExamplesSelfTest.java
index f541390..c34b712 100644
--- a/examples/src/test/java/org/apache/ignite/examples/CacheExamplesSelfTest.java
+++ b/examples/src/test/java/org/apache/ignite/examples/CacheExamplesSelfTest.java
@@ -26,7 +26,7 @@ import org.apache.ignite.testframework.junits.common.*;
/**
* Cache examples self test.
*/
-public class CacheExamplesSelfTest extends AbstractExamplesTest {
+public class CacheExamplesSelfTest extends GridAbstractExamplesTest {
/**
* @throws Exception If failed.
*/
http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/f21a638e/examples/src/test/java/org/apache/ignite/examples/CacheStoreLoadDataExampleMultiNodeSelfTest.java
----------------------------------------------------------------------
diff --git a/examples/src/test/java/org/apache/ignite/examples/CacheStoreLoadDataExampleMultiNodeSelfTest.java b/examples/src/test/java/org/apache/ignite/examples/CacheStoreLoadDataExampleMultiNodeSelfTest.java
index dc160c9..bcf753c 100644
--- a/examples/src/test/java/org/apache/ignite/examples/CacheStoreLoadDataExampleMultiNodeSelfTest.java
+++ b/examples/src/test/java/org/apache/ignite/examples/CacheStoreLoadDataExampleMultiNodeSelfTest.java
@@ -23,7 +23,7 @@ import org.apache.ignite.testframework.junits.common.*;
/**
*
*/
-public class CacheStoreLoadDataExampleMultiNodeSelfTest extends AbstractExamplesTest {
+public class CacheStoreLoadDataExampleMultiNodeSelfTest extends GridAbstractExamplesTest {
/** {@inheritDoc} */
@Override protected void beforeTest() throws Exception {
for (int i = 0; i < RMT_NODES_CNT; i++)
http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/f21a638e/examples/src/test/java/org/apache/ignite/examples/CheckpointExamplesSelfTest.java
----------------------------------------------------------------------
diff --git a/examples/src/test/java/org/apache/ignite/examples/CheckpointExamplesSelfTest.java b/examples/src/test/java/org/apache/ignite/examples/CheckpointExamplesSelfTest.java
index 54e3c22..430dbb3 100644
--- a/examples/src/test/java/org/apache/ignite/examples/CheckpointExamplesSelfTest.java
+++ b/examples/src/test/java/org/apache/ignite/examples/CheckpointExamplesSelfTest.java
@@ -23,7 +23,7 @@ import org.apache.ignite.testframework.junits.common.*;
/**
* Checkpoint examples self test.
*/
-public class CheckpointExamplesSelfTest extends AbstractExamplesTest {
+public class CheckpointExamplesSelfTest extends GridAbstractExamplesTest {
/**
* Starts remote nodes before each test.
*
http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/f21a638e/examples/src/test/java/org/apache/ignite/examples/ContinuationExamplesSelfTest.java
----------------------------------------------------------------------
diff --git a/examples/src/test/java/org/apache/ignite/examples/ContinuationExamplesSelfTest.java b/examples/src/test/java/org/apache/ignite/examples/ContinuationExamplesSelfTest.java
index 48ca73e..8100f79 100644
--- a/examples/src/test/java/org/apache/ignite/examples/ContinuationExamplesSelfTest.java
+++ b/examples/src/test/java/org/apache/ignite/examples/ContinuationExamplesSelfTest.java
@@ -23,7 +23,7 @@ import org.apache.ignite.testframework.junits.common.*;
/**
* Continuation example self test.
*/
-public class ContinuationExamplesSelfTest extends AbstractExamplesTest {
+public class ContinuationExamplesSelfTest extends GridAbstractExamplesTest {
/**
* @throws Exception If failed.
*/
http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/f21a638e/examples/src/test/java/org/apache/ignite/examples/ContinuousMapperExamplesSelfTest.java
----------------------------------------------------------------------
diff --git a/examples/src/test/java/org/apache/ignite/examples/ContinuousMapperExamplesSelfTest.java b/examples/src/test/java/org/apache/ignite/examples/ContinuousMapperExamplesSelfTest.java
index cbb79d6..c4d8622 100644
--- a/examples/src/test/java/org/apache/ignite/examples/ContinuousMapperExamplesSelfTest.java
+++ b/examples/src/test/java/org/apache/ignite/examples/ContinuousMapperExamplesSelfTest.java
@@ -23,7 +23,7 @@ import org.apache.ignite.testframework.junits.common.*;
/**
* GridContinuousMapperExample self test.
*/
-public class ContinuousMapperExamplesSelfTest extends AbstractExamplesTest {
+public class ContinuousMapperExamplesSelfTest extends GridAbstractExamplesTest {
/**
* @throws Exception If failed.
*/
http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/f21a638e/examples/src/test/java/org/apache/ignite/examples/DeploymentExamplesSelfTest.java
----------------------------------------------------------------------
diff --git a/examples/src/test/java/org/apache/ignite/examples/DeploymentExamplesSelfTest.java b/examples/src/test/java/org/apache/ignite/examples/DeploymentExamplesSelfTest.java
index 8fd4da0..3b4a399 100644
--- a/examples/src/test/java/org/apache/ignite/examples/DeploymentExamplesSelfTest.java
+++ b/examples/src/test/java/org/apache/ignite/examples/DeploymentExamplesSelfTest.java
@@ -23,7 +23,7 @@ import org.apache.ignite.testframework.junits.common.*;
/**
* Deployment examples self test.
*/
-public class DeploymentExamplesSelfTest extends AbstractExamplesTest {
+public class DeploymentExamplesSelfTest extends GridAbstractExamplesTest {
/**
* @throws Exception If failed.
*/
http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/f21a638e/examples/src/test/java/org/apache/ignite/examples/EventsExamplesSelfTest.java
----------------------------------------------------------------------
diff --git a/examples/src/test/java/org/apache/ignite/examples/EventsExamplesSelfTest.java b/examples/src/test/java/org/apache/ignite/examples/EventsExamplesSelfTest.java
index 55341ba..fdb4509 100644
--- a/examples/src/test/java/org/apache/ignite/examples/EventsExamplesSelfTest.java
+++ b/examples/src/test/java/org/apache/ignite/examples/EventsExamplesSelfTest.java
@@ -23,7 +23,7 @@ import org.apache.ignite.testframework.junits.common.*;
/**
* Events examples self test.
*/
-public class EventsExamplesSelfTest extends AbstractExamplesTest {
+public class EventsExamplesSelfTest extends GridAbstractExamplesTest {
/**
* @throws Exception If failed.
*/
http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/f21a638e/examples/src/test/java/org/apache/ignite/examples/HibernateL2CacheExampleSelfTest.java
----------------------------------------------------------------------
diff --git a/examples/src/test/java/org/apache/ignite/examples/HibernateL2CacheExampleSelfTest.java b/examples/src/test/java/org/apache/ignite/examples/HibernateL2CacheExampleSelfTest.java
index 0c46894..d38a1c3 100644
--- a/examples/src/test/java/org/apache/ignite/examples/HibernateL2CacheExampleSelfTest.java
+++ b/examples/src/test/java/org/apache/ignite/examples/HibernateL2CacheExampleSelfTest.java
@@ -23,7 +23,7 @@ import org.apache.ignite.testframework.junits.common.*;
/**
* Tests the {@link HibernateL2CacheExample}.
*/
-public class HibernateL2CacheExampleSelfTest extends AbstractExamplesTest {
+public class HibernateL2CacheExampleSelfTest extends GridAbstractExamplesTest {
/**
* @throws Exception If failed.
*/
http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/f21a638e/examples/src/test/java/org/apache/ignite/examples/IgniteFsExamplesSelfTest.java
----------------------------------------------------------------------
diff --git a/examples/src/test/java/org/apache/ignite/examples/IgniteFsExamplesSelfTest.java b/examples/src/test/java/org/apache/ignite/examples/IgniteFsExamplesSelfTest.java
index ec26b4e..8ac2a5c 100644
--- a/examples/src/test/java/org/apache/ignite/examples/IgniteFsExamplesSelfTest.java
+++ b/examples/src/test/java/org/apache/ignite/examples/IgniteFsExamplesSelfTest.java
@@ -24,7 +24,7 @@ import org.apache.ignite.testframework.junits.common.*;
/**
* IgniteFs examples self test.
*/
-public class IgniteFsExamplesSelfTest extends AbstractExamplesTest {
+public class IgniteFsExamplesSelfTest extends GridAbstractExamplesTest {
/** GGFS config with shared memory IPC. */
private static final String GGFS_SHMEM_CFG = "modules/core/src/test/config/ggfs-shmem.xml";
http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/f21a638e/examples/src/test/java/org/apache/ignite/examples/LifecycleExamplesSelfTest.java
----------------------------------------------------------------------
diff --git a/examples/src/test/java/org/apache/ignite/examples/LifecycleExamplesSelfTest.java b/examples/src/test/java/org/apache/ignite/examples/LifecycleExamplesSelfTest.java
index 4b148a5..4dafcbf 100644
--- a/examples/src/test/java/org/apache/ignite/examples/LifecycleExamplesSelfTest.java
+++ b/examples/src/test/java/org/apache/ignite/examples/LifecycleExamplesSelfTest.java
@@ -23,7 +23,7 @@ import org.apache.ignite.testframework.junits.common.*;
/**
* GridLifecycleExample self test.
*/
-public class LifecycleExamplesSelfTest extends AbstractExamplesTest {
+public class LifecycleExamplesSelfTest extends GridAbstractExamplesTest {
/**
* @throws Exception If failed.
*/
http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/f21a638e/examples/src/test/java/org/apache/ignite/examples/MemcacheRestExamplesSelfTest.java
----------------------------------------------------------------------
diff --git a/examples/src/test/java/org/apache/ignite/examples/MemcacheRestExamplesSelfTest.java b/examples/src/test/java/org/apache/ignite/examples/MemcacheRestExamplesSelfTest.java
index 4349bd5..ebb4071 100644
--- a/examples/src/test/java/org/apache/ignite/examples/MemcacheRestExamplesSelfTest.java
+++ b/examples/src/test/java/org/apache/ignite/examples/MemcacheRestExamplesSelfTest.java
@@ -23,7 +23,7 @@ import org.apache.ignite.testframework.junits.common.*;
/**
* GridMemcacheRestExample self test.
*/
-public class MemcacheRestExamplesSelfTest extends AbstractExamplesTest {
+public class MemcacheRestExamplesSelfTest extends GridAbstractExamplesTest {
/**
* @throws Exception If failed.
*/
http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/f21a638e/examples/src/test/java/org/apache/ignite/examples/MessagingExamplesSelfTest.java
----------------------------------------------------------------------
diff --git a/examples/src/test/java/org/apache/ignite/examples/MessagingExamplesSelfTest.java b/examples/src/test/java/org/apache/ignite/examples/MessagingExamplesSelfTest.java
index 80235b1..2bafb0f 100644
--- a/examples/src/test/java/org/apache/ignite/examples/MessagingExamplesSelfTest.java
+++ b/examples/src/test/java/org/apache/ignite/examples/MessagingExamplesSelfTest.java
@@ -23,7 +23,7 @@ import org.apache.ignite.testframework.junits.common.*;
/**
* Messaging examples self test.
*/
-public class MessagingExamplesSelfTest extends AbstractExamplesTest {
+public class MessagingExamplesSelfTest extends GridAbstractExamplesTest {
/** {@inheritDoc} */
@Override protected void beforeTest() throws Exception {
startGrid("companion", DFLT_CFG);
http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/f21a638e/examples/src/test/java/org/apache/ignite/examples/MonteCarloExamplesSelfTest.java
----------------------------------------------------------------------
diff --git a/examples/src/test/java/org/apache/ignite/examples/MonteCarloExamplesSelfTest.java b/examples/src/test/java/org/apache/ignite/examples/MonteCarloExamplesSelfTest.java
index 634ba44..0e0267a 100644
--- a/examples/src/test/java/org/apache/ignite/examples/MonteCarloExamplesSelfTest.java
+++ b/examples/src/test/java/org/apache/ignite/examples/MonteCarloExamplesSelfTest.java
@@ -64,7 +64,7 @@ import org.apache.ignite.testframework.junits.common.*;
* Classpath should contain the {@code ${IGNITE_HOME}/modules/tests/config/aop/aspectj} folder.
* </li>
*/
-public class MonteCarloExamplesSelfTest extends AbstractExamplesTest {
+public class MonteCarloExamplesSelfTest extends GridAbstractExamplesTest {
/**
* @throws Exception If failed.
*/
http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/f21a638e/examples/src/test/java/org/apache/ignite/examples/ProjectionExampleSelfTest.java
----------------------------------------------------------------------
diff --git a/examples/src/test/java/org/apache/ignite/examples/ProjectionExampleSelfTest.java b/examples/src/test/java/org/apache/ignite/examples/ProjectionExampleSelfTest.java
index 9944c42..cddc750 100644
--- a/examples/src/test/java/org/apache/ignite/examples/ProjectionExampleSelfTest.java
+++ b/examples/src/test/java/org/apache/ignite/examples/ProjectionExampleSelfTest.java
@@ -23,7 +23,7 @@ import org.apache.ignite.testframework.junits.common.*;
/**
*
*/
-public class ProjectionExampleSelfTest extends AbstractExamplesTest {
+public class ProjectionExampleSelfTest extends GridAbstractExamplesTest {
/** {@inheritDoc} */
@Override protected void beforeTest() throws Exception {
// Start up a cluster node.
http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/f21a638e/examples/src/test/java/org/apache/ignite/examples/SpringBeanExamplesSelfTest.java
----------------------------------------------------------------------
diff --git a/examples/src/test/java/org/apache/ignite/examples/SpringBeanExamplesSelfTest.java b/examples/src/test/java/org/apache/ignite/examples/SpringBeanExamplesSelfTest.java
index 4110b99..70c86c5 100644
--- a/examples/src/test/java/org/apache/ignite/examples/SpringBeanExamplesSelfTest.java
+++ b/examples/src/test/java/org/apache/ignite/examples/SpringBeanExamplesSelfTest.java
@@ -23,7 +23,7 @@ import org.apache.ignite.testframework.junits.common.*;
/**
* Spring bean examples self test.
*/
-public class SpringBeanExamplesSelfTest extends AbstractExamplesTest {
+public class SpringBeanExamplesSelfTest extends GridAbstractExamplesTest {
/**
* @throws Exception If failed.
*/
http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/f21a638e/examples/src/test/java/org/apache/ignite/examples/TaskExamplesSelfTest.java
----------------------------------------------------------------------
diff --git a/examples/src/test/java/org/apache/ignite/examples/TaskExamplesSelfTest.java b/examples/src/test/java/org/apache/ignite/examples/TaskExamplesSelfTest.java
index 54d5ff6..42b7276 100644
--- a/examples/src/test/java/org/apache/ignite/examples/TaskExamplesSelfTest.java
+++ b/examples/src/test/java/org/apache/ignite/examples/TaskExamplesSelfTest.java
@@ -23,7 +23,7 @@ import org.apache.ignite.testframework.junits.common.*;
/**
* Hello world examples self test.
*/
-public class TaskExamplesSelfTest extends AbstractExamplesTest {
+public class TaskExamplesSelfTest extends GridAbstractExamplesTest {
/**
* @throws Exception If failed.
*/
http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/f21a638e/examples/src/test/scala/org/apache/ignite/scalar/tests/examples/ScalarExamplesSelfTest.scala
----------------------------------------------------------------------
diff --git a/examples/src/test/scala/org/apache/ignite/scalar/tests/examples/ScalarExamplesSelfTest.scala b/examples/src/test/scala/org/apache/ignite/scalar/tests/examples/ScalarExamplesSelfTest.scala
index f9b503d..6852ac9 100644
--- a/examples/src/test/scala/org/apache/ignite/scalar/tests/examples/ScalarExamplesSelfTest.scala
+++ b/examples/src/test/scala/org/apache/ignite/scalar/tests/examples/ScalarExamplesSelfTest.scala
@@ -19,13 +19,13 @@ package org.apache.ignite.scalar.tests.examples
import org.apache.ignite.scalar.examples._
import org.apache.ignite.scalar.scalar
-import org.apache.ignite.testframework.junits.common.AbstractExamplesTest
+import org.apache.ignite.testframework.junits.common.GridAbstractExamplesTest
import org.scalatest.junit.JUnitSuiteLike
/**
* Scalar examples self test.
*/
-class ScalarExamplesSelfTest extends AbstractExamplesTest with JUnitSuiteLike {
+class ScalarExamplesSelfTest extends GridAbstractExamplesTest with JUnitSuiteLike {
/** */
private def EMPTY_ARGS = Array.empty[String]
http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/f21a638e/modules/core/src/test/java/org/apache/ignite/testframework/junits/common/AbstractExamplesTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/testframework/junits/common/AbstractExamplesTest.java b/modules/core/src/test/java/org/apache/ignite/testframework/junits/common/AbstractExamplesTest.java
deleted file mode 100644
index a523066..0000000
--- a/modules/core/src/test/java/org/apache/ignite/testframework/junits/common/AbstractExamplesTest.java
+++ /dev/null
@@ -1,79 +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.testframework.junits.common;
-
-import org.apache.ignite.internal.util.typedef.internal.*;
-
-import java.io.*;
-import java.util.*;
-
-/**
- * Base class for examples test.
- */
-public abstract class AbstractExamplesTest extends GridCommonAbstractTest {
- /** */
- protected static final String[] EMPTY_ARGS = new String[0];
-
- /** */
- protected static final int RMT_NODES_CNT = 3;
-
- /** */
- protected static final String RMT_NODE_CFGS = "modules/core/src/test/config/examples.properties";
-
- /** */
- protected static final String DFLT_CFG = "examples/config/example-compute.xml";
-
- /** */
- private static final Properties rmtCfgs = new Properties();
-
- /** {@inheritDoc} */
- @Override protected void afterTest() throws Exception {
- stopAllGrids();
- }
-
- /**
- * Starts remote nodes.
- *
- * @throws Exception If failed.
- */
- protected final void startRemoteNodes() throws Exception {
- String name = getName().replaceFirst("test", "");
-
- if (rmtCfgs.isEmpty()) {
- info("Loading remote configs properties from file: " + RMT_NODE_CFGS);
-
- try (FileReader reader = new FileReader(U.resolveGridGainPath(RMT_NODE_CFGS))) {
- rmtCfgs.load(reader);
- }
- }
-
- String cfg = rmtCfgs.getProperty(name, defaultConfig());
-
- info("Config for remote nodes [name=" + name + ", cfg=" + cfg + ", dflt=" + defaultConfig() + "]");
-
- for (int i = 0; i < RMT_NODES_CNT; i++)
- startGrid(getTestGridName(i), cfg);
- }
-
- /**
- * @return Default config for this test.
- */
- protected String defaultConfig() {
- return DFLT_CFG;
- }
-}
http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/f21a638e/modules/core/src/test/java/org/apache/ignite/testframework/junits/common/GridAbstractExamplesTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/testframework/junits/common/GridAbstractExamplesTest.java b/modules/core/src/test/java/org/apache/ignite/testframework/junits/common/GridAbstractExamplesTest.java
new file mode 100644
index 0000000..9df954a
--- /dev/null
+++ b/modules/core/src/test/java/org/apache/ignite/testframework/junits/common/GridAbstractExamplesTest.java
@@ -0,0 +1,79 @@
+/*
+ * 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.testframework.junits.common;
+
+import org.apache.ignite.internal.util.typedef.internal.*;
+
+import java.io.*;
+import java.util.*;
+
+/**
+ * Base class for examples test.
+ */
+public abstract class GridAbstractExamplesTest extends GridCommonAbstractTest {
+ /** */
+ protected static final String[] EMPTY_ARGS = new String[0];
+
+ /** */
+ protected static final int RMT_NODES_CNT = 3;
+
+ /** */
+ protected static final String RMT_NODE_CFGS = "modules/core/src/test/config/examples.properties";
+
+ /** */
+ protected static final String DFLT_CFG = "examples/config/example-compute.xml";
+
+ /** */
+ private static final Properties rmtCfgs = new Properties();
+
+ /** {@inheritDoc} */
+ @Override protected void afterTest() throws Exception {
+ stopAllGrids();
+ }
+
+ /**
+ * Starts remote nodes.
+ *
+ * @throws Exception If failed.
+ */
+ protected final void startRemoteNodes() throws Exception {
+ String name = getName().replaceFirst("test", "");
+
+ if (rmtCfgs.isEmpty()) {
+ info("Loading remote configs properties from file: " + RMT_NODE_CFGS);
+
+ try (FileReader reader = new FileReader(U.resolveGridGainPath(RMT_NODE_CFGS))) {
+ rmtCfgs.load(reader);
+ }
+ }
+
+ String cfg = rmtCfgs.getProperty(name, defaultConfig());
+
+ info("Config for remote nodes [name=" + name + ", cfg=" + cfg + ", dflt=" + defaultConfig() + "]");
+
+ for (int i = 0; i < RMT_NODES_CNT; i++)
+ startGrid(getTestGridName(i), cfg);
+ }
+
+ /**
+ * @return Default config for this test.
+ */
+ protected String defaultConfig() {
+ return DFLT_CFG;
+ }
+}