public class EventService extends Object
Modifier and Type | Field and Description |
---|---|
static int |
RETRY_INTERVAL
Retry interval for reconnecting to persistent searches.
|
Modifier and Type | Method and Description |
---|---|
static EventService |
getEventService()
Returns the event service (presuming we are not in the process of shutting down).
|
IDSEventListener |
getListener(Class<? extends IDSEventListener> listenerClass)
Retrieve the listener of a specific listening class derivative type.
|
static boolean |
isStarted()
Informs the callers as to the state of the EventService.
|
void |
restartPSearches()
Restarts all currently registered persistent searches.
|
void |
stopPSearches()
Removes listeners from running persistent searches and then stops their execution on the datastore.
|
public static final int RETRY_INTERVAL
public static EventService getEventService() throws EventException, org.forgerock.opendj.ldap.LdapException
EventException
org.forgerock.opendj.ldap.LdapException
public void restartPSearches()
public void stopPSearches()
public static boolean isStarted()
true
if the EventService is started and the system is not shutting down.public IDSEventListener getListener(Class<? extends IDSEventListener> listenerClass)
listenerClass
- The IDSEventListener
implementation class to retrieve.Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.