Class ConsumerProcess
java.lang.Object
pl.allegro.tech.hermes.consumers.supervisor.process.ConsumerProcess
- All Implemented Interfaces:
Runnable
-
Constructor Summary
ConstructorsConstructorDescriptionConsumerProcess(Signal startSignal, Consumer consumer, Retransmitter retransmitter, Clock clock, Duration unhealthyAfter, Consumer<pl.allegro.tech.hermes.api.SubscriptionName> onConsumerStopped) -
Method Summary
-
Constructor Details
-
ConsumerProcess
-
-
Method Details
-
run
public void run() -
accept
-
isHealthy
public boolean isHealthy() -
lastSeen
public long lastSeen() -
healthcheckRefreshTime
public long healthcheckRefreshTime() -
toString
-
equals
-
hashCode
public int hashCode() -
getSubscription
public pl.allegro.tech.hermes.api.Subscription getSubscription() -
getSignalTimesheet
-