Package org.glassfish.pfl.tf.spi
Class MethodMonitorFactoryBase
java.lang.Object
org.glassfish.pfl.tf.spi.Named
org.glassfish.pfl.tf.spi.MethodMonitorFactoryBase
- All Implemented Interfaces:
MethodMonitorFactory
- Direct Known Subclasses:
MethodMonitorBase.MethodMonitorFactorySelfImpl
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal Collection
<MethodMonitorFactory> contents()
Returns the contents of this method monitor factory.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.glassfish.pfl.tf.spi.MethodMonitorFactory
create, name
-
Field Details
-
myContents
-
-
Constructor Details
-
MethodMonitorFactoryBase
-
MethodMonitorFactoryBase
MethodMonitorFactoryBase(String name, Set<MethodMonitorFactory> content)
-
-
Method Details
-
contents
Description copied from interface:MethodMonitorFactory
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.- Specified by:
contents
in interfaceMethodMonitorFactory
-