This method is a convenience for testing. Code should call Segment#getLiveValue instead.
(ReferenceEntry<K, V> entry, long now)
| 1935 | */ |
| 1936 | |
| 1937 | @VisibleForTesting |
| 1938 | boolean isLive(ReferenceEntry<K, V> entry, long now) { |
| 1939 | return segmentFor(entry.getHash()).getLiveValue(entry, now) != null; |
| 1940 | } |
| 1941 | |
| 1942 | /** |
| 1943 | * Returns the segment that should be used for a key with the given hash. |
nothing calls this directly
no test coverage detected