public class DfsReftable extends Object
DfsBlockCache
.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.
|
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 © 2017 Eclipse JGit Project. All rights reserved.