Class BundlingConfigHandler
- java.lang.Object
-
- org.apache.jackrabbit.oak.plugins.document.bundlor.BundlingConfigHandler
-
-
Field Summary
Fields Modifier and Type Field Description static String
BUNDLOR
static String
CONFIG_PATH
static String
DOCUMENT_NODE_STORE
-
Constructor Summary
Constructors Constructor Description BundlingConfigHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
void
contentChanged(@NotNull NodeState root, @NotNull CommitInfo info)
Observes a content change.BackgroundObserverMBean
getMBean()
void
initialize(Observable nodeStore, Executor executor)
boolean
isEnabled()
BundlingHandler
newBundlingHandler()
void
unregisterObserver()
-
-
-
Field Detail
-
DOCUMENT_NODE_STORE
public static final String DOCUMENT_NODE_STORE
- See Also:
- Constant Field Values
-
BUNDLOR
public static final String BUNDLOR
- See Also:
- Constant Field Values
-
CONFIG_PATH
public static final String CONFIG_PATH
- See Also:
- Constant Field Values
-
-
Method Detail
-
contentChanged
public void contentChanged(@NotNull @NotNull NodeState root, @NotNull @NotNull CommitInfo info)
Description copied from interface:Observer
Observes a content change. See theObserver
class javadocs and relevant repository and observer registration details for more information on when and how this method gets called.- Specified by:
contentChanged
in interfaceObserver
- Parameters:
root
- root state of the repositoryinfo
- commit information
-
newBundlingHandler
public BundlingHandler newBundlingHandler()
-
initialize
public void initialize(Observable nodeStore, Executor executor)
-
close
public void close() throws IOException
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-
getMBean
public BackgroundObserverMBean getMBean()
-
isEnabled
public boolean isEnabled()
-
unregisterObserver
public void unregisterObserver() throws IOException
- Throws:
IOException
-
-