1 <?xml version="1.0"?>
\r
4 <name>Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets</name>
\r
7 <member name="P:Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketTransportOptions.IOQueueCount">
\r
9 The number of I/O queues used to process requests. Set to 0 to directly schedule I/O to the ThreadPool.
\r
12 Defaults to <see cref="P:System.Environment.ProcessorCount" /> rounded down and clamped between 1 and 16.
\r
15 <member name="P:Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketTransportOptions.NoDelay">
\r
17 Set to false to enable Nagle's algorithm for all connections.
\r
23 <member name="P:Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketsStrings.OnlyIPEndPointsSupported">
\r
24 <summary>Only ListenType.IPEndPoint is supported by the Socket Transport. https://go.microsoft.com/fwlink/?linkid=874850</summary>
\r
26 <member name="P:Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketsStrings.TransportAlreadyBound">
\r
27 <summary>Transport is already bound.</summary>
\r
29 <member name="M:Microsoft.AspNetCore.Hosting.WebHostBuilderSocketExtensions.UseSockets(Microsoft.AspNetCore.Hosting.IWebHostBuilder)">
\r
31 Specify Sockets as the transport to be used by Kestrel.
\r
33 <param name="hostBuilder">
\r
34 The Microsoft.AspNetCore.Hosting.IWebHostBuilder to configure.
\r
37 The Microsoft.AspNetCore.Hosting.IWebHostBuilder.
\r
40 <member name="M:Microsoft.AspNetCore.Hosting.WebHostBuilderSocketExtensions.UseSockets(Microsoft.AspNetCore.Hosting.IWebHostBuilder,System.Action{Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketTransportOptions})">
\r
42 Specify Sockets as the transport to be used by Kestrel.
\r
44 <param name="hostBuilder">
\r
45 The Microsoft.AspNetCore.Hosting.IWebHostBuilder to configure.
\r
47 <param name="configureOptions">
\r
48 A callback to configure Libuv options.
\r
51 The Microsoft.AspNetCore.Hosting.IWebHostBuilder.
\r
54 <member name="T:System.Buffers.DiagnosticMemoryPool">
\r
56 Used to allocate and distribute re-usable blocks of memory.
\r
59 <member name="F:System.Buffers.DiagnosticMemoryPool.AnySize">
\r
61 This default value passed in to Rent to use the default value for the pool.
\r
64 <member name="T:System.Buffers.DiagnosticPoolBlock">
\r
66 Block tracking object used by the byte buffer memory pool. A slab is a large allocation which is divided into smaller blocks. The
\r
67 individual blocks are then treated as independent array segments.
\r
70 <member name="F:System.Buffers.DiagnosticPoolBlock._pool">
\r
72 Back-reference to the memory pool which this block was allocated from. It may only be returned to this pool.
\r
75 <member name="M:System.Buffers.DiagnosticPoolBlock.#ctor(System.Buffers.DiagnosticMemoryPool,System.Buffers.IMemoryOwner{System.Byte})">
\r
77 This object cannot be instantiated outside of the static Create method
\r
80 <member name="T:System.Buffers.MemoryPoolBlock">
\r
82 Block tracking object used by the byte buffer memory pool. A slab is a large allocation which is divided into smaller blocks. The
\r
83 individual blocks are then treated as independent array segments.
\r
86 <member name="M:System.Buffers.MemoryPoolBlock.#ctor(System.Buffers.SlabMemoryPool,System.Buffers.MemoryPoolSlab,System.Int32,System.Int32)">
\r
88 This object cannot be instantiated outside of the static Create method
\r
91 <member name="P:System.Buffers.MemoryPoolBlock.Pool">
\r
93 Back-reference to the memory pool which this block was allocated from. It may only be returned to this pool.
\r
96 <member name="P:System.Buffers.MemoryPoolBlock.Slab">
\r
98 Back-reference to the slab from which this block was taken, or null if it is one-time-use memory.
\r
101 <member name="T:System.Buffers.MemoryPoolSlab">
\r
103 Slab tracking object used by the byte buffer memory pool. A slab is a large allocation which is divided into smaller blocks. The
\r
104 individual blocks are then treated as independent array segments.
\r
107 <member name="F:System.Buffers.MemoryPoolSlab._gcHandle">
\r
109 This handle pins the managed array in memory until the slab is disposed. This prevents it from being
\r
110 relocated and enables any subsections of the array to be used as native memory pointers to P/Invoked API calls.
\r
113 <member name="P:System.Buffers.MemoryPoolSlab.IsActive">
\r
115 True as long as the blocks from this slab are to be considered returnable to the pool. In order to shrink the
\r
116 memory pool size an entire slab must be removed. That is done by (1) setting IsActive to false and removing the
\r
117 slab from the pool's _slabs collection, (2) as each block currently in use is Return()ed to the pool it will
\r
118 be allowed to be garbage collected rather than re-pooled, and (3) when all block tracking objects are garbage
\r
119 collected and the slab is no longer references the slab will be garbage collected and the memory unpinned will
\r
120 be unpinned by the slab's Dispose.
\r
123 <member name="T:System.Buffers.SlabMemoryPool">
\r
125 Used to allocate and distribute re-usable blocks of memory.
\r
128 <member name="F:System.Buffers.SlabMemoryPool._blockSize">
\r
130 The size of a block. 4096 is chosen because most operating systems use 4k pages.
\r
133 <member name="F:System.Buffers.SlabMemoryPool._blockCount">
\r
135 Allocating 32 contiguous blocks per slab makes the slab size 128k. This is larger than the 85k size which will place the memory
\r
136 in the large object heap. This means the GC will not try to relocate this array, so the fact it remains pinned does not negatively
\r
137 affect memory management's compactification.
\r
140 <member name="P:System.Buffers.SlabMemoryPool.MaxBufferSize">
\r
142 Max allocation block size for pooled blocks,
\r
143 larger values can be leased but they will be disposed after use rather than returned to the pool.
\r
146 <member name="P:System.Buffers.SlabMemoryPool.BlockSize">
\r
148 The size of a block. 4096 is chosen because most operating systems use 4k pages.
\r
151 <member name="F:System.Buffers.SlabMemoryPool._slabLength">
\r
153 4096 * 32 gives you a slabLength of 128k contiguous bytes allocated per slab
\r
156 <member name="F:System.Buffers.SlabMemoryPool._blocks">
\r
158 Thread-safe collection of blocks which are currently in the pool. A slab will pre-allocate all of the block tracking objects
\r
159 and add them to this collection. When memory is requested it is taken from here first, and when it is returned it is re-added.
\r
162 <member name="F:System.Buffers.SlabMemoryPool._slabs">
\r
164 Thread-safe collection of slabs which have been allocated by this pool. As long as a slab is in this collection and slab.IsActive,
\r
165 the blocks will be added to _blocks when returned.
\r
168 <member name="F:System.Buffers.SlabMemoryPool._isDisposed">
\r
170 This is part of implementing the IDisposable pattern.
\r
173 <member name="F:System.Buffers.SlabMemoryPool.AnySize">
\r
175 This default value passed in to Rent to use the default value for the pool.
\r
178 <member name="M:System.Buffers.SlabMemoryPool.Lease">
\r
180 Called to take a block from the pool.
\r
182 <returns>The block that is reserved for the called. It must be passed to Return when it is no longer being used.</returns>
\r
184 <member name="M:System.Buffers.SlabMemoryPool.AllocateSlab">
\r
186 Internal method called when a block is requested and the pool is empty. It allocates one additional slab, creates all of the
\r
187 block tracking objects, and adds them all to the pool.
\r
190 <member name="M:System.Buffers.SlabMemoryPool.Return(System.Buffers.MemoryPoolBlock)">
\r
192 Called to return a block to the pool. Once Return has been called the memory no longer belongs to the caller, and
\r
193 Very Bad Things will happen if the memory is read of modified subsequently. If a caller fails to call Return and the
\r
194 block tracking object is garbage collected, the block tracking object's finalizer will automatically re-create and return
\r
195 a new tracking object into the pool. This will only happen if there is a bug in the server, however it is necessary to avoid
\r
196 leaving "dead zones" in the slab due to lost block tracking objects.
\r
198 <param name="block">The block to return. It must have been acquired by calling Lease on the same memory pool instance.</param>
\r