Top Fields Constructors Methods
org.glassfish.pfl.tf.spi

public abstract Class MethodMonitorFactoryBase

extends Named
implements MethodMonitorFactory
Class Inheritance
All Implemented Interfaces
org.glassfish.pfl.tf.spi.MethodMonitorFactory
Known Direct Subclasses
org.glassfish.pfl.tf.spi.MethodMonitorBase.MethodMonitorFactorySelfImpl
Imports
java.util.Collection, .Collections, .HashSet, .Set

Field Summary

Modifier and TypeField and Description
private final Set<MethodMonitorFactory>

Constructor Summary

AccessConstructor and Description
public
pack-priv

Method Summary

Modifier and TypeMethod and Description
public final Collection<MethodMonitorFactory>
contents()

Implements org.glassfish.pfl.tf.spi.MethodMonitorFactory.contents.

Returns the contents of this method monitor factory.

Inherited from org.glassfish.pfl.tf.spi.Named:
equalshashCodenametoString

Field Detail

myContentsback to summary
private final Set<MethodMonitorFactory> myContents

Constructor Detail

MethodMonitorFactoryBaseback to summary
public MethodMonitorFactoryBase(String name)
MethodMonitorFactoryBaseback to summary
pack-priv MethodMonitorFactoryBase(String name, Set<MethodMonitorFactory> content)

Method Detail

contentsback to summary
public final Collection<MethodMonitorFactory> contents()

Implements org.glassfish.pfl.tf.spi.MethodMonitorFactory.contents.

Doc from org.glassfish.pfl.tf.spi.MethodMonitorFactory.contents.

Returns the contents of this method monitor factory. If it is a composite method monitor factory, all the component MethoMonitorFactory instances are returned. If it is a single MethodMonitorFactory, it just returns itself. It is required that the elements of contents are not composite method monitors, i.e. for each mmf in contants(), mmf.contents.size() == 1.