public final class TimeoutChecker extends Object
TimeoutEventListener listeners for events that have timed out.
All listeners registered with the #addListener() method are called
back with TimeoutEventListener#handleTimeout() to be able to handle
the timeout.
| Modifier and Type | Field and Description |
|---|---|
static com.forgerock.opendj.util.ReferenceCountedObject<TimeoutChecker> |
TIMEOUT_CHECKER
Global reference on the timeout checker.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(TimeoutEventListener listener)
Registers a timeout event listener for timeout notification.
|
void |
removeListener(TimeoutEventListener listener)
Deregisters a timeout event listener for timeout notification.
|
public static final com.forgerock.opendj.util.ReferenceCountedObject<TimeoutChecker> TIMEOUT_CHECKER
public void addListener(TimeoutEventListener listener)
listener - The timeout event listener.public void removeListener(TimeoutEventListener listener)
listener - The timeout event listener.Copyright © 2011-2015 ForgeRock AS. All Rights Reserved.