mondrian_redis_segment_cache 0.3.0-java → 0.4.0-java
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c7637717595cdf7c5447a26dead15bc177106402
|
4
|
+
data.tar.gz: 98088ae79461e0a5b484385275858b35fb58bf0f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
32
|
-
reconcile_local_set_with_redis
|
31
|
+
reload
|
33
32
|
end
|
34
33
|
|
35
34
|
@reconcile_task.execute
|
36
|
-
|
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)
|
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.
|
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-
|
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
|