{"action":"created","comment":{"url":"https://api.github.com/repos/jam2in/arcus-java-client/pulls/comments/75638971","id":75638971,"diff_hunk":"@@ -141,6 +141,84 @@ public ByteBuffer getBinaryCommand() {\n \t\t}\n \t}\n \n+\n+\tpublic static class MapPipedUpdate<T> extends CollectionPipedUpdate<T> {\n+\n+\t\tprivate static final String COMMAND = \"mop update\";\n+\t\tprivate List<MapElement<T>> mapElements;\n+\n+\t\tpublic MapPipedUpdate(String key, List<MapElement<T>> mapElements,\n+\t\t                      Transcoder<T> tc) {\n+\t\t\tthis.key = key;\n+\t\t\tthis.mapElements = mapElements;\n+\t\t\tthis.tc = tc;\n+\t\t\tthis.itemCount = mapElements.size();\n+\t\t}\n+\n+\t\tpublic ByteBuffer getAsciiCommand() {\n+\t\t\tint capacity = 0;\n+\n+\t\t\t// decode parameters\n+\t\t\tList<byte[]> encodedList = new ArrayList<byte[]>(mapElements.size());\n+\t\t\tCachedData cd = null;\n+\t\t\tfor (MapElement<T> each : mapElements) {\n+\t\t\t\tif (each.getValue() != null) {\n+\t\t\t\t\tcd = tc.encode(each.getValue());\n+\t\t\t\t\tencodedList.add(cd.getData());\n+\t\t\t\t} else {\n+\t\t\t\t\tencodedList.add(null);","path":"src/main/java/net/spy/memcached/collection/CollectionPipedUpdate.java","position":29,"original_position":29,"commit_id":"936ddf634b91ac67d4ad0c713b5a8bb89d27d725","original_commit_id":"936ddf634b91ac67d4ad0c713b5a8bb89d27d725","user":{"login":"jhpark816","id":175927,"avatar_url":"https://avatars.githubusercontent.com/u/175927?v=3","gravatar_id":"","url":"https://api.github.com/users/jhpark816","html_url":"https://github.com/jhpark816","followers_url":"https://api.github.com/users/jhpark816/followers","following_url":"https://api.github.com/users/jhpark816/following{/other_user}","gists_url":"https://api.github.com/users/jhpark816/gists{/gist_id}","starred_url":"https://api.github.com/users/jhpark816/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhpark816/subscriptions","organizations_url":"https://api.github.com/users/jhpark816/orgs","repos_url":"https://api.github.com/users/jhpark816/repos","events_url":"https://api.github.com/users/jhpark816/events{/privacy}","received_events_url":"https://api.github.com/users/jhpark816/received_events","type":"User","site_admin":false},"body":"이런 경우가 발생하나요 ?\r\n응용에서 입장에선, update할 mkey에 대해 new value를 항상 명시할 것이기 때문입니다.","created_at":"2016-08-22T08:50:58Z","updated_at":"2016-08-22T08:50:58Z","html_url":"https://github.com/jam2in/arcus-java-client/pull/10#discussion_r75638971","pull_request_url":"https://api.github.com/repos/jam2in/arcus-java-client/pulls/10","_links":{"self":{"href":"https://api.github.com/repos/jam2in/arcus-java-client/pulls/comments/75638971"},"html":{"href":"https://github.com/jam2in/arcus-java-client/pull/10#discussion_r75638971"},"pull_request":{"href":"https://api.github.com/repos/jam2in/arcus-java-client/pulls/10"}}},"pull_request":{"url":"https://api.github.com/repos/jam2in/arcus-java-client/pulls/10","id":79534266,"html_url":"https://github.com/jam2in/arcus-java-client/pull/10","diff_url":"https://github.com/jam2in/arcus-java-client/pull/10.diff","patch_url":"https://github.com/jam2in/arcus-java-client/pull/10.patch","issue_url":"https://api.github.com/repos/jam2in/arcus-java-client/issues/10","number":10,"state":"open","locked":false,"title":"MAP_COLLECTION","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":"First reviewer\r\n- [x] @whchoi83 \r\n- [x] @aiceru \r\n\r\nFinal reviewer\r\n- [ ] @jhpark816 ","created_at":"2016-08-01T08:52:25Z","updated_at":"2016-08-22T08:50:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7f170f9ed39f6e8a1c2515d5431313179f4e5348","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/jam2in/arcus-java-client/pulls/10/commits","review_comments_url":"https://api.github.com/repos/jam2in/arcus-java-client/pulls/10/comments","review_comment_url":"https://api.github.com/repos/jam2in/arcus-java-client/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jam2in/arcus-java-client/issues/10/comments","statuses_url":"https://api.github.com/repos/jam2in/arcus-java-client/statuses/936ddf634b91ac67d4ad0c713b5a8bb89d27d725","head":{"label":"jam2in:mwjin/addmap","ref":"mwjin/addmap","sha":"936ddf634b91ac67d4ad0c713b5a8bb89d27d725","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":39112427,"name":"arcus-java-client","full_name":"jam2in/arcus-java-client","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-java-client","description":"Arcus Java client","fork":true,"url":"https://api.github.com/repos/jam2in/arcus-java-client","forks_url":"https://api.github.com/repos/jam2in/arcus-java-client/forks","keys_url":"https://api.github.com/repos/jam2in/arcus-java-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jam2in/arcus-java-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jam2in/arcus-java-client/teams","hooks_url":"https://api.github.com/repos/jam2in/arcus-java-client/hooks","issue_events_url":"https://api.github.com/repos/jam2in/arcus-java-client/issues/events{/number}","events_url":"https://api.github.com/repos/jam2in/arcus-java-client/events","assignees_url":"https://api.github.com/repos/jam2in/arcus-java-client/assignees{/user}","branches_url":"https://api.github.com/repos/jam2in/arcus-java-client/branches{/branch}","tags_url":"https://api.github.com/repos/jam2in/arcus-java-client/tags","blobs_url":"https://api.github.com/repos/jam2in/arcus-java-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jam2in/arcus-java-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jam2in/arcus-java-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/jam2in/arcus-java-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jam2in/arcus-java-client/statuses/{sha}","languages_url":"https://api.github.com/repos/jam2in/arcus-java-client/languages","stargazers_url":"https://api.github.com/repos/jam2in/arcus-java-client/stargazers","contributors_url":"https://api.github.com/repos/jam2in/arcus-java-client/contributors","subscribers_url":"https://api.github.com/repos/jam2in/arcus-java-client/subscribers","subscription_url":"https://api.github.com/repos/jam2in/arcus-java-client/subscription","commits_url":"https://api.github.com/repos/jam2in/arcus-java-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/jam2in/arcus-java-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/jam2in/arcus-java-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/jam2in/arcus-java-client/issues/comments{/number}","contents_url":"https://api.github.com/repos/jam2in/arcus-java-client/contents/{+path}","compare_url":"https://api.github.com/repos/jam2in/arcus-java-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jam2in/arcus-java-client/merges","archive_url":"https://api.github.com/repos/jam2in/arcus-java-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jam2in/arcus-java-client/downloads","issues_url":"https://api.github.com/repos/jam2in/arcus-java-client/issues{/number}","pulls_url":"https://api.github.com/repos/jam2in/arcus-java-client/pulls{/number}","milestones_url":"https://api.github.com/repos/jam2in/arcus-java-client/milestones{/number}","notifications_url":"https://api.github.com/repos/jam2in/arcus-java-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jam2in/arcus-java-client/labels{/name}","releases_url":"https://api.github.com/repos/jam2in/arcus-java-client/releases{/id}","deployments_url":"https://api.github.com/repos/jam2in/arcus-java-client/deployments","created_at":"2015-07-15T02:41:39Z","updated_at":"2016-07-11T08:46:57Z","pushed_at":"2016-08-22T06:43:46Z","git_url":"git://github.com/jam2in/arcus-java-client.git","ssh_url":"git@github.com:jam2in/arcus-java-client.git","clone_url":"https://github.com/jam2in/arcus-java-client.git","svn_url":"https://github.com/jam2in/arcus-java-client","homepage":null,"size":1204,"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":9,"forks":0,"open_issues":9,"watchers":0,"default_branch":"master"}},"base":{"label":"jam2in:develop","ref":"develop","sha":"91fac1c48d18d00b8a5f7b8d0a6223963a918f50","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":39112427,"name":"arcus-java-client","full_name":"jam2in/arcus-java-client","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-java-client","description":"Arcus Java client","fork":true,"url":"https://api.github.com/repos/jam2in/arcus-java-client","forks_url":"https://api.github.com/repos/jam2in/arcus-java-client/forks","keys_url":"https://api.github.com/repos/jam2in/arcus-java-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jam2in/arcus-java-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jam2in/arcus-java-client/teams","hooks_url":"https://api.github.com/repos/jam2in/arcus-java-client/hooks","issue_events_url":"https://api.github.com/repos/jam2in/arcus-java-client/issues/events{/number}","events_url":"https://api.github.com/repos/jam2in/arcus-java-client/events","assignees_url":"https://api.github.com/repos/jam2in/arcus-java-client/assignees{/user}","branches_url":"https://api.github.com/repos/jam2in/arcus-java-client/branches{/branch}","tags_url":"https://api.github.com/repos/jam2in/arcus-java-client/tags","blobs_url":"https://api.github.com/repos/jam2in/arcus-java-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jam2in/arcus-java-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jam2in/arcus-java-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/jam2in/arcus-java-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jam2in/arcus-java-client/statuses/{sha}","languages_url":"https://api.github.com/repos/jam2in/arcus-java-client/languages","stargazers_url":"https://api.github.com/repos/jam2in/arcus-java-client/stargazers","contributors_url":"https://api.github.com/repos/jam2in/arcus-java-client/contributors","subscribers_url":"https://api.github.com/repos/jam2in/arcus-java-client/subscribers","subscription_url":"https://api.github.com/repos/jam2in/arcus-java-client/subscription","commits_url":"https://api.github.com/repos/jam2in/arcus-java-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/jam2in/arcus-java-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/jam2in/arcus-java-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/jam2in/arcus-java-client/issues/comments{/number}","contents_url":"https://api.github.com/repos/jam2in/arcus-java-client/contents/{+path}","compare_url":"https://api.github.com/repos/jam2in/arcus-java-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jam2in/arcus-java-client/merges","archive_url":"https://api.github.com/repos/jam2in/arcus-java-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jam2in/arcus-java-client/downloads","issues_url":"https://api.github.com/repos/jam2in/arcus-java-client/issues{/number}","pulls_url":"https://api.github.com/repos/jam2in/arcus-java-client/pulls{/number}","milestones_url":"https://api.github.com/repos/jam2in/arcus-java-client/milestones{/number}","notifications_url":"https://api.github.com/repos/jam2in/arcus-java-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jam2in/arcus-java-client/labels{/name}","releases_url":"https://api.github.com/repos/jam2in/arcus-java-client/releases{/id}","deployments_url":"https://api.github.com/repos/jam2in/arcus-java-client/deployments","created_at":"2015-07-15T02:41:39Z","updated_at":"2016-07-11T08:46:57Z","pushed_at":"2016-08-22T06:43:46Z","git_url":"git://github.com/jam2in/arcus-java-client.git","ssh_url":"git@github.com:jam2in/arcus-java-client.git","clone_url":"https://github.com/jam2in/arcus-java-client.git","svn_url":"https://github.com/jam2in/arcus-java-client","homepage":null,"size":1204,"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":9,"forks":0,"open_issues":9,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jam2in/arcus-java-client/pulls/10"},"html":{"href":"https://github.com/jam2in/arcus-java-client/pull/10"},"issue":{"href":"https://api.github.com/repos/jam2in/arcus-java-client/issues/10"},"comments":{"href":"https://api.github.com/repos/jam2in/arcus-java-client/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/jam2in/arcus-java-client/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/jam2in/arcus-java-client/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jam2in/arcus-java-client/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/jam2in/arcus-java-client/statuses/936ddf634b91ac67d4ad0c713b5a8bb89d27d725"}}}}
{"actor":{"display_login":"jhpark816"}}