Record Class CenterServerSetting
java.lang.Object
java.lang.Record
com.iohao.net.center.CenterServerSetting
public record CenterServerSetting(io.aeron.Aeron aeron, Publisher publisher, CenterConnectionManager connectionManager)
extends Record
- Since:
- 25.1
- Author:
- 渔民小镇
- date:
- 2025-09-23
-
Constructor Summary
ConstructorsConstructorDescriptionCenterServerSetting(io.aeron.Aeron aeron, Publisher publisher, CenterConnectionManager connectionManager) Creates an instance of aCenterServerSettingrecord class. -
Method Summary
Modifier and TypeMethodDescriptionio.aeron.Aeronaeron()Returns the value of theaeronrecord component.Returns the value of theconnectionManagerrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thepublisherrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CenterServerSetting
public CenterServerSetting(io.aeron.Aeron aeron, Publisher publisher, CenterConnectionManager connectionManager) Creates an instance of aCenterServerSettingrecord class.- Parameters:
aeron- the value for theaeronrecord componentpublisher- the value for thepublisherrecord componentconnectionManager- the value for theconnectionManagerrecord component
-
-
Method Details
-
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). -
aeron
public io.aeron.Aeron aeron()Returns the value of theaeronrecord component.- Returns:
- the value of the
aeronrecord component
-
publisher
Returns the value of thepublisherrecord component.- Returns:
- the value of the
publisherrecord component
-
connectionManager
Returns the value of theconnectionManagerrecord component.- Returns:
- the value of the
connectionManagerrecord component
-