public class MappedFileMemoryProvider extends Object implements DirectMemoryProvider
| Constructor and Description |
|---|
MappedFileMemoryProvider(IgniteLogger log,
File allocationPath) |
| Modifier and Type | Method and Description |
|---|---|
void |
initialize(long[] sizes) |
DirectMemoryRegion |
nextRegion()
Attempts to allocate next memory region.
|
void |
shutdown()
Shuts down the provider.
|
public MappedFileMemoryProvider(IgniteLogger log, File allocationPath)
allocationPath - Allocation path.public void initialize(long[] sizes)
initialize in interface DirectMemoryProvidersizes - Initializes provider with the chunk sizes.public void shutdown()
shutdown in interface DirectMemoryProviderpublic DirectMemoryRegion nextRegion()
null if no more regions are available.nextRegion in interface DirectMemoryProvider
Follow @ApacheIgnite
Ignite Fabric : ver. 2.2.0 Release Date : September 15 2017