public interface GracefulDisconnectResponse extends ExtendedResponse
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.
|
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, setResponseName
getLdapResult
addAllControls, addControl, get, getControl, getControls, getMessageId, getType, hasControl, put, removeControl, setMessageId
static 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 disconnectionReferral getReplicatedContexts()
void addReplicatedContexts(String replicatedContext)
replicatedContext
- The replicated server to add.Copyright © 2003–2023 The Apache Software Foundation. All rights reserved.