pub struct ClusterOperatingSystem {
pub architectures: Option<Vec<ClusterOperatingSystemArchitecture>>,
pub pretty_names: Vec<ClusterOperatingSystemPrettyName>,
pub allocated_processors: u32,
pub names: Vec<ClusterOperatingSystemName>,
pub available_processors: u32,
pub mem: OperatingSystemMemoryInfo,
}Fields§
§architectures: Option<Vec<ClusterOperatingSystemArchitecture>>Contains statistics about processor architectures (for example, x86_64 or aarch64) used by selected nodes.
pretty_names: Vec<ClusterOperatingSystemPrettyName>Contains statistics about operating systems used by selected nodes.
allocated_processors: u32Number of processors used to calculate thread pool size across all selected nodes. This number can be set with the processors setting of a node and defaults to the number of processors reported by the operating system. In both cases, this number will never be larger than 32.
names: Vec<ClusterOperatingSystemName>Contains statistics about operating systems used by selected nodes.
available_processors: u32Number of processors available to JVM across all selected nodes.
mem: OperatingSystemMemoryInfoImplementations§
Source§impl ClusterOperatingSystem
impl ClusterOperatingSystem
pub fn new( pretty_names: Vec<ClusterOperatingSystemPrettyName>, allocated_processors: u32, names: Vec<ClusterOperatingSystemName>, available_processors: u32, mem: OperatingSystemMemoryInfo, ) -> ClusterOperatingSystem
Trait Implementations§
Source§impl Clone for ClusterOperatingSystem
impl Clone for ClusterOperatingSystem
Source§fn clone(&self) -> ClusterOperatingSystem
fn clone(&self) -> ClusterOperatingSystem
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ClusterOperatingSystem
impl Debug for ClusterOperatingSystem
Source§impl Default for ClusterOperatingSystem
impl Default for ClusterOperatingSystem
Source§fn default() -> ClusterOperatingSystem
fn default() -> ClusterOperatingSystem
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ClusterOperatingSystem
impl<'de> Deserialize<'de> for ClusterOperatingSystem
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ClusterOperatingSystem
impl PartialEq for ClusterOperatingSystem
Source§fn eq(&self, other: &ClusterOperatingSystem) -> bool
fn eq(&self, other: &ClusterOperatingSystem) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ClusterOperatingSystem
impl Serialize for ClusterOperatingSystem
impl StructuralPartialEq for ClusterOperatingSystem
Auto Trait Implementations§
impl Freeze for ClusterOperatingSystem
impl RefUnwindSafe for ClusterOperatingSystem
impl Send for ClusterOperatingSystem
impl Sync for ClusterOperatingSystem
impl Unpin for ClusterOperatingSystem
impl UnsafeUnpin for ClusterOperatingSystem
impl UnwindSafe for ClusterOperatingSystem
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more