Package org.sonar.python.caching
Class PythonWriteCacheImpl
java.lang.Object
org.sonar.python.caching.PythonWriteCacheImpl
- All Implemented Interfaces:
PythonWriteCache
-
Constructor Summary
ConstructorsConstructorDescriptionPythonWriteCacheImpl(org.sonar.api.batch.sensor.cache.WriteCache writeCache) -
Method Summary
Modifier and TypeMethodDescriptionvoidcopyFromPrevious(String key) Copy a cached entry from the previous cache to the new one.voidSave a new entry in the cache.
-
Constructor Details
-
PythonWriteCacheImpl
public PythonWriteCacheImpl(org.sonar.api.batch.sensor.cache.WriteCache writeCache)
-
-
Method Details
-
write
Description copied from interface:PythonWriteCacheSave a new entry in the cache.- Specified by:
writein interfacePythonWriteCache
-
copyFromPrevious
Description copied from interface:PythonWriteCacheCopy a cached entry from the previous cache to the new one.- Specified by:
copyFromPreviousin interfacePythonWriteCache
-