Package kieker.monitoring.sampler.oshi
Enum Class OshiSamplerFactory
- All Implemented Interfaces:
Serializable,Comparable<OshiSamplerFactory>,Constable,IOshiSamplerFactory
Provides factory methods for
AbstractOshiSamplers.- Since:
- 1.14
- Author:
- Matteo Sassano
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionCreates an instance ofCPUsCombinedPercSampler.Creates an instance ofCPUsDetailedPercSampler.Creates an instance ofDiskUsageSampler.Creates an instance ofLoadAverageSampler.Creates an instance ofMemSwapUsageSampler.Creates an instance ofNetworkUtilizationSampler.final oshi.hardware.HardwareAbstractionLayerSystemInfoinstance used by thisOshiSamplerFactory.static OshiSamplerFactoryReturns the enum constant of this class with the specified name.static OshiSamplerFactory[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INSTANCE
The singleton instance.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getHardwareAbstractionLayer
public final oshi.hardware.HardwareAbstractionLayer getHardwareAbstractionLayer()SystemInfoinstance used by thisOshiSamplerFactory.- Returns:
- the systemInfo
-
createSensorCPUsCombinedPerc
Creates an instance ofCPUsCombinedPercSampler.- Specified by:
createSensorCPUsCombinedPercin interfaceIOshiSamplerFactory- Returns:
- the created instance.
-
createSensorCPUsDetailedPerc
Creates an instance ofCPUsDetailedPercSampler.- Specified by:
createSensorCPUsDetailedPercin interfaceIOshiSamplerFactory- Returns:
- the created instance.
-
createSensorMemSwapUsage
Creates an instance ofMemSwapUsageSampler.- Specified by:
createSensorMemSwapUsagein interfaceIOshiSamplerFactory- Returns:
- the created instance.
-
createSensorLoadAverage
Creates an instance ofLoadAverageSampler.- Specified by:
createSensorLoadAveragein interfaceIOshiSamplerFactory- Returns:
- the created instance.
-
createSensorNetworkUtilization
Creates an instance ofNetworkUtilizationSampler.- Specified by:
createSensorNetworkUtilizationin interfaceIOshiSamplerFactory- Returns:
- the created instance.
-
createSensorDiskUsage
Creates an instance ofDiskUsageSampler.- Specified by:
createSensorDiskUsagein interfaceIOshiSamplerFactory- Returns:
- the created instance.
-