@ThreadSafe public final class PIDStoreStartHandler extends Object implements EventHandler<RuntimeStart>
Modifier and Type | Field and Description |
---|---|
static String |
PID_FILE_NAME
The file name of the PID file created in the current working directory of the process.
|
Modifier and Type | Method and Description |
---|---|
void |
onNext(RuntimeStart startTime)
This call is idempotent: It will only write the PID exactly once per instance.
|
public static final String PID_FILE_NAME
public void onNext(RuntimeStart startTime)
onNext
in interface EventHandler<RuntimeStart>
startTime
- Copyright © 2016 The Apache Software Foundation. All rights reserved.