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)
-
Methods inherited from class org.apache.jackrabbit.oak.commons.jmx.AnnotatedStandardMBean
getDescription, getDescription, getDescription, getDescription, getImpact, getParameterName
-
Methods inherited from class javax.management.StandardMBean
cacheMBeanInfo, getAttribute, getAttributes, getCachedMBeanInfo, getClassName, getConstructors, getDescription, getDescription, getDescription, getImplementation, getImplementationClass, getMBeanInfo, getMBeanInterface, getParameterName, invoke, postDeregister, postRegister, preDeregister, preRegister, setAttribute, setAttributes, setImplementation
-
-
-
-
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
-
-