Record Class NodeDisconnectTrackerTask
java.lang.Object
java.lang.Record
eu.cloudnetservice.node.impl.cluster.task.NodeDisconnectTrackerTask
- All Implemented Interfaces:
Runnable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final longprivate final @NonNull eu.cloudnetservice.driver.language.I18nThe field for thei18nrecord component.private static final org.slf4j.Loggerprivate final @NonNull eu.cloudnetservice.node.cluster.NodeServerProviderThe field for theproviderrecord component.private static final long -
Constructor Summary
ConstructorsConstructorDescriptionNodeDisconnectTrackerTask(@NonNull eu.cloudnetservice.driver.language.I18n i18n, @NonNull eu.cloudnetservice.node.cluster.NodeServerProvider provider) Creates an instance of aNodeDisconnectTrackerTaskrecord 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.@NonNull eu.cloudnetservice.driver.language.I18ni18n()Returns the value of thei18nrecord component.@NonNull eu.cloudnetservice.node.cluster.NodeServerProviderprovider()Returns the value of theproviderrecord component.voidrun()final StringtoString()Returns a string representation of this record class.
-
Field Details
-
i18n
-
provider
-
LOGGER
private static final org.slf4j.Logger LOGGER -
SOFT_DISCONNECT_MS_DELAY
private static final long SOFT_DISCONNECT_MS_DELAY -
HARD_DISCONNECT_MS_DELAY
private static final long HARD_DISCONNECT_MS_DELAY
-
-
Constructor Details
-
NodeDisconnectTrackerTask
public NodeDisconnectTrackerTask(@NonNull @Service @NonNull eu.cloudnetservice.driver.language.I18n i18n, @NonNull @NonNull eu.cloudnetservice.node.cluster.NodeServerProvider provider) Creates an instance of aNodeDisconnectTrackerTaskrecord class.- Parameters:
i18n- the value for thei18nrecord componentprovider- the value for theproviderrecord 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). -
i18n
-
provider
-