org.sonar.batch.index
Class Caches

java.lang.Object
  extended by 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

Constructor Summary
Caches(TempFolder tempFolder)
           
 
Method Summary
<V> Cache<V>
createCache(String cacheName)
           
 void registerValueCoder(Class<?> clazz, com.persistit.encoding.ValueCoder coder)
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Caches

public Caches(TempFolder tempFolder)
Method Detail

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.