|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.directory.shared.asn1.AbstractAsn1Object
org.apache.directory.shared.ldap.codec.extended.operations.GracefulAction
public abstract class GracefulAction
A common class for graceful Disconnect and Shutdown extended operations.
| Field Summary | |
|---|---|
protected int |
delay
Delay before disconnection |
static int |
NOW
The shutdown is immediate |
protected int |
timeOffline
offline Time after disconnection |
static int |
UNDETERMINED
Undetermined value used for timeOffline |
| Fields inherited from class org.apache.directory.shared.asn1.AbstractAsn1Object |
|---|
parent |
| Constructor Summary | |
|---|---|
GracefulAction()
Default constructor. |
|
GracefulAction(int timeOffline,
int delay)
Create a GracefulAction object, with a timeOffline and a delay |
|
| Method Summary | |
|---|---|
int |
getDelay()
|
int |
getTimeOffline()
|
void |
setDelay(int delay)
|
void |
setTimeOffline(int timeOffline)
|
| Methods inherited from class org.apache.directory.shared.asn1.AbstractAsn1Object |
|---|
addLength, computeLength, encode, getCurrentLength, getExpectedLength, getParent, getTlvId, setCurrentLength, setExpectedLength, setParent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int UNDETERMINED
public static final int NOW
protected int timeOffline
protected int delay
| Constructor Detail |
|---|
public GracefulAction()
public GracefulAction(int timeOffline,
int delay)
timeOffline - The time the server will be offlinedelay - The delay before the disconnection| Method Detail |
|---|
public int getDelay()
public void setDelay(int delay)
public int getTimeOffline()
public void setTimeOffline(int timeOffline)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||