io.netty.util.Recycler.Handle Java Examples
The following examples show how to use
io.netty.util.Recycler.Handle.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: ConnectionImpl.java From ProtocolSupportBungee with GNU Affero General Public License v3.0 | 4 votes |
protected LPacketEvent(Handle<LPacketEvent> handle) { this.handle = handle; }
Example #2
Source File: ChannelOutboundBuffer.java From netty4.0.27Learn with Apache License 2.0 | 4 votes |
@Override protected Entry newObject(Handle handle) { return new Entry(handle); }
Example #3
Source File: OpReadEntry.java From pulsar with Apache License 2.0 | 4 votes |
@Override protected OpReadEntry newObject(Recycler.Handle<OpReadEntry> recyclerHandle) { return new OpReadEntry(recyclerHandle); }
Example #4
Source File: ByteBufUtil.java From netty4.0.27Learn with Apache License 2.0 | 4 votes |
@Override protected ThreadLocalUnsafeDirectByteBuf newObject(Handle handle) { return new ThreadLocalUnsafeDirectByteBuf(handle); }
Example #5
Source File: ByteBufUtil.java From netty4.0.27Learn with Apache License 2.0 | 4 votes |
private ThreadLocalUnsafeDirectByteBuf(Handle handle) { super(UnpooledByteBufAllocator.DEFAULT, 256, Integer.MAX_VALUE); this.handle = handle; }
Example #6
Source File: ChannelOutboundBuffer.java From netty4.0.27Learn with Apache License 2.0 | 4 votes |
private Entry(Handle handle) { this.handle = handle; }
Example #7
Source File: Decompressor.java From ProtocolSupportBungee with GNU Affero General Public License v3.0 | 4 votes |
protected Decompressor(Handle<Decompressor> handle) { this.handle = handle; }
Example #8
Source File: OpAddEntry.java From pulsar with Apache License 2.0 | 4 votes |
private OpAddEntry(Handle<OpAddEntry> recyclerHandle) { this.recyclerHandle = recyclerHandle; }
Example #9
Source File: PositionImplRecyclable.java From pulsar with Apache License 2.0 | 4 votes |
private PositionImplRecyclable(Handle<PositionImplRecyclable> recyclerHandle) { super(PositionImpl.earliest); this.recyclerHandle = recyclerHandle; }
Example #10
Source File: PositionImplRecyclable.java From pulsar with Apache License 2.0 | 4 votes |
@Override protected PositionImplRecyclable newObject(Recycler.Handle<PositionImplRecyclable> recyclerHandle) { return new PositionImplRecyclable(recyclerHandle); }
Example #11
Source File: EntryImpl.java From pulsar with Apache License 2.0 | 4 votes |
private EntryImpl(Recycler.Handle<EntryImpl> recyclerHandle) { this.recyclerHandle = recyclerHandle; }
Example #12
Source File: RawMessageImpl.java From pulsar with Apache License 2.0 | 4 votes |
private RawMessageImpl(Handle<RawMessageImpl> handle) { this.handle = handle; }
Example #13
Source File: RawMessageImpl.java From pulsar with Apache License 2.0 | 4 votes |
@Override protected RawMessageImpl newObject(Handle<RawMessageImpl> handle) { return new RawMessageImpl(handle); }
Example #14
Source File: ByteBufPair.java From pulsar with Apache License 2.0 | 4 votes |
private ByteBufPair(Handle<ByteBufPair> recyclerHandle) { this.recyclerHandle = recyclerHandle; }
Example #15
Source File: ByteBufPair.java From pulsar with Apache License 2.0 | 4 votes |
@Override protected ByteBufPair newObject(Recycler.Handle<ByteBufPair> handle) { return new ByteBufPair(handle); }
Example #16
Source File: ByteBufCodedOutputStream.java From pulsar with Apache License 2.0 | 4 votes |
private ByteBufCodedOutputStream(Handle<ByteBufCodedOutputStream> handle) { this.recyclerHandle = handle; }
Example #17
Source File: ProducerImpl.java From pulsar with Apache License 2.0 | 4 votes |
@Override protected OpSendMsg newObject(Handle<OpSendMsg> handle) { return new OpSendMsg(handle); }
Example #18
Source File: ProducerImpl.java From pulsar with Apache License 2.0 | 4 votes |
private OpSendMsg(Handle<OpSendMsg> recyclerHandle) { this.recyclerHandle = recyclerHandle; }
Example #19
Source File: ProducerImpl.java From pulsar with Apache License 2.0 | 4 votes |
@Override protected WriteInEventLoopCallback newObject(Handle<WriteInEventLoopCallback> handle) { return new WriteInEventLoopCallback(handle); }
Example #20
Source File: ProducerImpl.java From pulsar with Apache License 2.0 | 4 votes |
private WriteInEventLoopCallback(Handle<WriteInEventLoopCallback> recyclerHandle) { this.recyclerHandle = recyclerHandle; }
Example #21
Source File: ConsumerImpl.java From pulsar with Apache License 2.0 | 4 votes |
protected ChunkedMessageCtx newObject(Recycler.Handle<ChunkedMessageCtx> handle) { return new ChunkedMessageCtx(handle); }
Example #22
Source File: ConsumerImpl.java From pulsar with Apache License 2.0 | 4 votes |
private ChunkedMessageCtx(Handle<ChunkedMessageCtx> recyclerHandle) { this.recyclerHandle = recyclerHandle; }
Example #23
Source File: ByteBufUtil.java From netty4.0.27Learn with Apache License 2.0 | 4 votes |
@Override protected ThreadLocalDirectByteBuf newObject(Handle handle) { return new ThreadLocalDirectByteBuf(handle); }
Example #24
Source File: ReplicationMetrics.java From pulsar with Apache License 2.0 | 4 votes |
private ReplicationMetrics(Handle<ReplicationMetrics> recyclerHandle) { this.recyclerHandle = recyclerHandle; }
Example #25
Source File: ByteBufUtil.java From netty4.0.27Learn with Apache License 2.0 | 4 votes |
private ThreadLocalDirectByteBuf(Handle handle) { super(UnpooledByteBufAllocator.DEFAULT, 256, Integer.MAX_VALUE); this.handle = handle; }
Example #26
Source File: PersistentReplicator.java From pulsar with Apache License 2.0 | 4 votes |
private ProducerSendCallback(Handle<ProducerSendCallback> recyclerHandle) { this.recyclerHandle = recyclerHandle; }
Example #27
Source File: Producer.java From pulsar with Apache License 2.0 | 4 votes |
protected MessagePublishContext newObject(Recycler.Handle<MessagePublishContext> handle) { return new MessagePublishContext(handle); }
Example #28
Source File: ByteBufPayload.java From rsocket-java with Apache License 2.0 | 4 votes |
protected ByteBufPayload newObject(Handle<ByteBufPayload> handle) { return new ByteBufPayload(handle); }
Example #29
Source File: NonPersistentReplicator.java From pulsar with Apache License 2.0 | 4 votes |
@Override protected ProducerSendCallback newObject(Handle<ProducerSendCallback> handle) { return new ProducerSendCallback(handle); }
Example #30
Source File: NonPersistentReplicator.java From pulsar with Apache License 2.0 | 4 votes |
private ProducerSendCallback(Handle<ProducerSendCallback> recyclerHandle) { this.recyclerHandle = recyclerHandle; }