org.sonar.batch.duplication
Class BlockCache
java.lang.Object
org.sonar.batch.duplication.BlockCache
- All Implemented Interfaces:
- BatchComponent
public class BlockCache
- extends Object
- implements BatchComponent
Cache of duplication blocks. This cache is shared amongst all project modules.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BlockCache
public BlockCache(Caches caches)
entries
public Iterable<Cache.Entry<org.sonar.duplications.block.FileBlocks>> entries()
byComponent
@CheckForNull
public org.sonar.duplications.block.FileBlocks byComponent(String effectiveKey)
put
public BlockCache put(String effectiveKey,
org.sonar.duplications.block.FileBlocks blocks)
Copyright © 2009–2015 SonarSource. All rights reserved.