List of usage examples for io.netty.channel DefaultChannelPromise subclass-usage
From source file com.ebay.jetstream.http.netty.client.HttpSessionChannelFuture.java
/**
*
* @author shmurthy@ebay.com (shmurthy@ebay.com)
*
*/
From source file com.ebay.jetstream.messaging.transport.netty.eventproducer.ExtendedChannelPromise.java
public class ExtendedChannelPromise extends DefaultChannelPromise { private int m_writtenSize; private int m_rawBytes; private int m_compressedBytes;
From source file io.grpc.alts.internal.ProtectedPromise.java
/**
* Promise used when flushing the {@code pendingUnprotectedWrites} queue. It manages the many-to
* many relationship between pending unprotected messages and the individual writes. Each protected
* frame will be written using the same instance of this promise and it will accumulate the results.
* Once all frames have been successfully written (or any failed), all of the promises for the
* pending unprotected writes are notified.
From source file io.hekate.network.netty.DeferredMessage.java
class DeferredMessage extends DefaultChannelPromise { private final Object source; public DeferredMessage(Object payload, Channel channel) { super(channel);
From source file org.apache.spark.network.ExtendedChannelPromise.java
class ExtendedChannelPromise extends DefaultChannelPromise { private List<GenericFutureListener<Future<Void>>> listeners = new ArrayList<>(); private boolean success; ExtendedChannelPromise(Channel channel) {