Record Class ProcessServiceLogReadScheduler.ProcessServiceLogReadTask
java.lang.Object
java.lang.Record
eu.cloudnetservice.node.impl.service.defaults.log.ProcessServiceLogReadScheduler.ProcessServiceLogReadTask
- All Implemented Interfaces:
Runnable
- Enclosing class:
ProcessServiceLogReadScheduler
private static record ProcessServiceLogReadScheduler.ProcessServiceLogReadTask(@NonNull ProcessServiceLogCache logCache, @NonNull ProcessServiceLogReadScheduler scheduler)
extends Record
implements Runnable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final RuntimeExceptionprivate final @NonNull ProcessServiceLogCacheThe field for thelogCacherecord component.private final @NonNull ProcessServiceLogReadSchedulerThe field for theschedulerrecord component. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateProcessServiceLogReadTask(@NonNull ProcessServiceLogCache logCache, @NonNull ProcessServiceLogReadScheduler scheduler) Creates an instance of aProcessServiceLogReadTaskrecord 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.logCache()Returns the value of thelogCacherecord component.voidrun()Returns the value of theschedulerrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
logCache
The field for thelogCacherecord component. -
scheduler
The field for theschedulerrecord component. -
CANCEL_EXCEPTION
-
-
Constructor Details
-
ProcessServiceLogReadTask
private ProcessServiceLogReadTask(@NonNull @NonNull ProcessServiceLogCache logCache, @NonNull @NonNull ProcessServiceLogReadScheduler scheduler) Creates an instance of aProcessServiceLogReadTaskrecord class.- Parameters:
logCache- the value for thelogCacherecord componentscheduler- the value for theschedulerrecord 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). -
logCache
Returns the value of thelogCacherecord component.- Returns:
- the value of the
logCacherecord component
-
scheduler
Returns the value of theschedulerrecord component.- Returns:
- the value of the
schedulerrecord component
-