|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface GracefulShutdownRequest
An extended operation requesting the server to shutdown it's LDAP service port while allowing established clients to complete or abandon operations already in progress. More information about this extended request is available here: LDAP Extensions for Graceful Shutdown.
| Field Summary | |
|---|---|
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 |
| Fields inherited from interface org.apache.directory.api.ldap.model.message.ExtendedRequest |
|---|
RESP_TYPE, TYPE |
| Method Summary | |
|---|---|
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 befor disconnection, in seconds. |
void |
setTimeOffline(int timeOffline)
Sets the time offline after disconnection, in minutes. |
| Methods inherited from interface org.apache.directory.api.ldap.model.message.ExtendedRequest |
|---|
addAllControls, addControl, getRequestName, removeControl, setMessageId, setRequestName |
| Methods inherited from interface org.apache.directory.api.ldap.model.message.SingleReplyRequest |
|---|
getResponseType |
| Methods inherited from interface org.apache.directory.api.ldap.model.message.ResultResponseRequest |
|---|
getResultResponse |
| Methods inherited from interface org.apache.directory.api.ldap.model.message.Request |
|---|
hasResponse |
| Methods inherited from interface org.apache.directory.api.ldap.model.message.Message |
|---|
get, getControl, getControls, getMessageId, getType, hasControl, put |
| Field Detail |
|---|
static final String EXTENSION_OID
static final int UNDETERMINED
static final int NOW
| Method Detail |
|---|
int getDelay()
void setDelay(int delay)
delay - the new delay before disconnectionint getTimeOffline()
void setTimeOffline(int timeOffline)
timeOffline - the new time offline after disconnection
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||