Record Class PerfLogClientBase.Janitor
java.lang.Object
java.lang.Record
org.tquadrat.foundation.perflog.client.PerfLogClientBase.Janitor
- Record Components:
mbean- The MBean the listener is connected with.listener- The notification listener that needs to be removed.
- All Implemented Interfaces:
Runnable
- Enclosing class:
PerfLogClientBase
@ClassVersion(sourceVersion="$Id: PerfLogClientBase.java 1258 2026-06-04 18:33:06Z tquadrat $")
@API(status=INTERNAL,
since="0.25.0")
private static record PerfLogClientBase.Janitor(NotificationEmitter mbean, PerfLogClientBase.PerfLogNotificationListener listener)
extends Record
implements Runnable
The janitor that takes care of the housekeeping for an
instance of
PerfLogClientBase
in case that was not properly closed.
- Author:
- Thomas Thrien (thomas.thrien@tquadrat.org)
- Version:
- $Id: PerfLogClientBase.java 1258 2026-06-04 18:33:06Z tquadrat $
- Since:
- 0.25.0
- UML Diagram
-
UML Diagram for "org.tquadrat.foundation.perflog.client.PerfLogClientBase.Janitor"
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final PerfLogClientBase.PerfLogNotificationListenerThe field for thelistenerrecord component.private final NotificationEmitterThe field for thembeanrecord component. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateJanitor(NotificationEmitter mbean, PerfLogClientBase.PerfLogNotificationListener listener) Creates an instance of aJanitorrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.listener()Returns the value of thelistenerrecord component.mbean()Returns the value of thembeanrecord component.final voidrun()final StringtoString()Returns a string representation of this record class.
-
Field Details
-
Constructor Details
-
Method Details
-
run
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
mbean
-
listener
-
