|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opends.server.tools.WaitForFileDelete
public class WaitForFileDelete
This program provides a simple tool that will wait for a specified file to be deleted before exiting. It can be used in the process of confirming that the server has completed its startup or shutdown process.
| Field Summary | |
|---|---|
static int |
EXIT_CODE_INTERNAL_ERROR
The exit code value that will be used if an internal error occurs within this program. |
static int |
EXIT_CODE_SUCCESS
The exit code value that will be used if the target file is deleted successfully. |
static int |
EXIT_CODE_TIMEOUT
The exit code value that will be used if a timeout occurs while waiting for the file to be removed. |
| Constructor Summary | |
|---|---|
WaitForFileDelete()
|
|
| Method Summary | |
|---|---|
static void |
main(java.lang.String[] args)
Processes the command-line arguments and initiates the process of waiting for the file to be removed. |
static int |
mainWait(java.lang.String[] args)
Processes the command-line arguments and then waits for the specified file to be removed. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int EXIT_CODE_SUCCESS
public static final int EXIT_CODE_INTERNAL_ERROR
public static final int EXIT_CODE_TIMEOUT
| Constructor Detail |
|---|
public WaitForFileDelete()
| Method Detail |
|---|
public static void main(java.lang.String[] args)
args - The command-line arguments provided to this program.public static int mainWait(java.lang.String[] args)
args - The command-line arguments provided to this program.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||