Java Code Examples for io.netty.util.Recycler#Handle
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: AbstractChannelHandlerContext.java From netty-4.1.22 with Apache License 2.0 | 4 votes |
@SuppressWarnings("unchecked") private AbstractWriteTask(Recycler.Handle<? extends AbstractWriteTask> handle) { this.handle = (Recycler.Handle<AbstractWriteTask>) handle; }
Example 2
Source File: EntryBatchSizes.java From pulsar with Apache License 2.0 | 4 votes |
private EntryBatchSizes(Recycler.Handle<EntryBatchSizes> handle) { this.handle = handle; }
Example 3
Source File: UkcpPacket.java From kcp-netty with MIT License | 4 votes |
private UkcpPacket(Recycler.Handle<UkcpPacket> recyclerHandle) { this.recyclerHandle = recyclerHandle; }
Example 4
Source File: RecieveTask.java From java-Kcp with Apache License 2.0 | 4 votes |
private RecieveTask(Recycler.Handle<RecieveTask> recyclerHandle) { this.recyclerHandle = recyclerHandle; }
Example 5
Source File: DefaultMsgHandler.java From sailfish with Apache License 2.0 | 4 votes |
private DefaultOutputImpl(Recycler.Handle<DefaultOutputImpl> handle) { this.handle = handle; }
Example 6
Source File: Kcp.java From kcp-netty with MIT License | 4 votes |
private Segment(Recycler.Handle<Segment> recyclerHandle) { this.recyclerHandle = recyclerHandle; }
Example 7
Source File: FecPacket.java From java-Kcp with Apache License 2.0 | 4 votes |
private FecPacket(Recycler.Handle<FecPacket> recyclerHandle) { this.recyclerHandle = recyclerHandle; }
Example 8
Source File: PooledHeapByteBuf.java From netty4.0.27Learn with Apache License 2.0 | 4 votes |
private PooledHeapByteBuf(Recycler.Handle recyclerHandle, int maxCapacity) { super(recyclerHandle, maxCapacity); }
Example 9
Source File: RecycleTest.java From sailfish with Apache License 2.0 | 4 votes |
@Override protected Resource newObject(Recycler.Handle<Resource> handle) { return new Resource(handle); }
Example 10
Source File: TransactionMetaStoreHandler.java From pulsar with Apache License 2.0 | 4 votes |
private OpForTxnIdCallBack(Recycler.Handle<OpForTxnIdCallBack> recyclerHandle) { this.recyclerHandle = recyclerHandle; }
Example 11
Source File: RecycleResponse.java From turbo-rpc with Apache License 2.0 | 4 votes |
protected RecycleResponse newObject(Recycler.Handle<RecycleResponse> handle) { return new RecycleResponse(handle); }
Example 12
Source File: FileSystemManagedLedgerOffloader.java From pulsar with Apache License 2.0 | 4 votes |
private FileSystemWriter(Recycler.Handle<FileSystemWriter> recyclerHandle) { this.recyclerHandle = recyclerHandle; }
Example 13
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 14
Source File: FileSystemManagedLedgerOffloader.java From pulsar with Apache License 2.0 | 4 votes |
@Override protected FileSystemWriter newObject(Recycler.Handle<FileSystemWriter> handle) { return new FileSystemWriter(handle); }
Example 15
Source File: PooledByteBuf.java From netty4.0.27Learn with Apache License 2.0 | 4 votes |
protected PooledByteBuf(Recycler.Handle recyclerHandle, int maxCapacity) { super(maxCapacity); this.recyclerHandle = recyclerHandle; }
Example 16
Source File: RecycleTest.java From sailfish with Apache License 2.0 | 4 votes |
private Resource(Recycler.Handle<Resource> handle) { this.handle = handle; }
Example 17
Source File: EntryImpl.java From pulsar with Apache License 2.0 | 4 votes |
private EntryImpl(Recycler.Handle<EntryImpl> recyclerHandle) { this.recyclerHandle = recyclerHandle; }
Example 18
Source File: BitSetRecyclable.java From pulsar with Apache License 2.0 | 4 votes |
protected BitSetRecyclable newObject(Recycler.Handle<BitSetRecyclable> recyclerHandle) { return new BitSetRecyclable(recyclerHandle); }
Example 19
Source File: PendingWriteQueue.java From netty-4.1.22 with Apache License 2.0 | 4 votes |
private PendingWrite(Recycler.Handle<PendingWrite> handle) { this.handle = handle; }
Example 20
Source File: DataFrameEncoder.java From nemo with Apache License 2.0 | 2 votes |
/** * Creates a {@link DataFrame}. * * @param handle the recycler handle */ private DataFrame(final Recycler.Handle handle) { this.handle = handle; }