add getter for open file desc
This commit is contained in:
parent
83d15740a7
commit
a4339d6751
|
@ -54,6 +54,14 @@ public class ProcessStats implements Streamable, Serializable, ToXContent {
|
||||||
return timestamp();
|
return timestamp();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public long openFileDescriptors() {
|
||||||
|
return this.openFileDescriptors;
|
||||||
|
}
|
||||||
|
|
||||||
|
public long getOpenFileDescriptors() {
|
||||||
|
return openFileDescriptors;
|
||||||
|
}
|
||||||
|
|
||||||
public Cpu cpu() {
|
public Cpu cpu() {
|
||||||
return cpu;
|
return cpu;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue