|
ModeShape Distribution 3.6.0.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.modeshape.jcr.BackupObserver
@ThreadSafe public class BackupObserver
A ChangeSetListener that captures the changes being made in a repository, forwarding the node and property changes to
the supplied queue, and capturing the set of binary keys that are marked as being used or unused.
BackupService| Constructor Summary | |
|---|---|
protected |
BackupObserver(Queue<NodeKey> changedNodes)
|
| Method Summary | |
|---|---|
Iterable<BinaryKey> |
getUnusedBinaryKeys()
Get the binary keys that have been marked as being unused during the time this observer was listening to the repository. |
Iterable<BinaryKey> |
getUsedBinaryKeys()
Get the binary keys that have been marked as being used during the time this observer was listening to the repository. |
void |
notify(ChangeSet changeSet)
Notifies a listener of the given changes. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected BackupObserver(Queue<NodeKey> changedNodes)
| Method Detail |
|---|
public void notify(ChangeSet changeSet)
ChangeSetListener
notify in interface ChangeSetListenerchangeSet - a non-null ChangeSetpublic Iterable<BinaryKey> getUnusedBinaryKeys()
public Iterable<BinaryKey> getUsedBinaryKeys()
|
ModeShape Distribution 3.6.0.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||