|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.conquiris.index.AbstractLocalIndexerService
public abstract class AbstractLocalIndexerService
Abstract base class for a LocalIndexerService. Includes the convenience methods.
| Field Summary |
|---|
| Fields inherited from interface net.conquiris.api.index.IndexStatusProperty |
|---|
INDEX_STATUS |
| Fields inherited from interface net.conquiris.api.index.IndexStartedFlag |
|---|
INDEX_STARTED |
| Fields inherited from interface net.conquiris.api.index.IndexActiveFlag |
|---|
INDEX_ACTIVE |
| Constructor Summary | |
|---|---|
protected |
AbstractLocalIndexerService()
Constructor. |
| Method Summary | |
|---|---|
protected ContextLog |
baseLog()
Returns the base log to use. |
Delays |
getDelays()
|
IndexReport |
getIndexReport(IndexReportLevel level)
|
String |
getName()
Returns the name of the service or the class name if no one was provided. |
boolean |
isIndexActive()
|
protected ContextLog |
log()
Returns the context log to use for the index service. |
protected String |
logContextFormat()
Returns the format to use for the service log context. |
void |
setActivationPolicy(IndexerActivationPolicy activationPolicy)
Sets the activation policy. |
void |
setDelays(Delays delays)
|
void |
setName(String name)
Sets the object name. |
protected ContextLog |
writerLog()
Returns the context log to use for the index writer. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface net.conquiris.api.index.LocalIndexerService |
|---|
getIndexInfo, getIndexStatus |
| Methods inherited from interface net.conquiris.api.index.IndexerService |
|---|
reindex, setCheckpoint, start, stop |
| Methods inherited from interface net.conquiris.api.index.IndexStartedFlag |
|---|
isIndexStarted |
| Constructor Detail |
|---|
protected AbstractLocalIndexerService()
| Method Detail |
|---|
public final IndexReport getIndexReport(IndexReportLevel level)
getIndexReport in interface IndexerServicepublic final Delays getDelays()
getDelays in interface LocalIndexerServicepublic final void setDelays(Delays delays)
setDelays in interface IndexerServicepublic final boolean isIndexActive()
isIndexActive in interface IndexActiveFlag
public void setActivationPolicy(@Nullable
IndexerActivationPolicy activationPolicy)
activationPolicy - Policy to use. If null an always active policy will be used.public final String getName()
public final void setName(String name)
protected String logContextFormat()
protected ContextLog baseLog()
protected final ContextLog log()
protected final ContextLog writerLog()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||