Kieker 1.12

kieker.monitoring.sampler.sigar
Enum SigarSamplerFactory

java.lang.Object
  extended by java.lang.Enum<SigarSamplerFactory>
      extended by kieker.monitoring.sampler.sigar.SigarSamplerFactory
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<SigarSamplerFactory>, ISigarSamplerFactory

public enum SigarSamplerFactory
extends java.lang.Enum<SigarSamplerFactory>
implements ISigarSamplerFactory

Provides factory methods for AbstractSigarSamplers.

Since:
1.3
Author:
Andre van Hoorn, Jan Waller

Enum Constant Summary
INSTANCE
          The singleton instance.
 
Method Summary
 CPUsCombinedPercSampler createSensorCPUsCombinedPerc()
          Creates an instance of CPUsCombinedPercSampler.
 CPUsDetailedPercSampler createSensorCPUsDetailedPerc()
          Creates an instance of CPUsDetailedPercSampler.
 DiskUsageSampler createSensorDiskUsage()
          Creates an instance of DiskUsageSampler.
 LoadAverageSampler createSensorLoadAverage()
          Creates an instance of LoadAverageSampler.
 MemSwapUsageSampler createSensorMemSwapUsage()
          Creates an instance of MemSwapUsageSampler.
 NetworkUtilizationSampler createSensorNetworkUtilization()
          Creates an instance of NetworkUtilizationSampler.
 org.hyperic.sigar.SigarProxy getSigar()
          SigarProxy instance used by this SigarSamplerFactory.
static SigarSamplerFactory valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static SigarSamplerFactory[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

INSTANCE

public static final SigarSamplerFactory INSTANCE
The singleton instance.

Method Detail

values

public static SigarSamplerFactory[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (SigarSamplerFactory c : SigarSamplerFactory.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static SigarSamplerFactory valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getSigar

public final org.hyperic.sigar.SigarProxy getSigar()
SigarProxy instance used by this SigarSamplerFactory.

Returns:
the sigar

createSensorCPUsCombinedPerc

public CPUsCombinedPercSampler createSensorCPUsCombinedPerc()
Creates an instance of CPUsCombinedPercSampler.

Specified by:
createSensorCPUsCombinedPerc in interface ISigarSamplerFactory
Returns:
the created instance.

createSensorCPUsDetailedPerc

public CPUsDetailedPercSampler createSensorCPUsDetailedPerc()
Creates an instance of CPUsDetailedPercSampler.

Specified by:
createSensorCPUsDetailedPerc in interface ISigarSamplerFactory
Returns:
the created instance.

createSensorMemSwapUsage

public MemSwapUsageSampler createSensorMemSwapUsage()
Creates an instance of MemSwapUsageSampler.

Specified by:
createSensorMemSwapUsage in interface ISigarSamplerFactory
Returns:
the created instance.

createSensorLoadAverage

public LoadAverageSampler createSensorLoadAverage()
Creates an instance of LoadAverageSampler.

Specified by:
createSensorLoadAverage in interface ISigarSamplerFactory
Returns:
the created instance.

createSensorNetworkUtilization

public NetworkUtilizationSampler createSensorNetworkUtilization()
Creates an instance of NetworkUtilizationSampler.

Specified by:
createSensorNetworkUtilization in interface ISigarSamplerFactory
Returns:
the created instance.

createSensorDiskUsage

public DiskUsageSampler createSensorDiskUsage()
Creates an instance of DiskUsageSampler.

Specified by:
createSensorDiskUsage in interface ISigarSamplerFactory
Returns:
the created instance.

Kieker 1.12

Copyright 2015 Kieker Project, http://kieker-monitoring.net