Record Class TimeoutSemaphoreImpl.Janitor
java.lang.Object
java.lang.Record
org.tquadrat.foundation.lang.internal.TimeoutSemaphoreImpl.Janitor
- Record Components:
reaperExecutor- The reference for theTimeoutSemaphoreImpl.m_ReaperExecutor.
- All Implemented Interfaces:
Runnable
- Enclosing class:
TimeoutSemaphoreImpl
@ClassVersion(sourceVersion="$Id: TimeoutSemaphoreImpl.java 1258 2026-06-04 18:33:06Z tquadrat $")
@API(status=INTERNAL,
since="0.25.2")
private static record TimeoutSemaphoreImpl.Janitor(ScheduledExecutorService reaperExecutor)
extends Record
implements Runnable
The Janitor for the owning
TimeoutSemaphoreImpl
instance.
- Author:
- Thomas Thrien (thomas.thrien@tquadrat.org)
- Version:
- $Id: TimeoutSemaphoreImpl.java 1258 2026-06-04 18:33:06Z tquadrat $
- Since:
- 0.25.2
- UML Diagram
-
UML Diagram for "org.tquadrat.foundation.lang.internal.TimeoutSemaphoreImpl.Janitor"
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ScheduledExecutorServiceThe field for thereaperExecutorrecord component. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateJanitor(ScheduledExecutorService reaperExecutor) 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.Returns the value of thereaperExecutorrecord component.final voidrun()Performs the housekeeping.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
reaperExecutor
The field for thereaperExecutorrecord component.
-
-
Constructor Details
-
Janitor
Creates an instance of aJanitorrecord class.- Parameters:
reaperExecutor- the value for thereaperExecutorrecord component
-
-
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). -
reaperExecutor
Returns the value of thereaperExecutorrecord component.- Returns:
- the value of the
reaperExecutorrecord component
-
