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
name, tags, userMetadata, uuid
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> tags,
Map<String,String> userMetadata,
Iterable<NIC> nics,
VNC vnc,
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, getDevices, getMem, getNics, getSmp, getVnc, isPersistent
getName, getTags, getUserMetadata, getUuid
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> tags, Map<String,String> userMetadata, Iterable<NIC> nics, VNC vnc, ServerStatus status, Date started, String user, @Nullable ServerMetrics metrics)
public ServerStatus getStatus()
public Date getStarted()
@Nullable public ServerMetrics getMetrics()
public String getUser()
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.