public class ServerInfo extends Server
Modifier and Type | Class and Description |
---|---|
static class |
ServerInfo.Builder |
Modifier and Type | Field and Description |
---|---|
protected ServerMetrics |
metrics |
protected Date |
started |
protected ServerStatus |
status |
protected String |
user |
bootDeviceIds, cpu, devices, mem, nics, persistent, smp, vnc
Constructor and Description |
---|
ServerInfo(String uuid,
String name,
int cpu,
Integer smp,
int mem,
boolean persistent,
Map<String,? extends Device> devices,
Iterable<String> bootDeviceIds,
Iterable<String> use,
Iterable<NIC> nics,
VNC vnc,
String description,
ServerStatus status,
Date started,
String user,
ServerMetrics metrics) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
ServerMetrics |
getMetrics() |
Date |
getStarted() |
ServerStatus |
getStatus() |
String |
getUser() |
int |
hashCode() |
String |
toString() |
getBootDeviceIds, getCpu, getDescription, getDevices, getMem, getNics, getSmp, getVnc, isPersistent
protected final ServerStatus status
protected final ServerMetrics metrics
public ServerInfo(String uuid, String name, int cpu, Integer smp, int mem, boolean persistent, Map<String,? extends Device> devices, Iterable<String> bootDeviceIds, Iterable<String> use, Iterable<NIC> nics, VNC vnc, String description, ServerStatus status, Date started, String user, @Nullable ServerMetrics metrics)
public ServerStatus getStatus()
public Date getStarted()
@Nullable public ServerMetrics getMetrics()
public String getUser()
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.