Interface ResourceMonitorFactory<T>

  • Type Parameters:
    T - The type for the Resource.

    public interface ResourceMonitorFactory<T>
    A Resource Monitor Factory is a service that provides Resource Monitor instances of a specific resource type (for example, CPUMonitor, MemoryMonitor...) for every Resource Context. Every Resource Monitor Factory service is registered with the RESOURCE_TYPE_PROPERTY mandatory property. This property indicates which type of Resource Monitor a Resource Monitor Factory is able to create. The type can also be retrieved through a call to getType(). The type MUST be unique (two Resource Monitor Factory instances MUST not have the same type).
    Version:
    1.0
    Author:
    $Id: 18d6e38893b8bef39ab3658af7635d997d4c7e4c $
    • Method Detail

      • getType

        java.lang.String getType()
        Returns the type of ResourceMonitor instance this factory is able to create.
        Returns:
        factory type