public class RabitTracker extends Object implements IRabitTracker
IRabitTracker.TrackerStatus| Constructor and Description |
|---|
RabitTracker(int numWorkers) |
RabitTracker(int numWorkers,
String hostIp,
String pythonExec) |
| Modifier and Type | Method and Description |
|---|---|
String |
getRabitTrackerCommand()
visible for testing
|
Map<String,String> |
getWorkerEnvs()
Get environments that can be used to pass to worker.
|
boolean |
start(long timeout) |
void |
stop() |
void |
uncaughtException(Thread t,
Throwable e) |
int |
waitFor(long timeout) |
public RabitTracker(int numWorkers)
throws XGBoostError
XGBoostErrorpublic RabitTracker(int numWorkers,
String hostIp,
String pythonExec)
throws XGBoostError
XGBoostErrorpublic void uncaughtException(Thread t, Throwable e)
uncaughtException in interface Thread.UncaughtExceptionHandlerpublic Map<String,String> getWorkerEnvs()
getWorkerEnvs in interface IRabitTrackerpublic String getRabitTrackerCommand()
public void stop()
stop in interface IRabitTrackerpublic boolean start(long timeout)
start in interface IRabitTrackerpublic int waitFor(long timeout)
waitFor in interface IRabitTrackerCopyright © 2022. All rights reserved.