public class ConflictsCacheImpl extends java.lang.Object implements ConflictsCache
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME |
Constructor and Description |
---|
ConflictsCacheImpl(com.google.common.cache.Cache<ConflictKey,java.lang.Boolean> conflictsCache) |
Modifier and Type | Method and Description |
---|---|
java.lang.Boolean |
getIfPresent(ConflictKey key) |
static com.google.inject.Module |
module() |
void |
put(ConflictKey key,
java.lang.Boolean value) |
public static final java.lang.String NAME
@Inject public ConflictsCacheImpl(com.google.common.cache.Cache<ConflictKey,java.lang.Boolean> conflictsCache)
public static com.google.inject.Module module()
public void put(ConflictKey key, java.lang.Boolean value)
put
in interface ConflictsCache
public java.lang.Boolean getIfPresent(ConflictKey key)
getIfPresent
in interface ConflictsCache