File-based swap space SPI implementation which holds keys in memory and values on disk. It is intended for cases when value is bigger than 100 bytes, otherwise it will not have any positive effect.
More...
|
| string | BaseDirectory [get, set] |
| | Gets or sets the base directory. More...
|
| |
| float | MaximumSparsity [get, set] |
| | Gets or sets the maximum sparsity. This property defines maximum acceptable wasted file space to whole file size ratio. When this ratio becomes higher than specified number compacting thread starts working. More...
|
| |
| int | MaximumWriteQueueSize [get, set] |
| | Gets or sets the maximum size of the write queue in bytes. If there are more values are waiting to be written to disk then specified size, SPI will block on write operation. More...
|
| |
| int | ReadStripesNumber [get, set] |
| | Gets or sets the read stripes number. Defines number of file channels to be used concurrently. Default is Environment.ProcessorCount. More...
|
| |
| int | WriteBufferSize [get, set] |
| | Gets or sets the size of the write buffer, in bytes. Write to disk occurs only when this buffer is full. More...
|
| |
| Apache.Ignite.Core.SwapSpace.File.FileSwapSpaceSpi.FileSwapSpaceSpi |
( |
| ) |
|
| const float Apache.Ignite.Core.SwapSpace.File.FileSwapSpaceSpi.DefaultMaximumSparsity = 0.5f |
| const int Apache.Ignite.Core.SwapSpace.File.FileSwapSpaceSpi.DefaultMaximumWriteQueueSize = 1024 * 1024 |
| readonly int Apache.Ignite.Core.SwapSpace.File.FileSwapSpaceSpi.DefaultReadStripesNumber = Environment.ProcessorCount |
|
static |
| const int Apache.Ignite.Core.SwapSpace.File.FileSwapSpaceSpi.DefaultWriteBufferSize = 64 * 1024 |
| string Apache.Ignite.Core.SwapSpace.File.FileSwapSpaceSpi.BaseDirectory |
|
getset |
| float Apache.Ignite.Core.SwapSpace.File.FileSwapSpaceSpi.MaximumSparsity |
|
getset |
The maximum sparsity. Must be between 0 and 1.
| int Apache.Ignite.Core.SwapSpace.File.FileSwapSpaceSpi.MaximumWriteQueueSize |
|
getset |
The maximum size of the write queue, in bytes.
| int Apache.Ignite.Core.SwapSpace.File.FileSwapSpaceSpi.ReadStripesNumber |
|
getset |
| int Apache.Ignite.Core.SwapSpace.File.FileSwapSpaceSpi.WriteBufferSize |
|
getset |
The size of the write buffer, in bytes.