@Deprecated
public class JcrObservationThrottle
extends java.lang.Object
implements javax.jcr.observation.EventListener
| Constructor and Description |
|---|
JcrObservationThrottle(javax.jcr.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(javax.jcr.observation.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(javax.jcr.Node tempNodeFolder)
tempNodeFolder - a node with a unique name
is created in that folder to detect observation
events.public void open()
throws javax.jcr.RepositoryException
javax.jcr.RepositoryException - if some error occurspublic void close()
public void onEvent(javax.jcr.observation.EventIterator events)
onEvent in interface javax.jcr.observation.EventListenerpublic long waitForEvents()
throws javax.jcr.RepositoryException
javax.jcr.RepositoryException - if some error occursCopyright © 2010 - 2025 Adobe. All Rights Reserved