Package wt.jmx.core.mbeans
Interface SummaryDelegate
public interface SummaryDelegate
Custom delegate interface for use with
Supported API: true
Extendable: true
SummaryMBean
via SummaryDelegateFactory implementations.
Supported API: true
Extendable: true
-
Method Summary
Modifier and TypeMethodDescriptionvoidMethod called bySummaryMBeanboth upon periodic summary logging and when computing the InfoItemsPreview attribute (via getInfoItemsPreview()).booleanpreSummarize(SummaryMBean mbean, boolean previewMode, boolean willOutputInfo) Method called bySummaryMBeanboth upon periodic summary logging and when computing the InfoItemsPreview attribute (via getInfoItemsPreview()).
-
Method Details
-
preSummarize
Method called bySummaryMBeanboth upon periodic summary logging and when computing the InfoItemsPreview attribute (via getInfoItemsPreview()). In both cases, this method is called prior to any retrieval of JMX attribute data for output purposes.
Supported API: true- Parameters:
mbean- SummaryMBean from which this delegate is being calledpreviewMode- Whether this method is being called from getInfoItemsPreview()willOutputInfo- Whether the SummaryMBean would produce output on its own- Returns:
- Whether SummaryMBean should still produce output; result is ignored when called from getInfoItemsPreview()
-
postSummarize
void postSummarize()Method called bySummaryMBeanboth upon periodic summary logging and when computing the InfoItemsPreview attribute (via getInfoItemsPreview()). In both cases, this method is called after any retrieval of JMX attribute data for output purposes.Note that this will be the same instance of this class upon which the corresponding preSummarize() call was made and that separate instances are used otherwise -- so one can place data in the instance in preSummarize() for use in this routine.
Supported API: true
-