Class PerspectiveResponseTimeResource

    • Constructor Detail

      • PerspectiveResponseTimeResource

        public PerspectiveResponseTimeResource​(String location,
                                               String address,
                                               String service)
    • Method Detail

      • getParent

        public Resource getParent()
      • getTypeName

        public String getTypeName()
        Description copied from interface: Resource
        Returns the type name associated with the resource. Used for thresholding.
        Returns:
        type name
      • getInstance

        public String getInstance()
        Description copied from interface: Resource
        Returns a unique name for the instance of this resource. Used by the IndexStorageStrategy
        Returns:
        instance name
      • getUnmodifiedInstance

        public String getUnmodifiedInstance()
        Description copied from interface: Resource
        Returns the original unmodified unique name for the instance of this resource. Used by the ObjectNameStorageStrategy
        Returns:
        instance name
      • getLabel

        public String getLabel​(CollectionResource resource)
        Description copied from interface: Resource
        Returns a unique label for the instance of this resource. This label is used by threshd to generate a unique id on a per resource basis, grouped by node. See CollectionResourceWrapper
        Returns:
        a String object.
      • getPath

        public ResourcePath getPath​(CollectionResource resource)
        Description copied from interface: Resource
        Retrieves the path of the resource, relative to the repository root.
        Parameters:
        resource - Used by the GenericTypeResource in order to determine the instance name.
        Returns:
        relative path