@Deprecated public class JcrObservationThrottle extends java.lang.Object implements EventListener
Constructor and Description |
---|
JcrObservationThrottle(Node tempNodeFolder)
Deprecated.
Create a JcrObservationThrottle
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Deprecated.
MUST be called to clean up, DELETES the temp folder
node that was passed to constructor
|
void |
onEvent(EventIterator events)
Deprecated.
|
void |
open()
Deprecated.
Setup temporary node to detect events, must be called
before {link #waitForEvents}
|
long |
waitForEvents()
Deprecated.
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
RepositoryException
- if some error occurspublic void close()
public void onEvent(EventIterator events)
onEvent
in interface EventListener
public long waitForEvents() throws RepositoryException
RepositoryException
- if some error occursCopyright © 2010 - 2020 Adobe. All Rights Reserved