Class IndexerMBeanImpl
- java.lang.Object
-
- javax.management.StandardMBean
-
- org.apache.jackrabbit.oak.commons.jmx.AnnotatedStandardMBean
-
- org.apache.jackrabbit.oak.plugins.index.IndexerMBeanImpl
-
- All Implemented Interfaces:
javax.management.DynamicMBean
,javax.management.MBeanRegistration
,IndexerMBean
public class IndexerMBeanImpl extends AnnotatedStandardMBean implements IndexerMBean
-
-
Field Summary
-
Fields inherited from interface org.apache.jackrabbit.oak.api.jmx.IndexerMBean
TYPE
-
-
Constructor Summary
Constructors Constructor Description IndexerMBeanImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
importIndex(java.lang.String indexDirPath)
boolean
importIndex(java.lang.String indexDirPath, boolean ignoreLocalLock)
-
-
-
Method Detail
-
importIndex
public boolean importIndex(java.lang.String indexDirPath) throws java.io.IOException, CommitFailedException
- Specified by:
importIndex
in interfaceIndexerMBean
- Throws:
java.io.IOException
CommitFailedException
-
importIndex
public boolean importIndex(java.lang.String indexDirPath, boolean ignoreLocalLock) throws java.io.IOException, CommitFailedException
- Specified by:
importIndex
in interfaceIndexerMBean
- Throws:
java.io.IOException
CommitFailedException
-
-