public class AsyncIndexUpdate
extends java.lang.Object
implements java.lang.Runnable, java.io.Closeable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PROP_ASYNC_NAME
Name of service property which determines the name of Async task
|
Constructor and Description |
---|
AsyncIndexUpdate(@NotNull java.lang.String name,
@NotNull NodeStore store,
@NotNull IndexEditorProvider provider) |
AsyncIndexUpdate(@NotNull java.lang.String name,
@NotNull NodeStore store,
@NotNull IndexEditorProvider provider,
boolean switchOnSync) |
AsyncIndexUpdate(@NotNull java.lang.String name,
@NotNull NodeStore store,
@NotNull IndexEditorProvider provider,
StatisticsProvider statsProvider,
boolean switchOnSync) |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
checkValidName(java.lang.String asyncName) |
void |
close() |
org.apache.jackrabbit.oak.plugins.index.AsyncIndexUpdate.AsyncIndexStats |
getIndexStats() |
java.lang.String |
getName() |
static boolean |
isAsyncLaneName(java.lang.String asyncName) |
boolean |
isClosed() |
boolean |
isFailing() |
boolean |
isFinished() |
static java.lang.String |
leasify(java.lang.String name) |
void |
run() |
void |
setCorruptIndexHandler(TrackingCorruptIndexHandler corruptIndexHandler) |
void |
setIndexMBeanRegistration(IndexMBeanRegistration mbeanRegistration) |
void |
setValidatorProviders(java.util.List<ValidatorProvider> validatorProviders) |
public static final java.lang.String PROP_ASYNC_NAME
public AsyncIndexUpdate(@NotNull @NotNull java.lang.String name, @NotNull @NotNull NodeStore store, @NotNull @NotNull IndexEditorProvider provider, boolean switchOnSync)
public AsyncIndexUpdate(@NotNull @NotNull java.lang.String name, @NotNull @NotNull NodeStore store, @NotNull @NotNull IndexEditorProvider provider, StatisticsProvider statsProvider, boolean switchOnSync)
public AsyncIndexUpdate(@NotNull @NotNull java.lang.String name, @NotNull @NotNull NodeStore store, @NotNull @NotNull IndexEditorProvider provider)
public static java.lang.String checkValidName(java.lang.String asyncName)
public static boolean isAsyncLaneName(java.lang.String asyncName)
public void run()
run
in interface java.lang.Runnable
public void close()
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
public static java.lang.String leasify(java.lang.String name)
public void setValidatorProviders(java.util.List<ValidatorProvider> validatorProviders)
public void setCorruptIndexHandler(TrackingCorruptIndexHandler corruptIndexHandler)
public boolean isClosed()
public org.apache.jackrabbit.oak.plugins.index.AsyncIndexUpdate.AsyncIndexStats getIndexStats()
public boolean isFinished()
public boolean isFailing()
public void setIndexMBeanRegistration(IndexMBeanRegistration mbeanRegistration)
public java.lang.String getName()
Copyright © 2010 - 2020 Adobe. All Rights Reserved