|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.solr.update.SolrCoreState
public abstract class SolrCoreState
The state in this class can be easily shared between SolrCores across SolrCore reloads.
Nested Class Summary | |
---|---|
static interface |
SolrCoreState.IndexWriterCloser
|
Constructor Summary | |
---|---|
SolrCoreState()
|
Method Summary | |
---|---|
abstract void |
cancelRecovery()
|
abstract void |
decref(SolrCoreState.IndexWriterCloser closer)
Decrement the number of references to this state. |
abstract void |
doRecovery(CoreContainer cc,
String name)
|
abstract DirectoryFactory |
getDirectoryFactory()
|
abstract IndexWriter |
getIndexWriter(SolrCore core)
Get the current IndexWriter. |
abstract void |
incref()
Increment the number of references to this state. |
abstract void |
newIndexWriter(SolrCore core)
Force the creation of a new IndexWriter using the settings from the given SolrCore. |
abstract void |
rollbackIndexWriter(SolrCore core)
Rollback the current IndexWriter. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SolrCoreState()
Method Detail |
---|
public abstract void newIndexWriter(SolrCore core) throws IOException
core
-
IOException
public abstract IndexWriter getIndexWriter(SolrCore core) throws IOException
SolrCore
.
IOException
public abstract void decref(SolrCoreState.IndexWriterCloser closer) throws IOException
IOException
public abstract void incref()
public abstract void rollbackIndexWriter(SolrCore core) throws IOException
SolrCore
.
core
-
IOException
public abstract DirectoryFactory getDirectoryFactory()
DirectoryFactory
that should be used.public abstract void doRecovery(CoreContainer cc, String name)
public abstract void cancelRecovery()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |