Top Fields Constructors Methods
org.eclipse.jetty.reactive.client.internal

public abstract Class AbstractEventPublisher<T>

extends AbstractSinglePublisher<T>
Class Inheritance
Known Direct Subclasses
org.eclipse.jetty.reactive.client.internal.RequestEventPublisher, org.eclipse.jetty.reactive.client.internal.ResponseEventPublisher
Imports
org.eclipse.jetty.util.MathUtils, org.eclipse.jetty.util.thread.AutoLock, org.reactivestreams.Subscriber

Field Summary

Modifier and TypeField and Description
private long
private Throwable
private boolean
private boolean

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected void
emit(T event)

protected void
fail(Throwable failure)

protected void
protected void
Inherited from org.eclipse.jetty.reactive.client.internal.AbstractSinglePublisher:
cancelemitOnCompleteemitOnErroremitOnNextlockonFailurerequestsubscribesubscribertoString

Field Detail

demandback to summary
private long demand
failureback to summary
private Throwable failure
initialback to summary
private boolean initial
terminatedback to summary
private boolean terminated

Constructor Detail

AbstractEventPublisherback to summary
public AbstractEventPublisher()

Method Detail

emitback to summary
protected void emit(T event)
failback to summary
protected void fail(Throwable failure)
onRequestback to summary
protected void onRequest(Subscriber<? super T> subscriber, long n)

Implements abstract org.eclipse.jetty.reactive.client.internal.AbstractSinglePublisher.onRequest.

Annotations
@Override
succeedback to summary
protected void succeed()