public class MmappedRegions extends SharedCloseableImpl
Modifier and Type | Class and Description |
---|---|
static class |
MmappedRegions.Region |
static class |
MmappedRegions.Tidier |
Modifier and Type | Field and Description |
---|---|
static int |
MAX_SEGMENT_SIZE
In a perfect world, MAX_SEGMENT_SIZE would be final, but we need to test with a smaller size
|
Modifier and Type | Method and Description |
---|---|
static MmappedRegions |
empty(ChannelProxy channel) |
void |
extend(long length) |
MmappedRegions.Region |
floor(long position) |
boolean |
isEmpty() |
boolean |
isValid(ChannelProxy channel) |
static MmappedRegions |
map(ChannelProxy channel,
CompressionMetadata metadata) |
static MmappedRegions |
map(ChannelProxy channel,
long length) |
MmappedRegions |
sharedCopy() |
addTo, close, close, isCleanedUp
public static int MAX_SEGMENT_SIZE
public static MmappedRegions empty(ChannelProxy channel)
public static MmappedRegions map(ChannelProxy channel, CompressionMetadata metadata)
public static MmappedRegions map(ChannelProxy channel, long length)
public MmappedRegions sharedCopy()
public void extend(long length)
public boolean isValid(ChannelProxy channel)
public boolean isEmpty()
public MmappedRegions.Region floor(long position)
Copyright © 2016 The Apache Software Foundation