|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.directory.shared.asn1.Asn1Object
org.apache.directory.shared.ldap.codec.extended.operations.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.Asn1Object |
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.Asn1Object |
addLength, computeLength, encode, getCurrentLength, getExpectedLength, getParent, 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 disconnectionMethod 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 |