public class Host extends Object implements Comparable<Host>
Modifier and Type | Class and Description |
---|---|
static class |
Host.Builder |
static class |
Host.ClusterType |
static class |
Host.State |
static class |
Host.Type |
Constructor and Description |
---|
Host(long id,
AllocationState allocationState,
int averageLoad,
String capabilities,
long clusterId,
String clusterName,
Host.ClusterType clusterType,
String cpuAllocated,
int cpuNumber,
int cpuSpeed,
String cpuUsed,
float cpuWithOverProvisioning,
Date created,
Date disconnected,
long diskSizeAllocated,
long diskSizeTotal,
String events,
boolean hasEnoughCapacity,
String hostTags,
String hypervisor,
String ipAddress,
boolean localStorageActive,
long jobId,
AsyncJob.Status jobStatus,
Date lastPinged,
long managementServerId,
long memoryAllocated,
long memoryTotal,
long memoryUsed,
String name,
long networkKbsRead,
long networkKbsWrite,
long osCategoryId,
long osCategoryName,
long podId,
String podName,
Date removed,
Host.State state,
Host.Type type,
String version,
long zoneId,
String zoneName) |
public Host(long id, AllocationState allocationState, int averageLoad, String capabilities, long clusterId, String clusterName, Host.ClusterType clusterType, String cpuAllocated, int cpuNumber, int cpuSpeed, String cpuUsed, float cpuWithOverProvisioning, Date created, Date disconnected, long diskSizeAllocated, long diskSizeTotal, String events, boolean hasEnoughCapacity, String hostTags, String hypervisor, String ipAddress, boolean localStorageActive, long jobId, AsyncJob.Status jobStatus, Date lastPinged, long managementServerId, long memoryAllocated, long memoryTotal, long memoryUsed, String name, long networkKbsRead, long networkKbsWrite, long osCategoryId, long osCategoryName, long podId, String podName, Date removed, Host.State state, Host.Type type, String version, long zoneId, String zoneName)
public static Host.Builder builder()
public long getId()
public AllocationState getAllocationState()
public int getAverageLoad()
public String getCapabilities()
public long getClusterId()
public String getClusterName()
public Host.ClusterType getClusterType()
public String getCpuAllocated()
public int getCpuNumber()
public int getCpuSpeed()
public String getCpuUsed()
public float getCpuWithOverProvisioning()
public Date getCreated()
public Date getDisconnected()
public long getDiskSizeAllocated()
public long getDiskSizeTotal()
public String getEvents()
public boolean isHasEnoughCapacity()
public String getHostTags()
public String getHypervisor()
public String getIpAddress()
public boolean isLocalStorageActive()
public long getJobId()
public AsyncJob.Status getJobStatus()
public Date getLastPinged()
public long getManagementServerId()
public long getMemoryAllocated()
public long getMemoryTotal()
public long getMemoryUsed()
public String getName()
public long getNetworkKbsRead()
public long getNetworkKbsWrite()
public long getOsCategoryId()
public long getOsCategoryName()
public long getPodId()
public String getPodName()
public Date getRemoved()
public Host.State getState()
public Host.Type getType()
public String getVersion()
public long getZoneId()
public String getZoneName()
public int compareTo(Host other)
compareTo
in interface Comparable<Host>
Copyright © 2009-2012 jclouds. All Rights Reserved.