{"action":"created","comment":{"url":"https://api.github.com/repos/hazelcast/hazelcast/pulls/comments/27644967","id":27644967,"diff_hunk":"@@ -0,0 +1,249 @@\n+package com.hazelcast.spi.impl.operationservice.impl;\n+\n+import com.hazelcast.core.HazelcastOverloadException;\n+import com.hazelcast.spi.BackupAwareOperation;\n+\n+import java.util.concurrent.atomic.AtomicLongArray;\n+import java.util.concurrent.atomic.AtomicLongFieldUpdater;\n+\n+import static com.hazelcast.spi.Operation.CALL_ID_LOCAL_SKIPPED;\n+import static com.hazelcast.spi.OperationAccessor.setCallTimeout;\n+\n+/**\n+ * Responsible for generating callIds.\n+ * <p/>\n+ * It is very important that for each {@link #next(Invocation)}, there is a matching {@link #complete(Invocation)}.\n+ * If this doesn't match, than either the number of concurrent invocations can grow or shrink over time. This can lead\n+ * to OOME or deadlock.\n+ * <p/>\n+ * The CallIdSequence provides back pressure if enabled and there are too many concurrent invocations. When this happens,\n+ * an exponential backoff policy is applied.\n+ * <p/>\n+ * Currently a single CallIdSequence is used for all partitions; so there is contention. Also one partition can cause problems\n+ * in other partition if a lot of invocations are created for that partition. Then other partitions can't make as many invocations\n+ * because a single callIdSequence is being used.\n+ * <p/>\n+ * In the future we could add a CallIdSequence per partition or using some 'concurrency level' and do a mod based on the\n+ * partition-id. The advantage is that you reduce contention and improved isolation, at the expensive of:\n+ * <ol>\n+ *     <li>increased complexity</li>\n+ *     <li>not always being able to fully utilize the number of invocations.</li>\n+ * </ol>\n+ *\n+ */\n+public abstract class CallIdSequence {\n+\n+    // just for testing purposes.\n+    abstract long getLastCallId();\n+\n+    /**\n+     * Returns the maximum concurrent invocations supported. Integer.MAX_VALUE means there is no max.\n+     *\n+     * @return the maximum concurrent invocation.\n+     */\n+    public abstract int getMaxConcurrentInvocations();\n+\n+    /**\n+     * Creates the next call-id.\n+     * <p/>\n+     * {@link com.hazelcast.spi.Operation#CALL_ID_LOCAL_SKIPPED} is returned if local registration in\n+     * the InvocationRegistry can be skipped.\n+     *\n+     * @param invocation the Invocation to create a call-id for.\n+     * @return the generated callId.\n+     * @throws AssertionError if invocation.op.callId not equals 0\n+     */\n+    public abstract long next(Invocation invocation);\n+\n+    public abstract void complete(Invocation invocation);\n+\n+    /**\n+     * Not every call needs to be registered. A call that is local and has no backups, doesn't need to be registered\n+     * since there will not be a remote machine sending a response back to the invocation.\n+     *\n+     * @param invocation\n+     * @return true if registration is required, false otherwise.\n+     */\n+    protected boolean skipRegistration(Invocation invocation) {\n+        if (invocation.remote) {\n+            return false;\n+        }\n+\n+        if (invocation.op instanceof BackupAwareOperation) {\n+            return false;\n+        }\n+\n+        return true;\n+    }\n+\n+    public static final class CallIdSequenceWithoutBackpressure extends CallIdSequence {\n+\n+        private static final AtomicLongFieldUpdater<CallIdSequenceWithoutBackpressure> HEAD\n+                = AtomicLongFieldUpdater.newUpdater(CallIdSequenceWithoutBackpressure.class, \"head\");\n+\n+        private volatile long head;\n+\n+        @Override\n+        public long getLastCallId() {\n+            return head;\n+        }\n+\n+        @Override\n+        public int getMaxConcurrentInvocations() {\n+            return Integer.MAX_VALUE;\n+        }\n+\n+        @Override\n+        public long next(Invocation invocation) {\n+            assert invocation.op.getCallId() == 0 : \"callId should be null:\" + invocation;\n+\n+            if (skipRegistration(invocation)) {\n+                return CALL_ID_LOCAL_SKIPPED;\n+            }\n+\n+            return HEAD.incrementAndGet(this);\n+        }\n+\n+        @Override\n+        public void complete(Invocation invocation) {\n+            //no-op\n+        }\n+    }\n+\n+    /**\n+     * A {@link com.hazelcast.spi.impl.operationservice.impl.CallIdSequence} that provided backpressure by taking\n+     * the number in flight operations into account when a call-id needs to be determined.\n+     *\n+     * It is possible to temporary exceed the capacity:\n+     * - due to system operations\n+     * - due to racy nature of checking if space is available and getting the next sequence.\n+     *\n+     * The last cause is not a problem since the capacity is exceeded temporary and it isn't sustainable. So perhaps\n+     * there are a few threads that at the same time see that the there is space and do a next. But any following\n+     * invocation needs to wait till there is is capacity.\n+     */\n+    public static final class CallIdSequenceWithBackpressure extends CallIdSequence {\n+        private static final int MAX_DELAY_MS = 500;\n+        private static final int INDEX_HEAD = 7;\n+        private static final int INDEX_TAIL = 15;\n+\n+        // instead of using 2 AtomicLongs, we use an array if width of 3 cache lines to prevent any false sharing.\n+        private final AtomicLongArray longs = new AtomicLongArray(24);\n+\n+        private final int maxConcurrentInvocations;\n+\n+        public CallIdSequenceWithBackpressure(int maxConcurrentInvocations) {\n+            if (maxConcurrentInvocations < 1) {\n+                throw new IllegalArgumentException(\"maxConcurrentInvocations can't be smaller than 1\");\n+            }\n+            this.maxConcurrentInvocations = maxConcurrentInvocations;\n+        }\n+\n+        @Override\n+        public long getLastCallId() {\n+            return longs.get(INDEX_HEAD);\n+        }\n+\n+        long getTail() {\n+            return longs.get(INDEX_TAIL);\n+        }\n+\n+        @Override\n+        public int getMaxConcurrentInvocations() {\n+            return maxConcurrentInvocations;\n+        }\n+\n+        @Override\n+        public long next(Invocation invocation) {\n+            assert invocation.op.getCallId() == 0 : \"callId should be null:\" + invocation;\n+\n+            if (!invocation.op.isUrgent()) {\n+                if (!hasSpace()) {\n+                    waitForSpace(invocation);\n+                }\n+            }\n+\n+            // we need to generate a sequence, no matter if the invocation is going to skip registration.\n+            // because this information is used to determine the number of in flight invocations\n+            long callId = next();\n+\n+            if (skipRegistration(invocation)) {\n+                return CALL_ID_LOCAL_SKIPPED;\n+            } else {\n+                return callId;\n+            }\n+        }\n+\n+        private long next() {\n+            return longs.incrementAndGet(INDEX_HEAD);\n+        }\n+\n+        private boolean hasSpace() {\n+            return longs.get(INDEX_HEAD) - longs.get(INDEX_TAIL) < maxConcurrentInvocations;\n+        }\n+\n+        private void waitForSpace(Invocation invocation) {\n+            long remainingTimeoutMs = invocation.op.getCallTimeout();\n+            boolean restoreInterrupt = false;\n+            try {\n+                long delayMs = 1;\n+                for (; ; ) {\n+                    long startMs = System.currentTimeMillis();\n+                    try {\n+                        Thread.sleep(delayMs);\n+                    } catch (InterruptedException e) {\n+                        restoreInterrupt = true;\n+                    }\n+                    long durationMs = System.currentTimeMillis() - startMs;\n+                    remainingTimeoutMs -= durationMs;\n+\n+                    if (hasSpace()) {\n+                        return;\n+                    }\n+\n+                    if (remainingTimeoutMs <= 0) {\n+                        remainingTimeoutMs = 0;\n+                        throw new HazelcastOverloadException(\"Failed to get a callId for invocation: \" + invocation);\n+                    }\n+\n+                    delayMs = nextDelay(remainingTimeoutMs, delayMs);\n+                    remainingTimeoutMs -= delayMs;\n+                }\n+            } finally {\n+                setCallTimeout(invocation.op, remainingTimeoutMs);","path":"hazelcast/src/main/java/com/hazelcast/spi/impl/operationservice/impl/CallIdSequence.java","position":213,"original_position":213,"commit_id":"442bfc609307ec4a8f361bf4cdb72965e702be00","original_commit_id":"442bfc609307ec4a8f361bf4cdb72965e702be00","user":{"login":"pveentjer","id":105243,"avatar_url":"https://avatars.githubusercontent.com/u/105243?v=3","gravatar_id":"","url":"https://api.github.com/users/pveentjer","html_url":"https://github.com/pveentjer","followers_url":"https://api.github.com/users/pveentjer/followers","following_url":"https://api.github.com/users/pveentjer/following{/other_user}","gists_url":"https://api.github.com/users/pveentjer/gists{/gist_id}","starred_url":"https://api.github.com/users/pveentjer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pveentjer/subscriptions","organizations_url":"https://api.github.com/users/pveentjer/orgs","repos_url":"https://api.github.com/users/pveentjer/repos","events_url":"https://api.github.com/users/pveentjer/events{/privacy}","received_events_url":"https://api.github.com/users/pveentjer/received_events","type":"User","site_admin":false},"body":"Thanks. I'll do  that. We can always come up with a different mechanism later. ","created_at":"2015-04-02T10:05:27Z","updated_at":"2015-04-02T10:05:27Z","html_url":"https://github.com/hazelcast/hazelcast/pull/4859#discussion_r27644967","pull_request_url":"https://api.github.com/repos/hazelcast/hazelcast/pulls/4859","_links":{"self":{"href":"https://api.github.com/repos/hazelcast/hazelcast/pulls/comments/27644967"},"html":{"href":"https://github.com/hazelcast/hazelcast/pull/4859#discussion_r27644967"},"pull_request":{"href":"https://api.github.com/repos/hazelcast/hazelcast/pulls/4859"}}},"pull_request":{"url":"https://api.github.com/repos/hazelcast/hazelcast/pulls/4859","id":31696284,"html_url":"https://github.com/hazelcast/hazelcast/pull/4859","diff_url":"https://github.com/hazelcast/hazelcast/pull/4859.diff","patch_url":"https://github.com/hazelcast/hazelcast/pull/4859.patch","issue_url":"https://api.github.com/repos/hazelcast/hazelcast/issues/4859","number":4859,"state":"open","locked":false,"title":"Improved back pressure","user":{"login":"pveentjer","id":105243,"avatar_url":"https://avatars.githubusercontent.com/u/105243?v=3","gravatar_id":"","url":"https://api.github.com/users/pveentjer","html_url":"https://github.com/pveentjer","followers_url":"https://api.github.com/users/pveentjer/followers","following_url":"https://api.github.com/users/pveentjer/following{/other_user}","gists_url":"https://api.github.com/users/pveentjer/gists{/gist_id}","starred_url":"https://api.github.com/users/pveentjer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pveentjer/subscriptions","organizations_url":"https://api.github.com/users/pveentjer/orgs","repos_url":"https://api.github.com/users/pveentjer/repos","events_url":"https://api.github.com/users/pveentjer/events{/privacy}","received_events_url":"https://api.github.com/users/pveentjer/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-03-22T22:19:56Z","updated_at":"2015-04-02T10:05:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"527b54c081cd7c51ab19a3a6f13bcf6d1ff46a1f","assignee":null,"milestone":{"url":"https://api.github.com/repos/hazelcast/hazelcast/milestones/55","html_url":"https://github.com/hazelcast/hazelcast/milestones/3.5","labels_url":"https://api.github.com/repos/hazelcast/hazelcast/milestones/55/labels","id":819785,"number":55,"title":"3.5","description":null,"creator":{"login":"sancar","id":570462,"avatar_url":"https://avatars.githubusercontent.com/u/570462?v=3","gravatar_id":"","url":"https://api.github.com/users/sancar","html_url":"https://github.com/sancar","followers_url":"https://api.github.com/users/sancar/followers","following_url":"https://api.github.com/users/sancar/following{/other_user}","gists_url":"https://api.github.com/users/sancar/gists{/gist_id}","starred_url":"https://api.github.com/users/sancar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sancar/subscriptions","organizations_url":"https://api.github.com/users/sancar/orgs","repos_url":"https://api.github.com/users/sancar/repos","events_url":"https://api.github.com/users/sancar/events{/privacy}","received_events_url":"https://api.github.com/users/sancar/received_events","type":"User","site_admin":false},"open_issues":117,"closed_issues":313,"state":"open","created_at":"2014-10-09T13:04:53Z","updated_at":"2015-04-02T09:40:54Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/hazelcast/hazelcast/pulls/4859/commits","review_comments_url":"https://api.github.com/repos/hazelcast/hazelcast/pulls/4859/comments","review_comment_url":"https://api.github.com/repos/hazelcast/hazelcast/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hazelcast/hazelcast/issues/4859/comments","statuses_url":"https://api.github.com/repos/hazelcast/hazelcast/statuses/442bfc609307ec4a8f361bf4cdb72965e702be00","head":{"label":"pveentjer:feature/3.x/improved-back-pressure","ref":"feature/3.x/improved-back-pressure","sha":"442bfc609307ec4a8f361bf4cdb72965e702be00","user":{"login":"pveentjer","id":105243,"avatar_url":"https://avatars.githubusercontent.com/u/105243?v=3","gravatar_id":"","url":"https://api.github.com/users/pveentjer","html_url":"https://github.com/pveentjer","followers_url":"https://api.github.com/users/pveentjer/followers","following_url":"https://api.github.com/users/pveentjer/following{/other_user}","gists_url":"https://api.github.com/users/pveentjer/gists{/gist_id}","starred_url":"https://api.github.com/users/pveentjer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pveentjer/subscriptions","organizations_url":"https://api.github.com/users/pveentjer/orgs","repos_url":"https://api.github.com/users/pveentjer/repos","events_url":"https://api.github.com/users/pveentjer/events{/privacy}","received_events_url":"https://api.github.com/users/pveentjer/received_events","type":"User","site_admin":false},"repo":{"id":10990111,"name":"hazelcast","full_name":"pveentjer/hazelcast","owner":{"login":"pveentjer","id":105243,"avatar_url":"https://avatars.githubusercontent.com/u/105243?v=3","gravatar_id":"","url":"https://api.github.com/users/pveentjer","html_url":"https://github.com/pveentjer","followers_url":"https://api.github.com/users/pveentjer/followers","following_url":"https://api.github.com/users/pveentjer/following{/other_user}","gists_url":"https://api.github.com/users/pveentjer/gists{/gist_id}","starred_url":"https://api.github.com/users/pveentjer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pveentjer/subscriptions","organizations_url":"https://api.github.com/users/pveentjer/orgs","repos_url":"https://api.github.com/users/pveentjer/repos","events_url":"https://api.github.com/users/pveentjer/events{/privacy}","received_events_url":"https://api.github.com/users/pveentjer/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pveentjer/hazelcast","description":"Open Source In-Memory Data Grid","fork":true,"url":"https://api.github.com/repos/pveentjer/hazelcast","forks_url":"https://api.github.com/repos/pveentjer/hazelcast/forks","keys_url":"https://api.github.com/repos/pveentjer/hazelcast/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pveentjer/hazelcast/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pveentjer/hazelcast/teams","hooks_url":"https://api.github.com/repos/pveentjer/hazelcast/hooks","issue_events_url":"https://api.github.com/repos/pveentjer/hazelcast/issues/events{/number}","events_url":"https://api.github.com/repos/pveentjer/hazelcast/events","assignees_url":"https://api.github.com/repos/pveentjer/hazelcast/assignees{/user}","branches_url":"https://api.github.com/repos/pveentjer/hazelcast/branches{/branch}","tags_url":"https://api.github.com/repos/pveentjer/hazelcast/tags","blobs_url":"https://api.github.com/repos/pveentjer/hazelcast/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pveentjer/hazelcast/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pveentjer/hazelcast/git/refs{/sha}","trees_url":"https://api.github.com/repos/pveentjer/hazelcast/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pveentjer/hazelcast/statuses/{sha}","languages_url":"https://api.github.com/repos/pveentjer/hazelcast/languages","stargazers_url":"https://api.github.com/repos/pveentjer/hazelcast/stargazers","contributors_url":"https://api.github.com/repos/pveentjer/hazelcast/contributors","subscribers_url":"https://api.github.com/repos/pveentjer/hazelcast/subscribers","subscription_url":"https://api.github.com/repos/pveentjer/hazelcast/subscription","commits_url":"https://api.github.com/repos/pveentjer/hazelcast/commits{/sha}","git_commits_url":"https://api.github.com/repos/pveentjer/hazelcast/git/commits{/sha}","comments_url":"https://api.github.com/repos/pveentjer/hazelcast/comments{/number}","issue_comment_url":"https://api.github.com/repos/pveentjer/hazelcast/issues/comments{/number}","contents_url":"https://api.github.com/repos/pveentjer/hazelcast/contents/{+path}","compare_url":"https://api.github.com/repos/pveentjer/hazelcast/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pveentjer/hazelcast/merges","archive_url":"https://api.github.com/repos/pveentjer/hazelcast/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pveentjer/hazelcast/downloads","issues_url":"https://api.github.com/repos/pveentjer/hazelcast/issues{/number}","pulls_url":"https://api.github.com/repos/pveentjer/hazelcast/pulls{/number}","milestones_url":"https://api.github.com/repos/pveentjer/hazelcast/milestones{/number}","notifications_url":"https://api.github.com/repos/pveentjer/hazelcast/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pveentjer/hazelcast/labels{/name}","releases_url":"https://api.github.com/repos/pveentjer/hazelcast/releases{/id}","created_at":"2013-06-27T07:15:08Z","updated_at":"2015-03-30T10:18:05Z","pushed_at":"2015-04-02T10:02:00Z","git_url":"git://github.com/pveentjer/hazelcast.git","ssh_url":"git@github.com:pveentjer/hazelcast.git","clone_url":"https://github.com/pveentjer/hazelcast.git","svn_url":"https://github.com/pveentjer/hazelcast","homepage":"www.hazelcast.com","size":67484,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"hazelcast:master","ref":"master","sha":"cdb7ab6e1a3d33232d064be80c311b3409e93269","user":{"login":"hazelcast","id":1453152,"avatar_url":"https://avatars.githubusercontent.com/u/1453152?v=3","gravatar_id":"","url":"https://api.github.com/users/hazelcast","html_url":"https://github.com/hazelcast","followers_url":"https://api.github.com/users/hazelcast/followers","following_url":"https://api.github.com/users/hazelcast/following{/other_user}","gists_url":"https://api.github.com/users/hazelcast/gists{/gist_id}","starred_url":"https://api.github.com/users/hazelcast/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hazelcast/subscriptions","organizations_url":"https://api.github.com/users/hazelcast/orgs","repos_url":"https://api.github.com/users/hazelcast/repos","events_url":"https://api.github.com/users/hazelcast/events{/privacy}","received_events_url":"https://api.github.com/users/hazelcast/received_events","type":"Organization","site_admin":false},"repo":{"id":3786237,"name":"hazelcast","full_name":"hazelcast/hazelcast","owner":{"login":"hazelcast","id":1453152,"avatar_url":"https://avatars.githubusercontent.com/u/1453152?v=3","gravatar_id":"","url":"https://api.github.com/users/hazelcast","html_url":"https://github.com/hazelcast","followers_url":"https://api.github.com/users/hazelcast/followers","following_url":"https://api.github.com/users/hazelcast/following{/other_user}","gists_url":"https://api.github.com/users/hazelcast/gists{/gist_id}","starred_url":"https://api.github.com/users/hazelcast/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hazelcast/subscriptions","organizations_url":"https://api.github.com/users/hazelcast/orgs","repos_url":"https://api.github.com/users/hazelcast/repos","events_url":"https://api.github.com/users/hazelcast/events{/privacy}","received_events_url":"https://api.github.com/users/hazelcast/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hazelcast/hazelcast","description":"Open Source In-Memory Data Grid","fork":false,"url":"https://api.github.com/repos/hazelcast/hazelcast","forks_url":"https://api.github.com/repos/hazelcast/hazelcast/forks","keys_url":"https://api.github.com/repos/hazelcast/hazelcast/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hazelcast/hazelcast/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hazelcast/hazelcast/teams","hooks_url":"https://api.github.com/repos/hazelcast/hazelcast/hooks","issue_events_url":"https://api.github.com/repos/hazelcast/hazelcast/issues/events{/number}","events_url":"https://api.github.com/repos/hazelcast/hazelcast/events","assignees_url":"https://api.github.com/repos/hazelcast/hazelcast/assignees{/user}","branches_url":"https://api.github.com/repos/hazelcast/hazelcast/branches{/branch}","tags_url":"https://api.github.com/repos/hazelcast/hazelcast/tags","blobs_url":"https://api.github.com/repos/hazelcast/hazelcast/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hazelcast/hazelcast/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hazelcast/hazelcast/git/refs{/sha}","trees_url":"https://api.github.com/repos/hazelcast/hazelcast/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hazelcast/hazelcast/statuses/{sha}","languages_url":"https://api.github.com/repos/hazelcast/hazelcast/languages","stargazers_url":"https://api.github.com/repos/hazelcast/hazelcast/stargazers","contributors_url":"https://api.github.com/repos/hazelcast/hazelcast/contributors","subscribers_url":"https://api.github.com/repos/hazelcast/hazelcast/subscribers","subscription_url":"https://api.github.com/repos/hazelcast/hazelcast/subscription","commits_url":"https://api.github.com/repos/hazelcast/hazelcast/commits{/sha}","git_commits_url":"https://api.github.com/repos/hazelcast/hazelcast/git/commits{/sha}","comments_url":"https://api.github.com/repos/hazelcast/hazelcast/comments{/number}","issue_comment_url":"https://api.github.com/repos/hazelcast/hazelcast/issues/comments{/number}","contents_url":"https://api.github.com/repos/hazelcast/hazelcast/contents/{+path}","compare_url":"https://api.github.com/repos/hazelcast/hazelcast/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hazelcast/hazelcast/merges","archive_url":"https://api.github.com/repos/hazelcast/hazelcast/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hazelcast/hazelcast/downloads","issues_url":"https://api.github.com/repos/hazelcast/hazelcast/issues{/number}","pulls_url":"https://api.github.com/repos/hazelcast/hazelcast/pulls{/number}","milestones_url":"https://api.github.com/repos/hazelcast/hazelcast/milestones{/number}","notifications_url":"https://api.github.com/repos/hazelcast/hazelcast/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hazelcast/hazelcast/labels{/name}","releases_url":"https://api.github.com/repos/hazelcast/hazelcast/releases{/id}","created_at":"2012-03-21T12:25:18Z","updated_at":"2015-04-02T09:57:10Z","pushed_at":"2015-04-02T10:02:01Z","git_url":"git://github.com/hazelcast/hazelcast.git","ssh_url":"git@github.com:hazelcast/hazelcast.git","clone_url":"https://github.com/hazelcast/hazelcast.git","svn_url":"https://github.com/hazelcast/hazelcast","homepage":"www.hazelcast.com","size":127490,"stargazers_count":1072,"watchers_count":1072,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":510,"mirror_url":null,"open_issues_count":466,"forks":510,"open_issues":466,"watchers":1072,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hazelcast/hazelcast/pulls/4859"},"html":{"href":"https://github.com/hazelcast/hazelcast/pull/4859"},"issue":{"href":"https://api.github.com/repos/hazelcast/hazelcast/issues/4859"},"comments":{"href":"https://api.github.com/repos/hazelcast/hazelcast/issues/4859/comments"},"review_comments":{"href":"https://api.github.com/repos/hazelcast/hazelcast/pulls/4859/comments"},"review_comment":{"href":"https://api.github.com/repos/hazelcast/hazelcast/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hazelcast/hazelcast/pulls/4859/commits"},"statuses":{"href":"https://api.github.com/repos/hazelcast/hazelcast/statuses/442bfc609307ec4a8f361bf4cdb72965e702be00"}}}}