H2CacheImpl: Support get(K, Callable<? extends V>)
This method does not come for free from AbstractCache. Fortunately, it is easy to implement by wrapping the provided Callable. Change-Id: Ia3ad46dc87e54ddc6e8ee245e065ed4686c72e10
This commit is contained in:
committed by
Shawn Pearce
parent
e9a29309e3
commit
e47caabfa8
@@ -13,3 +13,16 @@ java_library(
|
||||
],
|
||||
visibility = ['PUBLIC'],
|
||||
)
|
||||
|
||||
java_test(
|
||||
name = 'tests',
|
||||
srcs = glob(['src/test/java/**/*.java']),
|
||||
deps = [
|
||||
':cache-h2',
|
||||
'//gerrit-server:server',
|
||||
'//lib:guava',
|
||||
'//lib:h2',
|
||||
'//lib/guice:guice',
|
||||
'//lib:junit',
|
||||
],
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user