mondrian_redis_segment_cache 0.3.0-java → 0.4.0-java

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 97fcf8346cd45a212d99ccefbf418c46e2b8937a
4
- data.tar.gz: 851f15a091b8d16065d8faa954b5df564d1e7f08
3
+ metadata.gz: c7637717595cdf7c5447a26dead15bc177106402
4
+ data.tar.gz: 98088ae79461e0a5b484385275858b35fb58bf0f
5
5
  SHA512:
6
- metadata.gz: e31c59458a901c35683e2fa250b37e3c5a6f75ab680087214f6802ace7db9b1f20031abceff1d12ba1804d2d43ef3d62153436bf7de755442c87d93ba0aeff13
7
- data.tar.gz: 0a3a82cb519cbe868c8acac5e1cdc3fdc567218b81e660fa44d7c2e6d55ea5ab0e16959566948f276076908f299a13ec9af7cbb2048f3992e6c543bd22ac8d53
6
+ metadata.gz: 612220016333dfd5b7b667cf48a6effe1dff8ebe2a36ec46dac325f6c8b56c7e8f00df631477ba8be4a395bed529d2227e6ddb7a63acce44f42e03f8fb96cd1f
7
+ data.tar.gz: 398b873c2906b1738152e52e224a44af99e0450030566ba0c0ca31cc34b79b0a843d54be8f08727154e55f899c125fd1c157895c53f179ebbcd7157e0a8287c9
@@ -28,13 +28,11 @@ module MondrianRedisSegmentCache
28
28
  # respect to what is in the cache and what has been done .... allows us to get rid of the event
29
29
  # subscribers in the redis API ... consider the job to have timed out after 45 seconds
30
30
  @reconcile_task = ::Concurrent::TimerTask.new(:execution_interval => 360, :timeout_interval => 45) do
31
- reconcile_set_and_keys
32
- reconcile_local_set_with_redis
31
+ reload
33
32
  end
34
33
 
35
34
  @reconcile_task.execute
36
- reconcile_set_and_keys
37
- reconcile_local_set_with_redis
35
+ reload
38
36
  end
39
37
 
40
38
  ##
@@ -99,6 +97,11 @@ module MondrianRedisSegmentCache
99
97
  return ("#{set_success}".upcase == "OK" || set_success == true) # weird polymorphic return ?
100
98
  end
101
99
 
100
+ def reload
101
+ reconcile_set_and_keys
102
+ reconcile_local_set_with_redis
103
+ end
104
+
102
105
  def remove(segment_header)
103
106
  segment_header.getDescription # Hazel adapter says this affects serialization
104
107
  header_base64 = segment_header_to_base64(segment_header)
@@ -1,3 +1,3 @@
1
1
  module MondrianRedisSegmentCache
2
- VERSION = "0.3.0"
2
+ VERSION = "0.4.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mondrian_redis_segment_cache
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: java
6
6
  authors:
7
7
  - Brandon Dewitt
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-01-25 00:00:00.000000000 Z
11
+ date: 2017-01-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement