Commit graph

241 commits

Author SHA1 Message Date
Mike Nakhimovich
5ed868ba7a Update README.md 2017-02-10 12:17:28 -05:00
Paul Woitaschek
a8293a5994 Test repeat when evicted (#128)
* Moved repeat when emits logic in a separate class
2017-02-10 11:22:43 -05:00
Mike Nakhimovich
dd9ea0576e Update CHANGELOG.md 2017-02-09 17:29:07 -05:00
Mike Nakhimovich
32c07a360a Update CHANGELOG.md 2017-02-09 17:27:55 -05:00
Mike Nakhimovich
f4dc006de8 pending changelog for v2.0.0 2017-02-09 17:26:01 -05:00
Paul Woitaschek
62c7ca39d7 Cleanup (#127)
* Fixed a race condition that would appear when the read was called but not immediately subscribed to. Defer the whole file check till subscription.

* Diamonds

* General cleanup, missing nullity annotations, missing override annotations

* More key naming conventions

* Dependency update

* More key naming conventions

* Parser, not func

* Name outer key different so cache can be evicted correctly

* Another missing override
2017-02-09 13:04:07 -08:00
Pavlos-Petros Tournaris
d8829d3ac0 Remove duplicate target_sdk (#126) 2017-02-09 12:20:04 -05:00
Pavlos-Petros Tournaris
a600c90ac8 Fix name on occurences of Key (#125) 2017-02-09 12:19:43 -05:00
Pavlos-Petros Tournaris
71e56c4ea5 Create single instance of empty BarCode + naming cleanup (#124)
* Create private static final values for empty TYPE and KEY

* Use common variable name for Key variables

* Create static final instance for empty BarCode
2017-02-09 08:24:58 -08:00
Pavlos-Petros Tournaris
54c83d0402 Simplify Persister clear and RefreshSubject notify (#123) 2017-02-09 10:24:42 -05:00
Mike Nakhimovich
f3ba204e3c Store v1 removal in favor of Stores with generic keys (#122)
* remove old Store.java

* no more depracted Store.java
2017-02-08 18:18:17 -05:00
Pavlos-Petros Tournaris
3065d7d54f Avoid multiple resolves of the same Key (#120) 2017-02-08 17:04:45 -05:00
Paul Woitaschek
c9c181ed70 Fixed a race condition that would appear when the read was called but not immediately subscribed to. Defer the whole file check till subscription. (#121) 2017-02-08 16:49:48 -05:00
Mike Nakhimovich
d01f2abe45 Feature/filepersister (#115)
* generic file persister with path resolver
2017-02-08 15:46:35 -05:00
Mike Nakhimovich
f4fdd1e9d9 Feature/clear all cache (#117)
* public api to clear memory and disk caches
2017-02-08 15:44:12 -05:00
Mike Nakhimovich
4afb8ceb0c remove extranous exception throw (#114) 2017-02-07 13:02:57 -05:00
Mike Nakhimovich
154ee0e533 lets try this travis snapshot deploy again... (#113)
* deploy snapshot
2017-02-07 10:35:41 -05:00
Mike Nakhimovich
1c7bc502b0 Tech/record stale fs (#111)
networkBeforeStale and refreshOnStale
2017-02-07 09:45:48 -05:00
Mike Nakhimovich
e76f29261d rework builders (#110) 2017-02-06 10:21:55 -05:00
Eric Cochran
462df5a4be Update to Moshi 1.4.0 (#108) 2017-02-05 08:29:49 -05:00
Mike Nakhimovich
2c24357df9 Migrate Barcode to any Type (#86)
* migrate barcode to a generic key
2017-02-03 17:49:40 -05:00
Brian Plummer
52ec65dfa8 remove espresso, unneeded, conflicts with javax.annotations (#106) 2017-02-03 16:02:05 -05:00
Mike Nakhimovich
e3bf9584a5 GetRefreshing - Repeat when clear (#103)
*getRefreshing
2017-02-02 15:27:27 -05:00
Mike Nakhimovich
45f49480c3 Update README.md 2017-02-02 09:08:05 -05:00
Mike Nakhimovich
5af5c00d9a fixes inflight caching errors (#101) 2017-02-01 11:59:57 -05:00
Pavlos-Petros Tournaris
b93c431e24 Remove dead code and add/remove empty lines were needed (#99) 2017-01-31 17:17:18 -05:00
Mike Nakhimovich
c596121319 Merge pull request #97 from NYTimes/bug/96
clear needs to clear noop disk and inflight
2017-01-31 08:52:47 -05:00
digitalbuddha
c9d1364c88 fix flaky test 2017-01-31 08:35:15 -05:00
digitalbuddha
ee377d538d pmd 2017-01-31 08:23:29 -05:00
digitalbuddha
aae31d7247 pr comments 2017-01-31 08:21:03 -05:00
digitalbuddha
9dfb6c5375 clear needs to call noop disk and inflight 2017-01-31 08:03:16 -05:00
Mike Nakhimovich
2668aec325 Merge pull request #94 from NYTimes/tech/javaxAnnotations
use javax annotations instead of intellij
2017-01-30 21:30:52 -05:00
Brian Plummer
6a6f281925 convert test to javax.annotations 2017-01-30 21:20:02 -05:00
Brian Plummer
5fe547cf42 convert store to javax.annotations 2017-01-30 21:16:30 -05:00
Brian Plummer
24692e047e convert middleware-moshi to javax.annotations 2017-01-30 21:09:42 -05:00
Brian Plummer
d89d759f46 convert middleware-jackson to javax.annotations 2017-01-30 21:08:19 -05:00
Brian Plummer
6ebc9b2ad0 convert middleware to javax.annotations 2017-01-30 21:05:38 -05:00
Brian Plummer
defaaa19cd convert filesystem to javax.annotations 2017-01-30 21:01:14 -05:00
Plummer
405a15d3b6 start of conversion to javax.annotations 2017-01-30 17:46:05 -05:00
Mike Nakhimovich
0d32270b80 Update CHANGELOG.md 2017-01-30 12:16:11 -05:00
digitalbuddha
7154e265a6 Prepare next development version. 2017-01-30 12:13:15 -05:00
digitalbuddha
becd9c2c14 Prepare for release 1.0.7. 2017-01-30 11:57:42 -05:00
Mike Nakhimovich
e70687c6f7 fix in flight 1 minute debouncing (#92)
* fix in flight 1 minute debouncing

* fix pmd
2017-01-30 11:47:19 -05:00
Mike Nakhimovich
71220baf30 fixes race condition in memory cache (#90)
* fixes race condition in memory cache

* racy due to disk not being lazy

* pmd violations
2017-01-30 11:40:14 -05:00
Brian Plummer
be47cff570 specify a default charset of utf-8 for GsonSourceParser (#88) 2017-01-29 18:28:41 -05:00
Brian Plummer
62dec4bbbf minor test clean up, use isSameAs() instead of == (#87) 2017-01-29 18:28:01 -05:00
Brian Plummer
be5ba6443a convert store to java, #83 (#85)
convert store to java, #83
2017-01-28 20:52:55 -05:00
Paul Woitaschek
372cfa6688 Removed application meta data (#80)
* Removed application meta data

Causes unwanted manifest merging

* remove unused ExampleUnitTest.java (#84)

* Removed application meta data

Causes unwanted manifest merging
2017-01-28 10:26:19 -05:00
Paul Woitaschek
28fe003673 Classnames up, field names down (#81)
* Classnames up, field names down

It hurts my eyes ;-)

* remove unused ExampleUnitTest.java (#84)

* Classnames up, field names down

It hurts my eyes ;-)
2017-01-28 10:25:56 -05:00
Brian Plummer
e6a1e4188d remove unused ExampleUnitTest.java (#84) 2017-01-27 11:37:58 -05:00