{"action":"created","comment":{"url":"https://api.github.com/repos/jcabi/jcabi-aspects/pulls/comments/40713720","id":40713720,"diff_hunk":"@@ -276,19 +260,34 @@ private void clean() {\n          * Cached value.\n          */\n         private transient Object cached;\n+\n         /**\n          * Public ctor.\n-         * @param pnt Joint point\n-         * @param akey The key related to it\n+         * @param pnt ProceedingJoinPoint\n+         * @param akey MethodCacher.Key\n+         * @param aupdate Boolean\n          */\n-        Tunnel(final ProceedingJoinPoint pnt, final MethodCacher.Key akey) {\n+        Tunnel(final ProceedingJoinPoint pnt,\n+            final MethodCacher.Key akey, final boolean aupdate) {\n             this.point = pnt;\n             this.key = akey;\n+            this.asynchupdate = aupdate;\n         }\n+\n         @Override\n         public String toString() {\n             return Mnemos.toText(this.cached, true, false);\n         }\n+\n+        /**\n+         * Public ctor.","path":"src/main/java/com/jcabi/aspects/aj/MethodCacher.java","position":195,"original_position":195,"commit_id":"4042b5e5f337f54c72502a490c59758f7ba2466b","original_commit_id":"4042b5e5f337f54c72502a490c59758f7ba2466b","user":{"login":"54uso","id":5047416,"avatar_url":"https://avatars.githubusercontent.com/u/5047416?v=3","gravatar_id":"","url":"https://api.github.com/users/54uso","html_url":"https://github.com/54uso","followers_url":"https://api.github.com/users/54uso/followers","following_url":"https://api.github.com/users/54uso/following{/other_user}","gists_url":"https://api.github.com/users/54uso/gists{/gist_id}","starred_url":"https://api.github.com/users/54uso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/54uso/subscriptions","organizations_url":"https://api.github.com/users/54uso/orgs","repos_url":"https://api.github.com/users/54uso/repos","events_url":"https://api.github.com/users/54uso/events{/privacy}","received_events_url":"https://api.github.com/users/54uso/received_events","type":"User","site_admin":false},"body":"Sorry, my comment is wrong. This method is used to obtain a new instance. ","created_at":"2015-09-29T18:59:50Z","updated_at":"2015-09-29T18:59:50Z","html_url":"https://github.com/jcabi/jcabi-aspects/pull/187#discussion_r40713720","pull_request_url":"https://api.github.com/repos/jcabi/jcabi-aspects/pulls/187","_links":{"self":{"href":"https://api.github.com/repos/jcabi/jcabi-aspects/pulls/comments/40713720"},"html":{"href":"https://github.com/jcabi/jcabi-aspects/pull/187#discussion_r40713720"},"pull_request":{"href":"https://api.github.com/repos/jcabi/jcabi-aspects/pulls/187"}}},"pull_request":{"url":"https://api.github.com/repos/jcabi/jcabi-aspects/pulls/187","id":45650025,"html_url":"https://github.com/jcabi/jcabi-aspects/pull/187","diff_url":"https://github.com/jcabi/jcabi-aspects/pull/187.diff","patch_url":"https://github.com/jcabi/jcabi-aspects/pull/187.patch","issue_url":"https://api.github.com/repos/jcabi/jcabi-aspects/issues/187","number":187,"state":"open","locked":false,"title":"Add a method to asynchronously update the expiration cache","user":{"login":"54uso","id":5047416,"avatar_url":"https://avatars.githubusercontent.com/u/5047416?v=3","gravatar_id":"","url":"https://api.github.com/users/54uso","html_url":"https://github.com/54uso","followers_url":"https://api.github.com/users/54uso/followers","following_url":"https://api.github.com/users/54uso/following{/other_user}","gists_url":"https://api.github.com/users/54uso/gists{/gist_id}","starred_url":"https://api.github.com/users/54uso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/54uso/subscriptions","organizations_url":"https://api.github.com/users/54uso/orgs","repos_url":"https://api.github.com/users/54uso/repos","events_url":"https://api.github.com/users/54uso/events{/privacy}","received_events_url":"https://api.github.com/users/54uso/received_events","type":"User","site_admin":false},"body":"Insert \"asyncUpdate\" into annocation called Cacheable. If \"asyncUpdate\" is true, when this cache expired, updates data after returning. If 'asyncUpdate' is false, when this cache expired, updates data then returns. The default value of 'asyncUpdate' is false.","created_at":"2015-09-22T10:59:39Z","updated_at":"2015-09-29T18:59:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"135eb00318b3f971d2ad69aa392d8601ecc8e086","assignee":{"login":"pinaf","id":1054771,"avatar_url":"https://avatars.githubusercontent.com/u/1054771?v=3","gravatar_id":"","url":"https://api.github.com/users/pinaf","html_url":"https://github.com/pinaf","followers_url":"https://api.github.com/users/pinaf/followers","following_url":"https://api.github.com/users/pinaf/following{/other_user}","gists_url":"https://api.github.com/users/pinaf/gists{/gist_id}","starred_url":"https://api.github.com/users/pinaf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pinaf/subscriptions","organizations_url":"https://api.github.com/users/pinaf/orgs","repos_url":"https://api.github.com/users/pinaf/repos","events_url":"https://api.github.com/users/pinaf/events{/privacy}","received_events_url":"https://api.github.com/users/pinaf/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/jcabi/jcabi-aspects/pulls/187/commits","review_comments_url":"https://api.github.com/repos/jcabi/jcabi-aspects/pulls/187/comments","review_comment_url":"https://api.github.com/repos/jcabi/jcabi-aspects/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jcabi/jcabi-aspects/issues/187/comments","statuses_url":"https://api.github.com/repos/jcabi/jcabi-aspects/statuses/4042b5e5f337f54c72502a490c59758f7ba2466b","head":{"label":"54uso:master","ref":"master","sha":"4042b5e5f337f54c72502a490c59758f7ba2466b","user":{"login":"54uso","id":5047416,"avatar_url":"https://avatars.githubusercontent.com/u/5047416?v=3","gravatar_id":"","url":"https://api.github.com/users/54uso","html_url":"https://github.com/54uso","followers_url":"https://api.github.com/users/54uso/followers","following_url":"https://api.github.com/users/54uso/following{/other_user}","gists_url":"https://api.github.com/users/54uso/gists{/gist_id}","starred_url":"https://api.github.com/users/54uso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/54uso/subscriptions","organizations_url":"https://api.github.com/users/54uso/orgs","repos_url":"https://api.github.com/users/54uso/repos","events_url":"https://api.github.com/users/54uso/events{/privacy}","received_events_url":"https://api.github.com/users/54uso/received_events","type":"User","site_admin":false},"repo":{"id":30538828,"name":"jcabi-aspects","full_name":"54uso/jcabi-aspects","owner":{"login":"54uso","id":5047416,"avatar_url":"https://avatars.githubusercontent.com/u/5047416?v=3","gravatar_id":"","url":"https://api.github.com/users/54uso","html_url":"https://github.com/54uso","followers_url":"https://api.github.com/users/54uso/followers","following_url":"https://api.github.com/users/54uso/following{/other_user}","gists_url":"https://api.github.com/users/54uso/gists{/gist_id}","starred_url":"https://api.github.com/users/54uso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/54uso/subscriptions","organizations_url":"https://api.github.com/users/54uso/orgs","repos_url":"https://api.github.com/users/54uso/repos","events_url":"https://api.github.com/users/54uso/events{/privacy}","received_events_url":"https://api.github.com/users/54uso/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/54uso/jcabi-aspects","description":"Collection of AOP/AspectJ Java Aspects","fork":true,"url":"https://api.github.com/repos/54uso/jcabi-aspects","forks_url":"https://api.github.com/repos/54uso/jcabi-aspects/forks","keys_url":"https://api.github.com/repos/54uso/jcabi-aspects/keys{/key_id}","collaborators_url":"https://api.github.com/repos/54uso/jcabi-aspects/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/54uso/jcabi-aspects/teams","hooks_url":"https://api.github.com/repos/54uso/jcabi-aspects/hooks","issue_events_url":"https://api.github.com/repos/54uso/jcabi-aspects/issues/events{/number}","events_url":"https://api.github.com/repos/54uso/jcabi-aspects/events","assignees_url":"https://api.github.com/repos/54uso/jcabi-aspects/assignees{/user}","branches_url":"https://api.github.com/repos/54uso/jcabi-aspects/branches{/branch}","tags_url":"https://api.github.com/repos/54uso/jcabi-aspects/tags","blobs_url":"https://api.github.com/repos/54uso/jcabi-aspects/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/54uso/jcabi-aspects/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/54uso/jcabi-aspects/git/refs{/sha}","trees_url":"https://api.github.com/repos/54uso/jcabi-aspects/git/trees{/sha}","statuses_url":"https://api.github.com/repos/54uso/jcabi-aspects/statuses/{sha}","languages_url":"https://api.github.com/repos/54uso/jcabi-aspects/languages","stargazers_url":"https://api.github.com/repos/54uso/jcabi-aspects/stargazers","contributors_url":"https://api.github.com/repos/54uso/jcabi-aspects/contributors","subscribers_url":"https://api.github.com/repos/54uso/jcabi-aspects/subscribers","subscription_url":"https://api.github.com/repos/54uso/jcabi-aspects/subscription","commits_url":"https://api.github.com/repos/54uso/jcabi-aspects/commits{/sha}","git_commits_url":"https://api.github.com/repos/54uso/jcabi-aspects/git/commits{/sha}","comments_url":"https://api.github.com/repos/54uso/jcabi-aspects/comments{/number}","issue_comment_url":"https://api.github.com/repos/54uso/jcabi-aspects/issues/comments{/number}","contents_url":"https://api.github.com/repos/54uso/jcabi-aspects/contents/{+path}","compare_url":"https://api.github.com/repos/54uso/jcabi-aspects/compare/{base}...{head}","merges_url":"https://api.github.com/repos/54uso/jcabi-aspects/merges","archive_url":"https://api.github.com/repos/54uso/jcabi-aspects/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/54uso/jcabi-aspects/downloads","issues_url":"https://api.github.com/repos/54uso/jcabi-aspects/issues{/number}","pulls_url":"https://api.github.com/repos/54uso/jcabi-aspects/pulls{/number}","milestones_url":"https://api.github.com/repos/54uso/jcabi-aspects/milestones{/number}","notifications_url":"https://api.github.com/repos/54uso/jcabi-aspects/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/54uso/jcabi-aspects/labels{/name}","releases_url":"https://api.github.com/repos/54uso/jcabi-aspects/releases{/id}","created_at":"2015-02-09T14:10:56Z","updated_at":"2015-02-09T14:10:57Z","pushed_at":"2015-09-29T08:58:06Z","git_url":"git://github.com/54uso/jcabi-aspects.git","ssh_url":"git@github.com:54uso/jcabi-aspects.git","clone_url":"https://github.com/54uso/jcabi-aspects.git","svn_url":"https://github.com/54uso/jcabi-aspects","homepage":"aspects.jcabi.com","size":3991,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"jcabi:master","ref":"master","sha":"1bacbe425a5b39409c91b1b1992904ffc65816d9","user":{"login":"jcabi","id":5272640,"avatar_url":"https://avatars.githubusercontent.com/u/5272640?v=3","gravatar_id":"","url":"https://api.github.com/users/jcabi","html_url":"https://github.com/jcabi","followers_url":"https://api.github.com/users/jcabi/followers","following_url":"https://api.github.com/users/jcabi/following{/other_user}","gists_url":"https://api.github.com/users/jcabi/gists{/gist_id}","starred_url":"https://api.github.com/users/jcabi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcabi/subscriptions","organizations_url":"https://api.github.com/users/jcabi/orgs","repos_url":"https://api.github.com/users/jcabi/repos","events_url":"https://api.github.com/users/jcabi/events{/privacy}","received_events_url":"https://api.github.com/users/jcabi/received_events","type":"Organization","site_admin":false},"repo":{"id":12590126,"name":"jcabi-aspects","full_name":"jcabi/jcabi-aspects","owner":{"login":"jcabi","id":5272640,"avatar_url":"https://avatars.githubusercontent.com/u/5272640?v=3","gravatar_id":"","url":"https://api.github.com/users/jcabi","html_url":"https://github.com/jcabi","followers_url":"https://api.github.com/users/jcabi/followers","following_url":"https://api.github.com/users/jcabi/following{/other_user}","gists_url":"https://api.github.com/users/jcabi/gists{/gist_id}","starred_url":"https://api.github.com/users/jcabi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcabi/subscriptions","organizations_url":"https://api.github.com/users/jcabi/orgs","repos_url":"https://api.github.com/users/jcabi/repos","events_url":"https://api.github.com/users/jcabi/events{/privacy}","received_events_url":"https://api.github.com/users/jcabi/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/jcabi/jcabi-aspects","description":"Collection of AOP/AspectJ Java Aspects","fork":false,"url":"https://api.github.com/repos/jcabi/jcabi-aspects","forks_url":"https://api.github.com/repos/jcabi/jcabi-aspects/forks","keys_url":"https://api.github.com/repos/jcabi/jcabi-aspects/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jcabi/jcabi-aspects/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jcabi/jcabi-aspects/teams","hooks_url":"https://api.github.com/repos/jcabi/jcabi-aspects/hooks","issue_events_url":"https://api.github.com/repos/jcabi/jcabi-aspects/issues/events{/number}","events_url":"https://api.github.com/repos/jcabi/jcabi-aspects/events","assignees_url":"https://api.github.com/repos/jcabi/jcabi-aspects/assignees{/user}","branches_url":"https://api.github.com/repos/jcabi/jcabi-aspects/branches{/branch}","tags_url":"https://api.github.com/repos/jcabi/jcabi-aspects/tags","blobs_url":"https://api.github.com/repos/jcabi/jcabi-aspects/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jcabi/jcabi-aspects/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jcabi/jcabi-aspects/git/refs{/sha}","trees_url":"https://api.github.com/repos/jcabi/jcabi-aspects/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jcabi/jcabi-aspects/statuses/{sha}","languages_url":"https://api.github.com/repos/jcabi/jcabi-aspects/languages","stargazers_url":"https://api.github.com/repos/jcabi/jcabi-aspects/stargazers","contributors_url":"https://api.github.com/repos/jcabi/jcabi-aspects/contributors","subscribers_url":"https://api.github.com/repos/jcabi/jcabi-aspects/subscribers","subscription_url":"https://api.github.com/repos/jcabi/jcabi-aspects/subscription","commits_url":"https://api.github.com/repos/jcabi/jcabi-aspects/commits{/sha}","git_commits_url":"https://api.github.com/repos/jcabi/jcabi-aspects/git/commits{/sha}","comments_url":"https://api.github.com/repos/jcabi/jcabi-aspects/comments{/number}","issue_comment_url":"https://api.github.com/repos/jcabi/jcabi-aspects/issues/comments{/number}","contents_url":"https://api.github.com/repos/jcabi/jcabi-aspects/contents/{+path}","compare_url":"https://api.github.com/repos/jcabi/jcabi-aspects/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jcabi/jcabi-aspects/merges","archive_url":"https://api.github.com/repos/jcabi/jcabi-aspects/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jcabi/jcabi-aspects/downloads","issues_url":"https://api.github.com/repos/jcabi/jcabi-aspects/issues{/number}","pulls_url":"https://api.github.com/repos/jcabi/jcabi-aspects/pulls{/number}","milestones_url":"https://api.github.com/repos/jcabi/jcabi-aspects/milestones{/number}","notifications_url":"https://api.github.com/repos/jcabi/jcabi-aspects/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jcabi/jcabi-aspects/labels{/name}","releases_url":"https://api.github.com/repos/jcabi/jcabi-aspects/releases{/id}","created_at":"2013-09-04T12:25:37Z","updated_at":"2015-09-29T09:24:53Z","pushed_at":"2015-09-29T15:42:17Z","git_url":"git://github.com/jcabi/jcabi-aspects.git","ssh_url":"git@github.com:jcabi/jcabi-aspects.git","clone_url":"https://github.com/jcabi/jcabi-aspects.git","svn_url":"https://github.com/jcabi/jcabi-aspects","homepage":"aspects.jcabi.com","size":5808,"stargazers_count":148,"watchers_count":148,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":63,"mirror_url":null,"open_issues_count":34,"forks":63,"open_issues":34,"watchers":148,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jcabi/jcabi-aspects/pulls/187"},"html":{"href":"https://github.com/jcabi/jcabi-aspects/pull/187"},"issue":{"href":"https://api.github.com/repos/jcabi/jcabi-aspects/issues/187"},"comments":{"href":"https://api.github.com/repos/jcabi/jcabi-aspects/issues/187/comments"},"review_comments":{"href":"https://api.github.com/repos/jcabi/jcabi-aspects/pulls/187/comments"},"review_comment":{"href":"https://api.github.com/repos/jcabi/jcabi-aspects/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jcabi/jcabi-aspects/pulls/187/commits"},"statuses":{"href":"https://api.github.com/repos/jcabi/jcabi-aspects/statuses/4042b5e5f337f54c72502a490c59758f7ba2466b"}}}}