Class ConflictsCacheImpl
java.lang.Object
com.google.gerrit.server.query.change.ConflictsCacheImpl
- All Implemented Interfaces:
ConflictsCache
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConflictsCacheImpl(com.google.common.cache.Cache<ConflictKey, Boolean> conflictsCache) -
Method Summary
Modifier and TypeMethodDescriptionget(ConflictKey key, Callable<? extends Boolean> loader) static com.google.inject.Modulemodule()voidput(ConflictKey key, boolean value)
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
ConflictsCacheImpl
@Inject public ConflictsCacheImpl(com.google.common.cache.Cache<ConflictKey, Boolean> conflictsCache)
-
-
Method Details
-
module
public static com.google.inject.Module module() -
put
- Specified by:
putin interfaceConflictsCache
-
get
- Specified by:
getin interfaceConflictsCache- Throws:
ExecutionException
-