add SigarVersion getter
This commit is contained in:
parent
a84788f1a0
commit
96ca3970e1
|
@ -959,6 +959,10 @@ public class Sigar implements SigarProxy {
|
||||||
*/
|
*/
|
||||||
public native String getFQDN() throws SigarException;
|
public native String getFQDN() throws SigarException;
|
||||||
|
|
||||||
|
public SigarVersion getSigarVersion() {
|
||||||
|
return new SigarVersion();
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Enabling logging in the native Sigar code.
|
* Enabling logging in the native Sigar code.
|
||||||
* This method will hook log4j into the Sigar
|
* This method will hook log4j into the Sigar
|
||||||
|
|
|
@ -172,5 +172,7 @@ public interface SigarProxy {
|
||||||
|
|
||||||
public NetInfo getNetInfo() throws SigarException;
|
public NetInfo getNetInfo() throws SigarException;
|
||||||
|
|
||||||
|
public SigarVersion getSigarVersion();
|
||||||
|
|
||||||
public String getFQDN() throws SigarException;
|
public String getFQDN() throws SigarException;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue