ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From voze...@apache.org
Subject [09/50] [abbrv] ignite git commit: Added cache.getAll benchmarks for offheap cache.
Date Fri, 17 Feb 2017 09:59:19 GMT
Added cache.getAll benchmarks for offheap cache.


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

Branch: refs/heads/ignite-1.9
Commit: 660cd1e072496c323f5bdfc797f2a7cb7d74480d
Parents: 07752ec
Author: sboikov <sboikov@gridgain.com>
Authored: Wed Jan 11 17:34:46 2017 +0300
Committer: sboikov <sboikov@gridgain.com>
Committed: Wed Jan 11 17:34:46 2017 +0300

----------------------------------------------------------------------
 .../cache/IgniteGetAllOffHeapBenchmark.java     | 30 ++++++++++++++++++++
 1 file changed, 30 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/660cd1e0/modules/yardstick/src/main/java/org/apache/ignite/yardstick/cache/IgniteGetAllOffHeapBenchmark.java
----------------------------------------------------------------------
diff --git a/modules/yardstick/src/main/java/org/apache/ignite/yardstick/cache/IgniteGetAllOffHeapBenchmark.java
b/modules/yardstick/src/main/java/org/apache/ignite/yardstick/cache/IgniteGetAllOffHeapBenchmark.java
new file mode 100644
index 0000000..face4bd
--- /dev/null
+++ b/modules/yardstick/src/main/java/org/apache/ignite/yardstick/cache/IgniteGetAllOffHeapBenchmark.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.yardstick.cache;
+
+import org.apache.ignite.IgniteCache;
+
+/**
+ *
+ */
+public class IgniteGetAllOffHeapBenchmark extends IgniteGetAllBenchmark {
+    /** {@inheritDoc} */
+    @Override protected IgniteCache<Integer, Object> cache() {
+        return ignite().cache("atomic-offheap");
+    }
+}


Mime
View raw message