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 DirectMemoryProvider
sizes
- Initializes provider with the chunk sizes.public void shutdown()
shutdown
in interface DirectMemoryProvider
public DirectMemoryRegion nextRegion()
null
if no more regions are available.nextRegion
in interface DirectMemoryProvider
Follow @ApacheIgnite
Ignite Fabric : ver. 2.0.0 Release Date : April 30 2017