public class SystemInfo extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
SystemInfo.LoadInstant |
Constructor and Description |
---|
SystemInfo() |
Modifier and Type | Method and Description |
---|---|
int |
getAvailableProcessors() |
String |
getHostname() |
String |
getJvm() |
Queue<SystemInfo.LoadInstant> |
getLoad() |
String |
getOs() |
long |
getStartTime() |
void |
setAvailableProcessors(int availableProcessors) |
void |
setHostname(String hostname) |
void |
setJvm(String jvm) |
void |
setOs(String os) |
void |
setStartTime(long startTime) |
public String getHostname()
public void setHostname(String hostname)
public String getOs()
public void setOs(String os)
public String getJvm()
public void setJvm(String jvm)
public int getAvailableProcessors()
public void setAvailableProcessors(int availableProcessors)
public long getStartTime()
public void setStartTime(long startTime)
public Queue<SystemInfo.LoadInstant> getLoad()
Copyright © 2010–2023 The Apache Software Foundation. All rights reserved.