{"action":"created","comment":{"url":"https://api.github.com/repos/jam2in/arcus-misc/pulls/comments/83343530","pull_request_review_id":4194324,"id":83343530,"diff_hunk":"@@ -0,0 +1,100 @@\n+/* -*- Mode: Java; tab-width: 2; c-basic-offset: 2; indent-tabs-mode: nil -*- */\n+/*\n+ * acp-java : Arcus Java Client Performance benchmark program\n+ * Copyright 2016 JaM2in Co., Ltd.\n+ *\n+ * Licensed under the Apache License, Version 2.0 (the \"License\");\n+ * you may not use this file except in compliance with the License.\n+ * You may obtain a copy of the License at\n+ *\n+ * http://www.apache.org/licenses/LICENSE-2.0\n+ *\n+ * Unless required by applicable law or agreed to in writing, software\n+ * distributed under the License is distributed on an \"AS IS\" BASIS,\n+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+ * See the License for the specific language governing permissions and\n+ * limitations under the License.\n+ */\n+import java.util.concurrent.Future;\n+import java.util.concurrent.TimeUnit;\n+\n+import net.spy.memcached.collection.CollectionAttributes;\n+import net.spy.memcached.collection.CollectionOverflowAction;\n+import net.spy.memcached.collection.ElementValueType;\n+import net.spy.memcached.internal.CollectionFuture;\n+\n+public class torture_map implements client_profile {\n+\tpublic boolean do_test(client cli) {\n+\t\ttry {\n+\t\t\tif (!do_map_test(cli))\n+\t\t\t\treturn false;\n+\t\t} catch (Exception e) {\n+\t\t\tSystem.out.printf(\"client_profile exception. id=%d exception=%s\\n\",\n+\t\t\t\t\tcli.id, e.toString());\n+\t\t\tif (cli.conf.print_stack_trace)\n+\t\t\t\te.printStackTrace();\n+\t\t}\n+\t\treturn true;\n+\t}\n+\n+\t// create a map and insert 10000 elements and repeat\n+\n+\tpublic boolean do_map_test(client cli) throws Exception {\n+\t\t// Pick a key\n+\t\tString key = cli.ks.get_key();\n+\n+\t\tString[] temp = key.split(\"-\");\n+\t\tlong base = Long.parseLong(temp[1]);\n+\t\tbase = base * 64*1024;\n+\n+\t\t// Create a set item","path":"acp-java/torture_map.java","position":50,"original_position":50,"commit_id":"9c0e92e628e24378d0024fa17259e82e1976074d","original_commit_id":"9c0e92e628e24378d0024fa17259e82e1976074d","user":{"login":"MinWooJin","id":9632854,"avatar_url":"https://avatars.githubusercontent.com/u/9632854?v=3","gravatar_id":"","url":"https://api.github.com/users/MinWooJin","html_url":"https://github.com/MinWooJin","followers_url":"https://api.github.com/users/MinWooJin/followers","following_url":"https://api.github.com/users/MinWooJin/following{/other_user}","gists_url":"https://api.github.com/users/MinWooJin/gists{/gist_id}","starred_url":"https://api.github.com/users/MinWooJin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MinWooJin/subscriptions","organizations_url":"https://api.github.com/users/MinWooJin/orgs","repos_url":"https://api.github.com/users/MinWooJin/repos","events_url":"https://api.github.com/users/MinWooJin/events{/privacy}","received_events_url":"https://api.github.com/users/MinWooJin/received_events","type":"User","site_admin":false},"body":"복사해서 사용하다 보니 몇개가 더 있네요\r\n모두 수정 했습니다~ 감사합니다.","created_at":"2016-10-14T01:04:15Z","updated_at":"2016-10-14T01:04:15Z","html_url":"https://github.com/jam2in/arcus-misc/pull/3#discussion_r83343530","pull_request_url":"https://api.github.com/repos/jam2in/arcus-misc/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/jam2in/arcus-misc/pulls/comments/83343530"},"html":{"href":"https://github.com/jam2in/arcus-misc/pull/3#discussion_r83343530"},"pull_request":{"href":"https://api.github.com/repos/jam2in/arcus-misc/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/jam2in/arcus-misc/pulls/3","id":88630236,"html_url":"https://github.com/jam2in/arcus-misc/pull/3","diff_url":"https://github.com/jam2in/arcus-misc/pull/3.diff","patch_url":"https://github.com/jam2in/arcus-misc/pull/3.patch","issue_url":"https://api.github.com/repos/jam2in/arcus-misc/issues/3","number":3,"state":"open","locked":false,"title":"MAP_COLLACTION","user":{"login":"MinWooJin","id":9632854,"avatar_url":"https://avatars.githubusercontent.com/u/9632854?v=3","gravatar_id":"","url":"https://api.github.com/users/MinWooJin","html_url":"https://github.com/MinWooJin","followers_url":"https://api.github.com/users/MinWooJin/followers","following_url":"https://api.github.com/users/MinWooJin/following{/other_user}","gists_url":"https://api.github.com/users/MinWooJin/gists{/gist_id}","starred_url":"https://api.github.com/users/MinWooJin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MinWooJin/subscriptions","organizations_url":"https://api.github.com/users/MinWooJin/orgs","repos_url":"https://api.github.com/users/MinWooJin/repos","events_url":"https://api.github.com/users/MinWooJin/events{/privacy}","received_events_url":"https://api.github.com/users/MinWooJin/received_events","type":"User","site_admin":false},"body":"Map collection test 추가 PR입니다.\r\n보이는 테스트에 추가시켰습니다.\r\n혹시 빠진 부분이나, 수정이 필요한 부분은\r\ncomment 남겨주시면 확인하도록 하겠습니다.\r\n\r\n@whchoi83 @aiceru 확인 요청 드립니다.\r\n두분 확인하신 후 @jhpark816 요청 드리도록 하겠습니다.","created_at":"2016-10-10T09:10:27Z","updated_at":"2016-10-14T01:04:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d32cc134c727fcb6b981f12ad72f130ff598745e","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/jam2in/arcus-misc/pulls/3/commits","review_comments_url":"https://api.github.com/repos/jam2in/arcus-misc/pulls/3/comments","review_comment_url":"https://api.github.com/repos/jam2in/arcus-misc/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jam2in/arcus-misc/issues/3/comments","statuses_url":"https://api.github.com/repos/jam2in/arcus-misc/statuses/9c0e92e628e24378d0024fa17259e82e1976074d","head":{"label":"jam2in:mwjin/addmap","ref":"mwjin/addmap","sha":"9c0e92e628e24378d0024fa17259e82e1976074d","user":{"login":"jam2in","id":8220453,"avatar_url":"https://avatars.githubusercontent.com/u/8220453?v=3","gravatar_id":"","url":"https://api.github.com/users/jam2in","html_url":"https://github.com/jam2in","followers_url":"https://api.github.com/users/jam2in/followers","following_url":"https://api.github.com/users/jam2in/following{/other_user}","gists_url":"https://api.github.com/users/jam2in/gists{/gist_id}","starred_url":"https://api.github.com/users/jam2in/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jam2in/subscriptions","organizations_url":"https://api.github.com/users/jam2in/orgs","repos_url":"https://api.github.com/users/jam2in/repos","events_url":"https://api.github.com/users/jam2in/events{/privacy}","received_events_url":"https://api.github.com/users/jam2in/received_events","type":"Organization","site_admin":false},"repo":{"id":37051527,"name":"arcus-misc","full_name":"jam2in/arcus-misc","owner":{"login":"jam2in","id":8220453,"avatar_url":"https://avatars.githubusercontent.com/u/8220453?v=3","gravatar_id":"","url":"https://api.github.com/users/jam2in","html_url":"https://github.com/jam2in","followers_url":"https://api.github.com/users/jam2in/followers","following_url":"https://api.github.com/users/jam2in/following{/other_user}","gists_url":"https://api.github.com/users/jam2in/gists{/gist_id}","starred_url":"https://api.github.com/users/jam2in/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jam2in/subscriptions","organizations_url":"https://api.github.com/users/jam2in/orgs","repos_url":"https://api.github.com/users/jam2in/repos","events_url":"https://api.github.com/users/jam2in/events{/privacy}","received_events_url":"https://api.github.com/users/jam2in/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/jam2in/arcus-misc","description":"Arcus miscellaneous code","fork":true,"url":"https://api.github.com/repos/jam2in/arcus-misc","forks_url":"https://api.github.com/repos/jam2in/arcus-misc/forks","keys_url":"https://api.github.com/repos/jam2in/arcus-misc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jam2in/arcus-misc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jam2in/arcus-misc/teams","hooks_url":"https://api.github.com/repos/jam2in/arcus-misc/hooks","issue_events_url":"https://api.github.com/repos/jam2in/arcus-misc/issues/events{/number}","events_url":"https://api.github.com/repos/jam2in/arcus-misc/events","assignees_url":"https://api.github.com/repos/jam2in/arcus-misc/assignees{/user}","branches_url":"https://api.github.com/repos/jam2in/arcus-misc/branches{/branch}","tags_url":"https://api.github.com/repos/jam2in/arcus-misc/tags","blobs_url":"https://api.github.com/repos/jam2in/arcus-misc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jam2in/arcus-misc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jam2in/arcus-misc/git/refs{/sha}","trees_url":"https://api.github.com/repos/jam2in/arcus-misc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jam2in/arcus-misc/statuses/{sha}","languages_url":"https://api.github.com/repos/jam2in/arcus-misc/languages","stargazers_url":"https://api.github.com/repos/jam2in/arcus-misc/stargazers","contributors_url":"https://api.github.com/repos/jam2in/arcus-misc/contributors","subscribers_url":"https://api.github.com/repos/jam2in/arcus-misc/subscribers","subscription_url":"https://api.github.com/repos/jam2in/arcus-misc/subscription","commits_url":"https://api.github.com/repos/jam2in/arcus-misc/commits{/sha}","git_commits_url":"https://api.github.com/repos/jam2in/arcus-misc/git/commits{/sha}","comments_url":"https://api.github.com/repos/jam2in/arcus-misc/comments{/number}","issue_comment_url":"https://api.github.com/repos/jam2in/arcus-misc/issues/comments{/number}","contents_url":"https://api.github.com/repos/jam2in/arcus-misc/contents/{+path}","compare_url":"https://api.github.com/repos/jam2in/arcus-misc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jam2in/arcus-misc/merges","archive_url":"https://api.github.com/repos/jam2in/arcus-misc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jam2in/arcus-misc/downloads","issues_url":"https://api.github.com/repos/jam2in/arcus-misc/issues{/number}","pulls_url":"https://api.github.com/repos/jam2in/arcus-misc/pulls{/number}","milestones_url":"https://api.github.com/repos/jam2in/arcus-misc/milestones{/number}","notifications_url":"https://api.github.com/repos/jam2in/arcus-misc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jam2in/arcus-misc/labels{/name}","releases_url":"https://api.github.com/repos/jam2in/arcus-misc/releases{/id}","deployments_url":"https://api.github.com/repos/jam2in/arcus-misc/deployments","created_at":"2015-06-08T07:11:26Z","updated_at":"2016-05-18T02:44:20Z","pushed_at":"2016-10-10T09:10:27Z","git_url":"git://github.com/jam2in/arcus-misc.git","ssh_url":"git@github.com:jam2in/arcus-misc.git","clone_url":"https://github.com/jam2in/arcus-misc.git","svn_url":"https://github.com/jam2in/arcus-misc","homepage":null,"size":587,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"replication"}},"base":{"label":"jam2in:replication","ref":"replication","sha":"ef61777a4ba1b3e434dd6bdd7db9145049edf88d","user":{"login":"jam2in","id":8220453,"avatar_url":"https://avatars.githubusercontent.com/u/8220453?v=3","gravatar_id":"","url":"https://api.github.com/users/jam2in","html_url":"https://github.com/jam2in","followers_url":"https://api.github.com/users/jam2in/followers","following_url":"https://api.github.com/users/jam2in/following{/other_user}","gists_url":"https://api.github.com/users/jam2in/gists{/gist_id}","starred_url":"https://api.github.com/users/jam2in/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jam2in/subscriptions","organizations_url":"https://api.github.com/users/jam2in/orgs","repos_url":"https://api.github.com/users/jam2in/repos","events_url":"https://api.github.com/users/jam2in/events{/privacy}","received_events_url":"https://api.github.com/users/jam2in/received_events","type":"Organization","site_admin":false},"repo":{"id":37051527,"name":"arcus-misc","full_name":"jam2in/arcus-misc","owner":{"login":"jam2in","id":8220453,"avatar_url":"https://avatars.githubusercontent.com/u/8220453?v=3","gravatar_id":"","url":"https://api.github.com/users/jam2in","html_url":"https://github.com/jam2in","followers_url":"https://api.github.com/users/jam2in/followers","following_url":"https://api.github.com/users/jam2in/following{/other_user}","gists_url":"https://api.github.com/users/jam2in/gists{/gist_id}","starred_url":"https://api.github.com/users/jam2in/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jam2in/subscriptions","organizations_url":"https://api.github.com/users/jam2in/orgs","repos_url":"https://api.github.com/users/jam2in/repos","events_url":"https://api.github.com/users/jam2in/events{/privacy}","received_events_url":"https://api.github.com/users/jam2in/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/jam2in/arcus-misc","description":"Arcus miscellaneous code","fork":true,"url":"https://api.github.com/repos/jam2in/arcus-misc","forks_url":"https://api.github.com/repos/jam2in/arcus-misc/forks","keys_url":"https://api.github.com/repos/jam2in/arcus-misc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jam2in/arcus-misc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jam2in/arcus-misc/teams","hooks_url":"https://api.github.com/repos/jam2in/arcus-misc/hooks","issue_events_url":"https://api.github.com/repos/jam2in/arcus-misc/issues/events{/number}","events_url":"https://api.github.com/repos/jam2in/arcus-misc/events","assignees_url":"https://api.github.com/repos/jam2in/arcus-misc/assignees{/user}","branches_url":"https://api.github.com/repos/jam2in/arcus-misc/branches{/branch}","tags_url":"https://api.github.com/repos/jam2in/arcus-misc/tags","blobs_url":"https://api.github.com/repos/jam2in/arcus-misc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jam2in/arcus-misc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jam2in/arcus-misc/git/refs{/sha}","trees_url":"https://api.github.com/repos/jam2in/arcus-misc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jam2in/arcus-misc/statuses/{sha}","languages_url":"https://api.github.com/repos/jam2in/arcus-misc/languages","stargazers_url":"https://api.github.com/repos/jam2in/arcus-misc/stargazers","contributors_url":"https://api.github.com/repos/jam2in/arcus-misc/contributors","subscribers_url":"https://api.github.com/repos/jam2in/arcus-misc/subscribers","subscription_url":"https://api.github.com/repos/jam2in/arcus-misc/subscription","commits_url":"https://api.github.com/repos/jam2in/arcus-misc/commits{/sha}","git_commits_url":"https://api.github.com/repos/jam2in/arcus-misc/git/commits{/sha}","comments_url":"https://api.github.com/repos/jam2in/arcus-misc/comments{/number}","issue_comment_url":"https://api.github.com/repos/jam2in/arcus-misc/issues/comments{/number}","contents_url":"https://api.github.com/repos/jam2in/arcus-misc/contents/{+path}","compare_url":"https://api.github.com/repos/jam2in/arcus-misc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jam2in/arcus-misc/merges","archive_url":"https://api.github.com/repos/jam2in/arcus-misc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jam2in/arcus-misc/downloads","issues_url":"https://api.github.com/repos/jam2in/arcus-misc/issues{/number}","pulls_url":"https://api.github.com/repos/jam2in/arcus-misc/pulls{/number}","milestones_url":"https://api.github.com/repos/jam2in/arcus-misc/milestones{/number}","notifications_url":"https://api.github.com/repos/jam2in/arcus-misc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jam2in/arcus-misc/labels{/name}","releases_url":"https://api.github.com/repos/jam2in/arcus-misc/releases{/id}","deployments_url":"https://api.github.com/repos/jam2in/arcus-misc/deployments","created_at":"2015-06-08T07:11:26Z","updated_at":"2016-05-18T02:44:20Z","pushed_at":"2016-10-10T09:10:27Z","git_url":"git://github.com/jam2in/arcus-misc.git","ssh_url":"git@github.com:jam2in/arcus-misc.git","clone_url":"https://github.com/jam2in/arcus-misc.git","svn_url":"https://github.com/jam2in/arcus-misc","homepage":null,"size":587,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"replication"}},"_links":{"self":{"href":"https://api.github.com/repos/jam2in/arcus-misc/pulls/3"},"html":{"href":"https://github.com/jam2in/arcus-misc/pull/3"},"issue":{"href":"https://api.github.com/repos/jam2in/arcus-misc/issues/3"},"comments":{"href":"https://api.github.com/repos/jam2in/arcus-misc/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/jam2in/arcus-misc/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/jam2in/arcus-misc/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jam2in/arcus-misc/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/jam2in/arcus-misc/statuses/9c0e92e628e24378d0024fa17259e82e1976074d"}}}}
{"actor":{"display_login":"MinWooJin"}}