Class JavaWriteCacheImpl
java.lang.Object
org.sonar.java.caching.JavaWriteCacheImpl
- All Implemented Interfaces:
JavaWriteCache
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcopyFromPrevious(String key) Copy a cached entry from the previous cache to the new one.booleaninthashCode()voidSave a new entry in the cache.voidwrite(String key, InputStream data) Save a new entry in the cache.
-
Constructor Details
-
JavaWriteCacheImpl
public JavaWriteCacheImpl(org.sonar.api.batch.sensor.cache.WriteCache writeCache)
-
-
Method Details
-
write
Description copied from interface:JavaWriteCacheSave a new entry in the cache. The stream will be consumed immediately.- Specified by:
writein interfaceJavaWriteCache
-
write
Description copied from interface:JavaWriteCacheSave a new entry in the cache.- Specified by:
writein interfaceJavaWriteCache
-
copyFromPrevious
Description copied from interface:JavaWriteCacheCopy a cached entry from the previous cache to the new one.- Specified by:
copyFromPreviousin interfaceJavaWriteCache
-
equals
-
hashCode
-