mirror of
https://github.com/wassname/ray.git
synced 2026-06-28 04:23:03 +08:00
[Java] Simplify ray cmd params (#10394)
This commit is contained in:
@@ -14,15 +14,25 @@ public class NodeInfo {
|
||||
|
||||
public final String nodeHostname;
|
||||
|
||||
public final int nodeManagerPort;
|
||||
|
||||
public final String objectStoreSocketName;
|
||||
|
||||
public final String rayletSocketName;
|
||||
|
||||
public final boolean isAlive;
|
||||
|
||||
public final Map<String, Double> resources;
|
||||
|
||||
public NodeInfo(UniqueId nodeId, String nodeAddress, String nodeHostname,
|
||||
public NodeInfo(UniqueId nodeId, String nodeAddress, String nodeHostname, int nodeManagerPort,
|
||||
String objectStoreSocketName, String rayletSocketName,
|
||||
boolean isAlive, Map<String, Double> resources) {
|
||||
this.nodeId = nodeId;
|
||||
this.nodeAddress = nodeAddress;
|
||||
this.nodeHostname = nodeHostname;
|
||||
this.nodeManagerPort = nodeManagerPort;
|
||||
this.objectStoreSocketName = objectStoreSocketName;
|
||||
this.rayletSocketName = rayletSocketName;
|
||||
this.isAlive = isAlive;
|
||||
this.resources = resources;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user