public class JcrObservationThrottle
extends java.lang.Object
| Constructor and Description |
|---|
JcrObservationThrottle(Node tempNodeFolder)
Create a JcrObservationThrottle
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
MUST be called to clean up, DELETES the temp folder
node that was passed to constructor
|
void |
onEvent(EventIterator events) |
void |
open()
Setup temporary node to detect events, must be called
before {link #waitForEvents}
|
long |
waitForEvents()
Block until all pending observation events have been delivered.
|
public JcrObservationThrottle(Node tempNodeFolder)
tempNodeFolder - a node with a unique name
is created in that folder to detect observation
events.public void open()
throws RepositoryException
RepositoryExceptionpublic void close()
public void onEvent(EventIterator events)
public long waitForEvents()
throws RepositoryException
RepositoryException"Copyright © 2010 - 2018 Adobe Systems Incorporated. All Rights Reserved"