|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface SummaryDelegate
Custom delegate interface for use with SummaryMBean
via SummaryDelegateFactory implementations.
Supported API: true
Extendable: true
| Method Summary | |
|---|---|
void |
postSummarize()
Method called by SummaryMBean both
upon periodic summary logging and when computing the InfoItemsPreview
attribute (via getInfoItemsPreview()). |
boolean |
preSummarize(SummaryMBean mbean,
boolean previewMode,
boolean willOutputInfo)
Method called by SummaryMBean both
upon periodic summary logging and when computing the InfoItemsPreview
attribute (via getInfoItemsPreview()). |
| Method Detail |
|---|
boolean preSummarize(SummaryMBean mbean,
boolean previewMode,
boolean willOutputInfo)
SummaryMBean both
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.
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
void postSummarize()
SummaryMBean both
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
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||