IndexingContext.close
Code IndexAdd Codota to your IDE (free)

Best code snippets using org.apache.maven.index.context.IndexingContext.close(Showing top 7 results out of 315)

  • Common ways to obtain IndexingContext
private void myMethod () {
IndexingContext i =
  • Indexer indexer;indexer.createIndexingContext(id, repositoryId, repository, indexDirectory, repositoryUrl, indexUpdateUrl, true, true, indexers)
  • AI code suggestions by Codota
}
origin: org.jboss.windup.org.apache.maven.indexer/indexer-core

public void closeIndexingContext( IndexingContext context, boolean deleteFiles )
  throws IOException
{
  context.close( deleteFiles );
}
origin: org.apache.maven.indexer/indexer-core

tmpContext.close( true );
origin: org.netbeans.modules/org-netbeans-modules-maven-indexer

tmpContext.close( true );
origin: org.jboss.windup.org.apache.maven.indexer/indexer-core

tmpContext.close( true );
origin: org.apache.maven.indexer/indexer-core

public void closeIndexingContext( IndexingContext context, boolean deleteFiles )
  throws IOException
{
  context.close( deleteFiles );
}
origin: apache/archiva

@Override
public void close(boolean deleteFiles) throws IOException {
  delegate.close(deleteFiles);
}
origin: apache/archiva

@Override
public void close() throws IOException {
  delegate.close(false);
}
org.apache.maven.index.contextIndexingContextclose

Javadoc

Shuts down this context.

Popular methods of IndexingContext

  • getId
    Returns this indexing context id.
  • getIndexDirectoryFile
  • acquireIndexSearcher
    Acquires a fresh instance of IndexSearcher. You have to release the received instance with #releaseI
  • getIndexDirectory
  • updateTimestamp
  • commit
    Commits changes to context, eventually refreshing readers/searchers too.
  • getIndexUpdateUrl
    Returns url for the index update
  • optimize
    Optimizes index. According to Lucene 3.6+ Javadoc, there is no more sense to optimize, so this metho
  • getAllGroups
    Gets all group names stored in the current indexing context
  • getIndexCreators
    List of IndexCreators used in this context.
  • getRepository
    Returns location for the local repository.
  • getRepositoryId
    Returns repository id.
  • getRepository,
  • getRepositoryId,
  • getRepositoryUrl,
  • isSearchable,
  • merge,
  • releaseIndexSearcher,
  • replace,
  • setSearchable,
  • getAnalyzer

Popular classes and methods

  • requestLocationUpdates (LocationManager)
  • scheduleAtFixedRate (Timer)
    Schedules the specified task for repeated fixed-rate execution, beginning after the specified delay.
  • getSharedPreferences (Context)
  • PrintStream (java.io)
    Wraps an existing OutputStream and provides convenience methods for writing common data types in a h
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • Scanner (java.util)
    A parser that parses a text string of primitive types and strings with the help of regular expressio
  • Pattern (java.util.regex)
    Emulation of the Pattern class, uses RegExp as internal implementation.
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
  • JLabel (javax.swing)
  • Option (scala)

For IntelliJ IDEA and
Android Studio

  • Codota IntelliJ IDEA pluginCodota Android Studio pluginCode IndexSign in
  • EnterpriseFAQAboutContact Us
  • Terms of usePrivacy policyCodeboxFind Usages
Add Codota to your IDE (free)