public class AwsSegmentArchiveReader extends AbstractRemoteSegmentArchiveReader
hasGraph, index, ioMonitor
Modifier and Type | Method and Description |
---|---|
protected java.io.File |
archivePathAsFile()
Returns the decoded file component of this archive.
|
protected long |
computeArchiveIndexAndLength()
Populates the archive index, summing up each entry's length.
|
protected Buffer |
doReadDataFile(java.lang.String extension)
Reads a data file inside the archive.
|
protected void |
doReadSegmentToBuffer(java.lang.String segmentFileName,
Buffer buffer)
Reads the segment from the remote storage.
|
java.lang.String |
getName()
Get the name of the archive.
|
long |
length()
Get the current length of the archive.
|
close, containsSegment, getBinaryReferences, getEntrySize, getGraph, hasGraph, listSegments, readSegment
public long length()
SegmentArchiveReader
public java.lang.String getName()
SegmentArchiveReader
protected long computeArchiveIndexAndLength() throws java.io.IOException
AbstractRemoteSegmentArchiveReader
computeArchiveIndexAndLength
in class AbstractRemoteSegmentArchiveReader
java.io.IOException
protected void doReadSegmentToBuffer(java.lang.String segmentFileName, Buffer buffer) throws java.io.IOException
AbstractRemoteSegmentArchiveReader
doReadSegmentToBuffer
in class AbstractRemoteSegmentArchiveReader
java.io.IOException
protected Buffer doReadDataFile(java.lang.String extension) throws java.io.IOException
AbstractRemoteSegmentArchiveReader
doReadDataFile
in class AbstractRemoteSegmentArchiveReader
java.io.IOException
protected java.io.File archivePathAsFile()
AbstractRemoteSegmentArchiveReader
archivePathAsFile
in class AbstractRemoteSegmentArchiveReader
Copyright © 2012–2022 The Apache Software Foundation. All rights reserved.