public class DfsReftable extends Object
DfsBlockCache
.Modifier and Type | Field and Description |
---|---|
protected Exception |
invalidatingCause
Exception that caused the packfile to be flagged as invalid
|
Constructor and Description |
---|
DfsReftable(DfsBlockCache cache,
DfsPackDescription desc)
Construct a reader for an existing reftable.
|
DfsReftable(DfsPackDescription desc)
Construct a reader for an existing reftable.
|
Modifier and Type | Method and Description |
---|---|
DfsPackDescription |
getPackDescription()
Get description that was originally used to configure this file.
|
ReftableReader |
open(DfsReader ctx)
Open reader on the reftable.
|
protected volatile Exception invalidatingCause
public DfsReftable(DfsPackDescription desc)
desc
- description of the reftable within the DFS.public DfsReftable(DfsBlockCache cache, DfsPackDescription desc)
cache
- cache that will store the reftable data.desc
- description of the reftable within the DFS.public DfsPackDescription getPackDescription()
public ReftableReader open(DfsReader ctx) throws IOException
The returned reader is not thread safe.
ctx
- reader to access the DFS storage.IOException
- table cannot be opened.Copyright © 2019 Eclipse JGit Project. All rights reserved.