| Package | Description |
|---|---|
| org.apache.jackrabbit.oak.plugins.memory | |
| org.apache.jackrabbit.oak.spi.commit |
| Modifier and Type | Method and Description |
|---|---|
Closeable |
MemoryNodeStore.addObserver(Observer observer) |
| Modifier and Type | Class and Description |
|---|---|
class |
BackgroundObserver
An observer that uses a change queue and a background thread to forward
content changes to another observer.
|
class |
ChangeDispatcher
A
ChangeDispatcher instance dispatches content changes
to registered Observers. |
class |
CompositeObserver
Composite observer that delegates all content changes to the set of
currently registered component observers.
|
class |
DiffObserver
Abstract base class for observers that use a content diff to determine
what changed between two consecutive observed states of the repository.
|
class |
EmptyObserver
Basic content change observer that doesn't do anything.
|
| Modifier and Type | Method and Description |
|---|---|
Closeable |
Observable.addObserver(Observer observer)
Register a new
Observer. |
void |
CompositeObserver.addObserver(Observer observer) |
Closeable |
ChangeDispatcher.addObserver(Observer observer)
Register a new
Observer for receiving notifications about changes reported to
this change dispatcher. |
void |
CompositeObserver.removeObserver(Observer observer) |
| Constructor and Description |
|---|
BackgroundObserver(Observer observer,
Executor executor) |
BackgroundObserver(Observer observer,
Executor executor,
int queueLength) |
BackgroundObserver(Observer observer,
Executor executor,
int queueLength,
Thread.UncaughtExceptionHandler exceptionHandler) |
Copyright © 2012–2017 The Apache Software Foundation. All rights reserved.