public class RabitTracker extends Object implements ITracker
| Constructor and Description |
|---|
RabitTracker(int numWorkers) |
RabitTracker(int numWorkers,
String hostIp) |
RabitTracker(int numWorkers,
String hostIp,
int port,
int timeout) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
getWorkerArgs()
Get environments that can be used to pass to worker.
|
boolean |
start() |
void |
stop() |
void |
uncaughtException(Thread t,
Throwable e) |
void |
waitFor(long timeout) |
public RabitTracker(int numWorkers)
throws XGBoostError
XGBoostErrorpublic RabitTracker(int numWorkers,
String hostIp)
throws XGBoostError
XGBoostErrorpublic RabitTracker(int numWorkers,
String hostIp,
int port,
int timeout)
throws XGBoostError
XGBoostErrorpublic void uncaughtException(Thread t, Throwable e)
uncaughtException in interface Thread.UncaughtExceptionHandlerpublic Map<String,Object> getWorkerArgs() throws XGBoostError
getWorkerArgs in interface ITrackerXGBoostErrorpublic void stop()
throws XGBoostError
stop in interface ITrackerXGBoostErrorpublic boolean start()
throws XGBoostError
start in interface ITrackerXGBoostErrorpublic void waitFor(long timeout)
throws XGBoostError
waitFor in interface ITrackerXGBoostErrorCopyright © 2026. All rights reserved.