org.sonar.batch.index
Class Caches
java.lang.Object
org.sonar.batch.index.Caches
- All Implemented Interfaces:
- org.picocontainer.Startable, BatchComponent
public class Caches
- extends Object
- implements BatchComponent, org.picocontainer.Startable
Factory of caches
- Since:
- 3.6
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Caches
public Caches(TempFolder tempFolder)
registerValueCoder
public void registerValueCoder(Class<?> clazz,
com.persistit.encoding.ValueCoder coder)
createCache
public <V> Cache<V> createCache(String cacheName)
start
public void start()
- Specified by:
start in interface org.picocontainer.Startable
stop
public void stop()
- Specified by:
stop in interface org.picocontainer.Startable
Copyright © 2009–2015 SonarSource. All rights reserved.