public interface GracefulShutdownRequest
extends org.apache.directory.api.ldap.model.message.ExtendedRequest
| Modifier and Type | Field and Description |
|---|---|
static String |
EXTENSION_OID
The OID for the graceful shutdown extended operation request.
|
static int |
NOW
The shutdown is immediate
|
static int |
UNDETERMINED
Undetermined value used for offline time
|
| Modifier and Type | Method and Description |
|---|---|
int |
getDelay()
Gets the delay before disconnection, in seconds.
|
int |
getTimeOffline()
Gets the offline time after disconnection, in minutes.
|
void |
setDelay(int delay)
Sets the delay before disconnection, in seconds.
|
void |
setTimeOffline(int timeOffline)
Sets the time offline after disconnection, in minutes.
|
addAllControls, addControl, getRequestName, removeControl, setMessageId, setRequestNamegetResponseTypestatic final String EXTENSION_OID
static final int UNDETERMINED
static final int NOW
int getDelay()
void setDelay(int delay)
delay - the new delay before disconnectionint getTimeOffline()
void setTimeOffline(int timeOffline)
timeOffline - the new time offline after disconnectionCopyright © 2003–2019 The Apache Software Foundation. All rights reserved.