public interface GracefulDisconnectResponse
extends org.apache.directory.api.ldap.model.message.ExtendedResponse
org.apache.directory.api.ldap.model.message.extended.NoticeOfDisconnect this response contains additional information about
the amount of time the server will be offline and exactly when it intends to
shutdown.| Modifier and Type | Field and Description |
|---|---|
static String |
EXTENSION_OID
The OID for the graceful disconnect extended operation response.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addReplicatedContexts(String replicatedContext)
Add a new URL of a replicated server
|
int |
getDelay()
Gets the delay before disconnection, in seconds.
|
org.apache.directory.api.ldap.model.message.Referral |
getReplicatedContexts()
Gets the replicated contexts.
|
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.
|
getResponseName, setResponseNamestatic final String EXTENSION_OID
int getDelay()
void setDelay(int delay)
delay - the new delay before disconnectionint getTimeOffline()
void setTimeOffline(int timeOffline)
timeOffline - the new time offline after disconnectionorg.apache.directory.api.ldap.model.message.Referral getReplicatedContexts()
void addReplicatedContexts(String replicatedContext)
replicatedContext - The replicated server to add.Copyright © 2003–2015 The Apache Software Foundation. All rights reserved.