Tabnine Logo
SimpleFSLockFactory.setLockDir
Code IndexAdd Tabnine to your IDE (free)

How to use
setLockDir
method
in
org.apache.lucene.store.SimpleFSLockFactory

Best Java code snippets using org.apache.lucene.store.SimpleFSLockFactory.setLockDir (Showing top 12 results out of 315)

origin: org.apache.lucene/lucene-core-jfrog

/**
 * Instantiate using the provided directory (as a File instance).
 * @param lockDir where lock files should be created.
 */
public SimpleFSLockFactory(File lockDir) throws IOException {
 setLockDir(lockDir);
}
origin: org.apache.lucene/com.springsource.org.apache.lucene

/**
 * Instantiate using the provided directory (as a File instance).
 * @param lockDir where lock files should be created.
 */
public SimpleFSLockFactory(File lockDir) throws IOException {
 setLockDir(lockDir);
}
origin: gncloud/fastcatsearch

/**
 * Instantiate using the provided directory (as a File instance).
 * @param lockDir where lock files should be created.
 */
public SimpleFSLockFactory(File lockDir) {
 setLockDir(lockDir);
}
origin: org.apache.lucene/com.springsource.org.apache.lucene

/**
 * Instantiate using the provided directory name (String).
 * @param lockDirName where lock files should be created.
 */
public SimpleFSLockFactory(String lockDirName) throws IOException {
 lockDir = new File(lockDirName);
 setLockDir(lockDir);
}
origin: org.apache.lucene/lucene-core-jfrog

/**
 * Instantiate using the provided directory name (String).
 * @param lockDirName where lock files should be created.
 */
public SimpleFSLockFactory(String lockDirName) throws IOException {
 lockDir = new File(lockDirName);
 setLockDir(lockDir);
}
origin: gncloud/fastcatsearch

/**
 * Instantiate using the provided directory name (String).
 * @param lockDirName where lock files should be created.
 */
public SimpleFSLockFactory(String lockDirName) {
 setLockDir(new File(lockDirName));
}
origin: org.apache.lucene/com.springsource.org.apache.lucene

 ((NativeFSLockFactory) lockFactory).setLockDir(lockDir);
} else if (lockFactory instanceof SimpleFSLockFactory) {
 ((SimpleFSLockFactory) lockFactory).setLockDir(lockDir);
origin: org.apache.lucene/lucene-core-jfrog

 ((NativeFSLockFactory) lockFactory).setLockDir(lockDir);
} else if (lockFactory instanceof SimpleFSLockFactory) {
 ((SimpleFSLockFactory) lockFactory).setLockDir(lockDir);
origin: org.alfresco/alfresco-repository

 ((NativeFSLockFactory) lockFactory).setLockDir(path);
} else if (lockFactory instanceof SimpleFSLockFactory) {
 ((SimpleFSLockFactory) lockFactory).setLockDir(path);
origin: org.apache.lucene/com.springsource.org.apache.lucene

 ((NativeFSLockFactory) lockFactory).setLockDir(path);
} else if (lockFactory instanceof SimpleFSLockFactory) {
 ((SimpleFSLockFactory) lockFactory).setLockDir(path);
origin: org.apache.lucene/lucene-core-jfrog

 ((NativeFSLockFactory) lockFactory).setLockDir(path);
} else if (lockFactory instanceof SimpleFSLockFactory) {
 ((SimpleFSLockFactory) lockFactory).setLockDir(path);
origin: Alfresco/alfresco-repository

 ((NativeFSLockFactory) lockFactory).setLockDir(path);
} else if (lockFactory instanceof SimpleFSLockFactory) {
 ((SimpleFSLockFactory) lockFactory).setLockDir(path);
org.apache.lucene.storeSimpleFSLockFactorysetLockDir

Javadoc

Set the lock directory. This is package-private and is only used externally by FSDirectory when creating this LockFactory via the System property org.apache.lucene.store.FSDirectoryLockFactoryClass.

Popular methods of SimpleFSLockFactory

  • <init>
    Instantiate using the provided directory name (String).
  • makeLock

Popular in Java

  • Start an intent from android
  • getExternalFilesDir (Context)
  • getSupportFragmentManager (FragmentActivity)
  • notifyDataSetChanged (ArrayAdapter)
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • Permission (java.security)
    Legacy security code; do not use.
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • LinkedHashMap (java.util)
    LinkedHashMap is an implementation of Map that guarantees iteration order. All optional operations a
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
  • Top 12 Jupyter Notebook extensions
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now