ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [37/49] ignite git commit: Minor - added P2P node filter for tests
Date Tue, 01 Aug 2017 10:37:37 GMT
Minor - added P2P node filter for tests


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

Branch: refs/heads/ignite-5578
Commit: 3085b20ba75ebb983c35fd094c8864fb8920790a
Parents: 770efe2
Author: Alexey Goncharuk <alexey.goncharuk@gmail.com>
Authored: Fri Jul 28 17:56:47 2017 +0300
Committer: Alexey Goncharuk <alexey.goncharuk@gmail.com>
Committed: Fri Jul 28 17:56:47 2017 +0300

----------------------------------------------------------------------
 .../org/apache/ignite/tests/p2p/NodeFilter.java | 30 ++++++++++++++++++++
 1 file changed, 30 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/3085b20b/modules/extdata/p2p/src/main/java/org/apache/ignite/tests/p2p/NodeFilter.java
----------------------------------------------------------------------
diff --git a/modules/extdata/p2p/src/main/java/org/apache/ignite/tests/p2p/NodeFilter.java
b/modules/extdata/p2p/src/main/java/org/apache/ignite/tests/p2p/NodeFilter.java
new file mode 100644
index 0000000..39eb8a8
--- /dev/null
+++ b/modules/extdata/p2p/src/main/java/org/apache/ignite/tests/p2p/NodeFilter.java
@@ -0,0 +1,30 @@
+/*
+ * 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.tests.p2p;
+
+import org.apache.ignite.cluster.ClusterNode;
+import org.apache.ignite.lang.IgnitePredicate;
+
+/**
+ *
+ */
+public class NodeFilter implements IgnitePredicate<ClusterNode> {
+    @Override public boolean apply(ClusterNode node) {
+        return true;
+    }
+}


Mime
View raw message