org.infinispan.lucenedemo
Class DirectoryFactory

java.lang.Object
  extended by org.infinispan.lucenedemo.DirectoryFactory

public class DirectoryFactory
extends Object

Utility to create a Directory for the demo.

Since:
4.0
Author:
Sanne Grinovero

Field Summary
static String CACHE_NAME_FOR_INDEXES
           
 
Constructor Summary
DirectoryFactory()
           
 
Method Summary
static CacheManager getCacheManager()
           
static InfinispanDirectory getIndex(String indexName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CACHE_NAME_FOR_INDEXES

public static final String CACHE_NAME_FOR_INDEXES
See Also:
Constant Field Values
Constructor Detail

DirectoryFactory

public DirectoryFactory()
Method Detail

getCacheManager

public static CacheManager getCacheManager()

getIndex

public static InfinispanDirectory getIndex(String indexName)

Google Analytics

Copyright © 2009 JBoss, a division of Red Hat. All Rights Reserved.