org.eclipse.jgit.storage.dht
Class ChunkInfo
java.lang.Object
org.eclipse.jgit.storage.dht.ChunkInfo
public class ChunkInfo
- extends java.lang.Object
Summary information about a chunk owned by a repository.
Field Summary |
static int |
OBJ_MIXED
Mixed objects are stored in the chunk (instead of single type). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
OBJ_MIXED
public static final int OBJ_MIXED
- Mixed objects are stored in the chunk (instead of single type).
- See Also:
- Constant Field Values
ChunkInfo
public ChunkInfo(ChunkKey key,
GitStore.ChunkInfo data)
- Wrap a ChunkInfo message.
- Parameters:
key
- associated chunk key.data
- data.
getRepositoryKey
public RepositoryKey getRepositoryKey()
- Returns:
- the repository that contains the chunk.
getChunkKey
public ChunkKey getChunkKey()
- Returns:
- the chunk this information describes.
getData
public GitStore.ChunkInfo getData()
- Returns:
- the underlying message containing all data.
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2011. All Rights Reserved.