Package org.sonar.php.cache
Class PhpReadCacheImpl
java.lang.Object
org.sonar.php.cache.PhpReadCacheImpl
- All Implemented Interfaces:
PhpReadCache
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
PhpReadCacheImpl
public PhpReadCacheImpl(org.sonar.api.batch.sensor.cache.ReadCache readCache)
-
-
Method Details
-
readBytes
- Specified by:
readBytesin interfacePhpReadCache- Returns:
- the array of bytes stored for the given key, if any.
nullotherwise.
-
read
Description copied from interface:PhpReadCacheReturns an input stream for the data cached with the providedkey. It is the responsibility of the caller to close the stream.- Specified by:
readin interfacePhpReadCache
-
contains
Description copied from interface:PhpReadCacheChecks whether the cache contains the providedkey.- Specified by:
containsin interfacePhpReadCache
-