public void closeQuietly() { Throwable err = close(null); if (err != null) { JVMStabilityInspector.inspectThrowable(err); // This is not supposed to happen LoggerFactory.getLogger(getClass()).error("Error while closing mmapped regions", err); } }
public Throwable close(Throwable accumulate) { if (!compressed && regions != null) accumulate = regions.close(accumulate); if (channel != null) return channel.close(accumulate); return accumulate; }
public void closeQuietly() { Throwable err = close(null); if (err != null) { JVMStabilityInspector.inspectThrowable(err); // This is not supposed to happen LoggerFactory.getLogger(getClass()).error("Error while closing mmapped regions", err); } }
public Throwable close(Throwable accumulate) { if (!compressed && regions != null) accumulate = regions.close(accumulate); if (channel != null) return channel.close(accumulate); return accumulate; }
public Throwable close(Throwable accumulate) { if (!compressed && regions != null) accumulate = regions.close(accumulate); if (channel != null) return channel.close(accumulate); return accumulate; }
public void closeQuietly() { Throwable err = close(null); if (err != null) { JVMStabilityInspector.inspectThrowable(err); // This is not supposed to happen LoggerFactory.getLogger(getClass()).error("Error while closing mmapped regions", err); } }
private void updateRegions(ChannelProxy channel, long length) { if (regions != null && !regions.isValid(channel)) { Throwable err = regions.close(null); if (err != null) logger.error("Failed to close mapped regions", err); regions = null; } if (regions == null) regions = MmappedRegions.map(channel, length); else regions.extend(length); } }
private void updateRegions(ChannelProxy channel, long length) { if (regions != null && !regions.isValid(channel)) { Throwable err = regions.close(null); if (err != null) logger.error("Failed to close mapped regions", err); regions = null; } if (regions == null) regions = MmappedRegions.map(channel, length); else regions.extend(length); } }
private void updateRegions(ChannelProxy channel, long length) { if (regions != null && !regions.isValid(channel)) { Throwable err = regions.close(null); if (err != null) logger.error("Failed to close mapped regions", err); regions = null; } if (regions == null) regions = MmappedRegions.map(channel, length); else regions.extend(length); } }