Record Class JobStreamService
java.lang.Object
java.lang.Record
io.camunda.zeebe.broker.jobstream.JobStreamService
public record JobStreamService(RemoteStreamService<JobActivationProperties,ActivatedJob> remoteStreamService, JobStreamer jobStreamer, RemoteJobStreamErrorHandlerService errorHandlerService)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionJobStreamService(RemoteStreamService<JobActivationProperties, ActivatedJob> remoteStreamService, JobStreamer jobStreamer, RemoteJobStreamErrorHandlerService errorHandlerService) Creates an instance of aJobStreamServicerecord class. -
Method Summary
Modifier and TypeMethodDescriptionActorFuture<?>closeAsync(ConcurrencyControl executor) final booleanIndicates whether some other object is "equal to" this one.Returns the value of theerrorHandlerServicerecord component.final inthashCode()Returns a hash code value for this object.Returns the value of thejobStreamerrecord component.Returns the value of theremoteStreamServicerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
JobStreamService
public JobStreamService(RemoteStreamService<JobActivationProperties, ActivatedJob> remoteStreamService, JobStreamer jobStreamer, RemoteJobStreamErrorHandlerService errorHandlerService) Creates an instance of aJobStreamServicerecord class.- Parameters:
remoteStreamService- the value for theremoteStreamServicerecord componentjobStreamer- the value for thejobStreamerrecord componenterrorHandlerService- the value for theerrorHandlerServicerecord component
-
-
Method Details
-
closeAsync
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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). -
remoteStreamService
Returns the value of theremoteStreamServicerecord component.- Returns:
- the value of the
remoteStreamServicerecord component
-
jobStreamer
Returns the value of thejobStreamerrecord component.- Returns:
- the value of the
jobStreamerrecord component
-
errorHandlerService
Returns the value of theerrorHandlerServicerecord component.- Returns:
- the value of the
errorHandlerServicerecord component
-