Package org.sonar.php.cache
Class PhpWriteCacheImpl
java.lang.Object
org.sonar.php.cache.PhpWriteCacheImpl
- All Implemented Interfaces:
PhpWriteCache
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcopyFromPrevious(String key) Copy a cached entry from the previous cache to the new one.voidwriteBytes(String key, byte[] data) Save a new entry in the cache.
-
Constructor Details
-
PhpWriteCacheImpl
public PhpWriteCacheImpl(org.sonar.api.batch.sensor.cache.WriteCache writeCache)
-
-
Method Details
-
writeBytes
Description copied from interface:PhpWriteCacheSave a new entry in the cache.- Specified by:
writeBytesin interfacePhpWriteCache
-
copyFromPrevious
Description copied from interface:PhpWriteCacheCopy a cached entry from the previous cache to the new one.- Specified by:
copyFromPreviousin interfacePhpWriteCache
-