{"action":"created","comment":{"url":"https://api.github.com/repos/ehcache/ehcache3/pulls/comments/22664314","id":22664314,"diff_hunk":"@@ -0,0 +1,333 @@\n+/*\n+ * Copyright Terracotta, Inc.\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+\n+package org.ehcache.internal.store;\n+\n+import org.ehcache.Cache;\n+import org.ehcache.events.StoreEventListener;\n+import org.ehcache.exceptions.CacheAccessException;\n+import org.ehcache.expiry.Duration;\n+import org.ehcache.expiry.Expirations;\n+import org.ehcache.function.BiFunction;\n+import org.ehcache.function.Function;\n+import org.ehcache.spi.cache.Store;\n+import org.ehcache.spi.test.SPITest;\n+import org.ehcache.internal.TimeSource;\n+\n+import java.util.*;\n+import java.util.concurrent.TimeUnit;\n+\n+import static org.hamcrest.MatcherAssert.assertThat;\n+import static org.hamcrest.Matchers.*;\n+\n+/**\n+ * Test the {@link org.ehcache.spi.cache.Store#enableStoreEventNotifications(org.ehcache.events.StoreEventListener)} contract of the\n+ * {@link org.ehcache.spi.cache.Store Store} interface.\n+ * <p/>\n+ *\n+ * @author Gaurav Mangalick\n+ */\n+\n+public class StoreEventListenerTest<K, V> extends SPIStoreTester<K, V> {\n+\n+  public StoreEventListenerTest(StoreFactory<K, V> factory) {\n+    super(factory);\n+  }\n+\n+  final K k = factory.createKey(1L);\n+  final V v = factory.createValue(1l);\n+  final K k2 = factory.createKey(2L);\n+  final V v2 = factory.createValue(2l);\n+  final V v3 = factory.createValue(3l);\n+\n+  @SuppressWarnings({ \"rawtypes\", \"unchecked\" })\n+  @SPITest\n+  public void testGetOnExpiration() throws Exception {\n+    TestTimeSource timeSource = new TestTimeSource();\n+    Store<K, V> kvStore = factory.newStore(factory.newConfiguration(factory.getKeyType(), factory.getValueType(),\n+        null, null, null, Expirations.timeToLiveExpiration(new Duration(1, TimeUnit.MILLISECONDS))), timeSource);\n+    TestStoreEventListener listener = new TestStoreEventListener();\n+    kvStore.enableStoreEventNotifications(listener);\n+    kvStore.put(k, v);\n+    timeSource.advanceTime(1);\n+    assertThat(kvStore.get(k), is(nullValue()));\n+    assertThat(listener.expired, hasItem(k));\n+  }\n+\n+  @SuppressWarnings({ \"rawtypes\", \"unchecked\" })\n+  @SPITest\n+  public void testContainsKeyOnExpiration() throws Exception {\n+    TestTimeSource timeSource = new TestTimeSource();\n+    Store<K, V> kvStore = factory.newStore(factory.newConfiguration(factory.getKeyType(), factory.getValueType(),\n+        null, null, null, Expirations.timeToLiveExpiration(new Duration(1, TimeUnit.MILLISECONDS))), timeSource);\n+    TestStoreEventListener listener = new TestStoreEventListener();\n+    kvStore.enableStoreEventNotifications(listener);\n+    kvStore.put(k, v);\n+    timeSource.advanceTime(1);\n+    assertThat(kvStore.containsKey(k), is(false));\n+    assertThat(listener.expired, hasItem(k));\n+  }\n+\n+  @SuppressWarnings({ \"rawtypes\", \"unchecked\" })\n+  @SPITest\n+  public void testPutIfAbsentOnExpiration() throws Exception {\n+    TestTimeSource timeSource = new TestTimeSource();\n+    Store<K, V> kvStore = factory.newStore(factory.newConfiguration(factory.getKeyType(), factory.getValueType(),\n+        null, null, null, Expirations.timeToLiveExpiration(new Duration(1, TimeUnit.MILLISECONDS))), timeSource);\n+    TestStoreEventListener listener = new TestStoreEventListener();\n+    kvStore.enableStoreEventNotifications(listener);\n+    kvStore.put(k, v);\n+    timeSource.advanceTime(1);\n+    Store.ValueHolder<V> lastValue = kvStore.putIfAbsent(k, v);\n+    assertThat(lastValue, is(nullValue()));\n+    assertThat(listener.expired, hasItem(k));\n+  }\n+\n+  @SuppressWarnings({ \"rawtypes\", \"unchecked\" })\n+  @SPITest\n+  public void testRemoveOnExpiration() throws Exception {\n+    TestTimeSource timeSource = new TestTimeSource();\n+    Store<K, V> kvStore = factory.newStore(factory.newConfiguration(factory.getKeyType(), factory.getValueType(),\n+        null, null, null, Expirations.timeToLiveExpiration(new Duration(1, TimeUnit.MILLISECONDS))), timeSource);\n+    TestStoreEventListener listener = new TestStoreEventListener();\n+    kvStore.enableStoreEventNotifications(listener);\n+    kvStore.put(k, v);\n+    timeSource.advanceTime(1);\n+    assertThat(kvStore.remove(k, v), is(false));\n+    assertThat(listener.expired, hasItem(k));\n+  }\n+\n+  @SuppressWarnings({ \"rawtypes\", \"unchecked\" })\n+  @SPITest\n+  public void testReplaceTwoArgsOnExpiration() throws Exception {\n+    TestTimeSource timeSource = new TestTimeSource();\n+    Store<K, V> kvStore = factory.newStore(factory.newConfiguration(factory.getKeyType(), factory.getValueType(),\n+        null, null, null, Expirations.timeToLiveExpiration(new Duration(1, TimeUnit.MILLISECONDS))), timeSource);\n+    TestStoreEventListener listener = new TestStoreEventListener();\n+    kvStore.enableStoreEventNotifications(listener);\n+    kvStore.put(k, v);\n+    timeSource.advanceTime(1);\n+    assertThat(kvStore.replace(k, v), is(nullValue()));\n+    assertThat(listener.expired, hasItem(k));\n+  }\n+\n+  @SuppressWarnings({ \"rawtypes\", \"unchecked\" })\n+  @SPITest\n+  public void testReplaceThreeArgsOnExpiration() throws Exception {\n+    TestTimeSource timeSource = new TestTimeSource();\n+    Store<K, V> kvStore = factory.newStore(factory.newConfiguration(factory.getKeyType(), factory.getValueType(),\n+        null, null, null, Expirations.timeToLiveExpiration(new Duration(1, TimeUnit.MILLISECONDS))), timeSource);\n+    TestStoreEventListener listener = new TestStoreEventListener();\n+    kvStore.enableStoreEventNotifications(listener);\n+    kvStore.put(k, v);\n+    timeSource.advanceTime(1);\n+    assertThat(kvStore.replace(k, v, v2), is(false));\n+    assertThat(listener.expired, hasItem(k));\n+  }\n+\n+  @SuppressWarnings({ \"rawtypes\", \"unchecked\" })\n+  @SPITest\n+  public void testComputeOnExpiration() throws Exception {\n+    TestTimeSource timeSource = new TestTimeSource();\n+    Store<K, V> kvStore = factory.newStore(factory.newConfiguration(factory.getKeyType(), factory.getValueType(),\n+        null, null, null, Expirations.timeToLiveExpiration(new Duration(1, TimeUnit.MILLISECONDS))), timeSource);\n+    TestStoreEventListener listener = new TestStoreEventListener();\n+    kvStore.enableStoreEventNotifications(listener);\n+    kvStore.put(k, v);\n+    timeSource.advanceTime(1);\n+    kvStore.compute(k, new BiFunction<K, V, V>() {\n+      @Override\n+      public V apply(K mappedKey, V mappedValue) {\n+        return v2;\n+      }\n+    });\n+    assertThat(kvStore.get(k).value(), is(v2));\n+    assertThat(listener.expired, hasItem(k));\n+  }\n+\n+  @SuppressWarnings({ \"rawtypes\", \"unchecked\" })\n+  @SPITest\n+  public void testComputeIfAbsentOnExpiration() throws Exception {\n+    TestTimeSource timeSource = new TestTimeSource();\n+    Store<K, V> kvStore = factory.newStore(factory.newConfiguration(factory.getKeyType(), factory.getValueType(),\n+        null, null, null, Expirations.timeToLiveExpiration(new Duration(1, TimeUnit.MILLISECONDS))), timeSource);\n+    TestStoreEventListener listener = new TestStoreEventListener();\n+    kvStore.enableStoreEventNotifications(listener);\n+    kvStore.put(k, v);\n+    timeSource.advanceTime(1);\n+\n+    kvStore.computeIfAbsent(k, new Function<K, V>() {\n+      @Override\n+      public V apply(K mappedKey) {\n+        return v2;\n+      }\n+    });\n+    assertThat(kvStore.get(k).value(), is(v2));\n+    assertThat(listener.expired, hasItem(k));\n+  }\n+\n+  @SuppressWarnings({ \"rawtypes\", \"unchecked\" })\n+  @SPITest\n+  public void testComputeIfPresentOnExpiration() throws Exception {\n+    TestTimeSource timeSource = new TestTimeSource();\n+    Store<K, V> kvStore = factory.newStore(factory.newConfiguration(factory.getKeyType(), factory.getValueType(),\n+        null, null, null, Expirations.timeToLiveExpiration(new Duration(1, TimeUnit.MILLISECONDS))), timeSource);\n+    TestStoreEventListener listener = new TestStoreEventListener();\n+    kvStore.enableStoreEventNotifications(listener);\n+    kvStore.put(k, v);\n+    timeSource.advanceTime(1);\n+\n+    kvStore.computeIfPresent(k, new BiFunction<K, V, V>() {\n+      @Override\n+      public V apply(K mappedKey, V mappedValue) {\n+        throw new AssertionError();\n+      }\n+    });\n+    assertThat(kvStore.get(k), is(nullValue()));\n+    assertThat(listener.evicted, hasItem(k));","path":"core-spi-test/src/main/java/org/ehcache/internal/store/StoreEventListenerTest.java","position":200,"original_position":200,"commit_id":"46d6a68a29c101cdc37a7acffa1724ad5fd4c9de","original_commit_id":"46d6a68a29c101cdc37a7acffa1724ad5fd4c9de","user":{"login":"chrisdennis","id":954331,"avatar_url":"https://avatars.githubusercontent.com/u/954331?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisdennis","html_url":"https://github.com/chrisdennis","followers_url":"https://api.github.com/users/chrisdennis/followers","following_url":"https://api.github.com/users/chrisdennis/following{/other_user}","gists_url":"https://api.github.com/users/chrisdennis/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisdennis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisdennis/subscriptions","organizations_url":"https://api.github.com/users/chrisdennis/orgs","repos_url":"https://api.github.com/users/chrisdennis/repos","events_url":"https://api.github.com/users/chrisdennis/events{/privacy}","received_events_url":"https://api.github.com/users/chrisdennis/received_events","type":"User","site_admin":false},"body":"Invert the order here.","created_at":"2015-01-08T17:01:40Z","updated_at":"2015-01-08T17:01:40Z","html_url":"https://github.com/ehcache/ehcache3/pull/207#discussion_r22664314","pull_request_url":"https://api.github.com/repos/ehcache/ehcache3/pulls/207","_links":{"self":{"href":"https://api.github.com/repos/ehcache/ehcache3/pulls/comments/22664314"},"html":{"href":"https://github.com/ehcache/ehcache3/pull/207#discussion_r22664314"},"pull_request":{"href":"https://api.github.com/repos/ehcache/ehcache3/pulls/207"}}},"pull_request":{"url":"https://api.github.com/repos/ehcache/ehcache3/pulls/207","id":25570446,"html_url":"https://github.com/ehcache/ehcache3/pull/207","diff_url":"https://github.com/ehcache/ehcache3/pull/207.diff","patch_url":"https://github.com/ehcache/ehcache3/pull/207.patch","issue_url":"https://api.github.com/repos/ehcache/ehcache3/issues/207","number":207,"state":"open","locked":false,"title":"#170, added test cases for StoreEventListener on expiration and eviction","user":{"login":"gmangalick1","id":9426843,"avatar_url":"https://avatars.githubusercontent.com/u/9426843?v=3","gravatar_id":"","url":"https://api.github.com/users/gmangalick1","html_url":"https://github.com/gmangalick1","followers_url":"https://api.github.com/users/gmangalick1/followers","following_url":"https://api.github.com/users/gmangalick1/following{/other_user}","gists_url":"https://api.github.com/users/gmangalick1/gists{/gist_id}","starred_url":"https://api.github.com/users/gmangalick1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gmangalick1/subscriptions","organizations_url":"https://api.github.com/users/gmangalick1/orgs","repos_url":"https://api.github.com/users/gmangalick1/repos","events_url":"https://api.github.com/users/gmangalick1/events{/privacy}","received_events_url":"https://api.github.com/users/gmangalick1/received_events","type":"User","site_admin":false},"body":"Hi Please review this pull request, few things to notice:\r\n\r\n1. I moved TimeSource from impl to core module as i needed access to TimeSource for writing expiration tests.\r\n2. There is a bug in testPutIfAbsentOnEviction test, as putIfAbsent call puts key/value in store even thou store capacity is reached.\r\n\r\nThanks\r\n\r\nGaurav\r\n ","created_at":"2014-12-05T13:28:28Z","updated_at":"2015-01-08T17:01:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b0914d3eef46fd38ee77e5403a7d9bb68dececb5","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ehcache/ehcache3/pulls/207/commits","review_comments_url":"https://api.github.com/repos/ehcache/ehcache3/pulls/207/comments","review_comment_url":"https://api.github.com/repos/ehcache/ehcache3/pulls/comments/{number}","comments_url":"https://api.github.com/repos/ehcache/ehcache3/issues/207/comments","statuses_url":"https://api.github.com/repos/ehcache/ehcache3/statuses/46d6a68a29c101cdc37a7acffa1724ad5fd4c9de","head":{"label":"gmangalick1:issue-170","ref":"issue-170","sha":"46d6a68a29c101cdc37a7acffa1724ad5fd4c9de","user":{"login":"gmangalick1","id":9426843,"avatar_url":"https://avatars.githubusercontent.com/u/9426843?v=3","gravatar_id":"","url":"https://api.github.com/users/gmangalick1","html_url":"https://github.com/gmangalick1","followers_url":"https://api.github.com/users/gmangalick1/followers","following_url":"https://api.github.com/users/gmangalick1/following{/other_user}","gists_url":"https://api.github.com/users/gmangalick1/gists{/gist_id}","starred_url":"https://api.github.com/users/gmangalick1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gmangalick1/subscriptions","organizations_url":"https://api.github.com/users/gmangalick1/orgs","repos_url":"https://api.github.com/users/gmangalick1/repos","events_url":"https://api.github.com/users/gmangalick1/events{/privacy}","received_events_url":"https://api.github.com/users/gmangalick1/received_events","type":"User","site_admin":false},"repo":{"id":25885487,"name":"ehcache3","full_name":"gmangalick1/ehcache3","owner":{"login":"gmangalick1","id":9426843,"avatar_url":"https://avatars.githubusercontent.com/u/9426843?v=3","gravatar_id":"","url":"https://api.github.com/users/gmangalick1","html_url":"https://github.com/gmangalick1","followers_url":"https://api.github.com/users/gmangalick1/followers","following_url":"https://api.github.com/users/gmangalick1/following{/other_user}","gists_url":"https://api.github.com/users/gmangalick1/gists{/gist_id}","starred_url":"https://api.github.com/users/gmangalick1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gmangalick1/subscriptions","organizations_url":"https://api.github.com/users/gmangalick1/orgs","repos_url":"https://api.github.com/users/gmangalick1/repos","events_url":"https://api.github.com/users/gmangalick1/events{/privacy}","received_events_url":"https://api.github.com/users/gmangalick1/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gmangalick1/ehcache3","description":"Ehcache 3.x line ","fork":true,"url":"https://api.github.com/repos/gmangalick1/ehcache3","forks_url":"https://api.github.com/repos/gmangalick1/ehcache3/forks","keys_url":"https://api.github.com/repos/gmangalick1/ehcache3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gmangalick1/ehcache3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gmangalick1/ehcache3/teams","hooks_url":"https://api.github.com/repos/gmangalick1/ehcache3/hooks","issue_events_url":"https://api.github.com/repos/gmangalick1/ehcache3/issues/events{/number}","events_url":"https://api.github.com/repos/gmangalick1/ehcache3/events","assignees_url":"https://api.github.com/repos/gmangalick1/ehcache3/assignees{/user}","branches_url":"https://api.github.com/repos/gmangalick1/ehcache3/branches{/branch}","tags_url":"https://api.github.com/repos/gmangalick1/ehcache3/tags","blobs_url":"https://api.github.com/repos/gmangalick1/ehcache3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gmangalick1/ehcache3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gmangalick1/ehcache3/git/refs{/sha}","trees_url":"https://api.github.com/repos/gmangalick1/ehcache3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gmangalick1/ehcache3/statuses/{sha}","languages_url":"https://api.github.com/repos/gmangalick1/ehcache3/languages","stargazers_url":"https://api.github.com/repos/gmangalick1/ehcache3/stargazers","contributors_url":"https://api.github.com/repos/gmangalick1/ehcache3/contributors","subscribers_url":"https://api.github.com/repos/gmangalick1/ehcache3/subscribers","subscription_url":"https://api.github.com/repos/gmangalick1/ehcache3/subscription","commits_url":"https://api.github.com/repos/gmangalick1/ehcache3/commits{/sha}","git_commits_url":"https://api.github.com/repos/gmangalick1/ehcache3/git/commits{/sha}","comments_url":"https://api.github.com/repos/gmangalick1/ehcache3/comments{/number}","issue_comment_url":"https://api.github.com/repos/gmangalick1/ehcache3/issues/comments/{number}","contents_url":"https://api.github.com/repos/gmangalick1/ehcache3/contents/{+path}","compare_url":"https://api.github.com/repos/gmangalick1/ehcache3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gmangalick1/ehcache3/merges","archive_url":"https://api.github.com/repos/gmangalick1/ehcache3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gmangalick1/ehcache3/downloads","issues_url":"https://api.github.com/repos/gmangalick1/ehcache3/issues{/number}","pulls_url":"https://api.github.com/repos/gmangalick1/ehcache3/pulls{/number}","milestones_url":"https://api.github.com/repos/gmangalick1/ehcache3/milestones{/number}","notifications_url":"https://api.github.com/repos/gmangalick1/ehcache3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gmangalick1/ehcache3/labels{/name}","releases_url":"https://api.github.com/repos/gmangalick1/ehcache3/releases{/id}","created_at":"2014-10-28T19:05:53Z","updated_at":"2015-01-06T21:42:21Z","pushed_at":"2015-01-06T22:52:00Z","git_url":"git://github.com/gmangalick1/ehcache3.git","ssh_url":"git@github.com:gmangalick1/ehcache3.git","clone_url":"https://github.com/gmangalick1/ehcache3.git","svn_url":"https://github.com/gmangalick1/ehcache3","homepage":"ehcache.org","size":1714,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"ehcache:master","ref":"master","sha":"c2c66f56edb44abda3ce63a37f899252f3b2c9da","user":{"login":"ehcache","id":5504982,"avatar_url":"https://avatars.githubusercontent.com/u/5504982?v=3","gravatar_id":"","url":"https://api.github.com/users/ehcache","html_url":"https://github.com/ehcache","followers_url":"https://api.github.com/users/ehcache/followers","following_url":"https://api.github.com/users/ehcache/following{/other_user}","gists_url":"https://api.github.com/users/ehcache/gists{/gist_id}","starred_url":"https://api.github.com/users/ehcache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ehcache/subscriptions","organizations_url":"https://api.github.com/users/ehcache/orgs","repos_url":"https://api.github.com/users/ehcache/repos","events_url":"https://api.github.com/users/ehcache/events{/privacy}","received_events_url":"https://api.github.com/users/ehcache/received_events","type":"Organization","site_admin":false},"repo":{"id":17224514,"name":"ehcache3","full_name":"ehcache/ehcache3","owner":{"login":"ehcache","id":5504982,"avatar_url":"https://avatars.githubusercontent.com/u/5504982?v=3","gravatar_id":"","url":"https://api.github.com/users/ehcache","html_url":"https://github.com/ehcache","followers_url":"https://api.github.com/users/ehcache/followers","following_url":"https://api.github.com/users/ehcache/following{/other_user}","gists_url":"https://api.github.com/users/ehcache/gists{/gist_id}","starred_url":"https://api.github.com/users/ehcache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ehcache/subscriptions","organizations_url":"https://api.github.com/users/ehcache/orgs","repos_url":"https://api.github.com/users/ehcache/repos","events_url":"https://api.github.com/users/ehcache/events{/privacy}","received_events_url":"https://api.github.com/users/ehcache/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ehcache/ehcache3","description":"Ehcache 3.x line ","fork":false,"url":"https://api.github.com/repos/ehcache/ehcache3","forks_url":"https://api.github.com/repos/ehcache/ehcache3/forks","keys_url":"https://api.github.com/repos/ehcache/ehcache3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ehcache/ehcache3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ehcache/ehcache3/teams","hooks_url":"https://api.github.com/repos/ehcache/ehcache3/hooks","issue_events_url":"https://api.github.com/repos/ehcache/ehcache3/issues/events{/number}","events_url":"https://api.github.com/repos/ehcache/ehcache3/events","assignees_url":"https://api.github.com/repos/ehcache/ehcache3/assignees{/user}","branches_url":"https://api.github.com/repos/ehcache/ehcache3/branches{/branch}","tags_url":"https://api.github.com/repos/ehcache/ehcache3/tags","blobs_url":"https://api.github.com/repos/ehcache/ehcache3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ehcache/ehcache3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ehcache/ehcache3/git/refs{/sha}","trees_url":"https://api.github.com/repos/ehcache/ehcache3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ehcache/ehcache3/statuses/{sha}","languages_url":"https://api.github.com/repos/ehcache/ehcache3/languages","stargazers_url":"https://api.github.com/repos/ehcache/ehcache3/stargazers","contributors_url":"https://api.github.com/repos/ehcache/ehcache3/contributors","subscribers_url":"https://api.github.com/repos/ehcache/ehcache3/subscribers","subscription_url":"https://api.github.com/repos/ehcache/ehcache3/subscription","commits_url":"https://api.github.com/repos/ehcache/ehcache3/commits{/sha}","git_commits_url":"https://api.github.com/repos/ehcache/ehcache3/git/commits{/sha}","comments_url":"https://api.github.com/repos/ehcache/ehcache3/comments{/number}","issue_comment_url":"https://api.github.com/repos/ehcache/ehcache3/issues/comments/{number}","contents_url":"https://api.github.com/repos/ehcache/ehcache3/contents/{+path}","compare_url":"https://api.github.com/repos/ehcache/ehcache3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ehcache/ehcache3/merges","archive_url":"https://api.github.com/repos/ehcache/ehcache3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ehcache/ehcache3/downloads","issues_url":"https://api.github.com/repos/ehcache/ehcache3/issues{/number}","pulls_url":"https://api.github.com/repos/ehcache/ehcache3/pulls{/number}","milestones_url":"https://api.github.com/repos/ehcache/ehcache3/milestones{/number}","notifications_url":"https://api.github.com/repos/ehcache/ehcache3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ehcache/ehcache3/labels{/name}","releases_url":"https://api.github.com/repos/ehcache/ehcache3/releases{/id}","created_at":"2014-02-26T20:39:16Z","updated_at":"2015-01-08T11:13:52Z","pushed_at":"2015-01-08T11:13:51Z","git_url":"git://github.com/ehcache/ehcache3.git","ssh_url":"git@github.com:ehcache/ehcache3.git","clone_url":"https://github.com/ehcache/ehcache3.git","svn_url":"https://github.com/ehcache/ehcache3","homepage":"ehcache.org","size":3613,"stargazers_count":19,"watchers_count":19,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":32,"mirror_url":null,"open_issues_count":53,"forks":32,"open_issues":53,"watchers":19,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ehcache/ehcache3/pulls/207"},"html":{"href":"https://github.com/ehcache/ehcache3/pull/207"},"issue":{"href":"https://api.github.com/repos/ehcache/ehcache3/issues/207"},"comments":{"href":"https://api.github.com/repos/ehcache/ehcache3/issues/207/comments"},"review_comments":{"href":"https://api.github.com/repos/ehcache/ehcache3/pulls/207/comments"},"review_comment":{"href":"https://api.github.com/repos/ehcache/ehcache3/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/ehcache/ehcache3/pulls/207/commits"},"statuses":{"href":"https://api.github.com/repos/ehcache/ehcache3/statuses/46d6a68a29c101cdc37a7acffa1724ad5fd4c9de"}}}}