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