4db335861caa069d0e654951dbb239868196df1a
Files Diff
- Added: 1
- Removed: 5
- Renamed: 0
- Modified: 12
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method public ttlInMs() : long renamed to public ttl() : long in class org.rapidoid.cache.CaffeineCache | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type cache : ConcurrentCache<?,?> to cache : Cache<?,?> in method public ManageableCache(cache Cache<?,?>) in class org.rapidoid.cache.impl.ManageableCache | From | To | |
Change Return Type | 4 | ||
Change Return Type ConcurrentCache<K,V> to Cache<K,V> in method public create(params CacheDSL<K,V>) : Cache<K,V> in class org.rapidoid.cache.impl.CacheFactory | From | To | |
Change Return Type int to long in method public size() : long in class org.rapidoid.cache.CaffeineCache | From | To | |
Change Return Type int to long in method public size() : long in class org.rapidoid.cache.impl.ManageableCache | From | To | |
Change Return Type int to long in method public size() : long in class org.rapidoid.cache.Cache | From | To | |
Move Attribute | 1 | ||
Move Attribute private stats : CacheStats from class org.rapidoid.cache.impl.ConcurrentCacheAtomWithStats to private stats : com.github.benmanes.caffeine.cache.stats.CacheStats from class org.rapidoid.cache.impl.CacheStats | From | To | |
Move And Rename Class | 1 | ||
Move And Rename Class org.rapidoid.cache.impl.ConcurrentCache moved and renamed to org.rapidoid.cache.CaffeineCache | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type cache : ConcurrentCache<?,?> to cache : Cache<?,?> in class org.rapidoid.cache.impl.ManageableCache | From | To | |
Extract And Move Method | 2 | ||
Extract And Move Method public requests() : long extracted from public testPreloadedCache() : void in class org.rapidoid.cache.SimpleCachingTest & moved to class org.rapidoid.cache.impl.CacheStats | From | To | |
Extract And Move Method public bypassed() : long extracted from public bypassed() : long in class org.rapidoid.cache.impl.ManageableCache & moved to class org.rapidoid.cache.impl.CacheStats | From | To |