org.eclipse.jgit.storage.dht
Class DhtRefDatabase
java.lang.Object
org.eclipse.jgit.lib.RefDatabase
org.eclipse.jgit.storage.dht.DhtRefDatabase
public class DhtRefDatabase
- extends RefDatabase
Repository references stored on top of a DHT database.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getRef
public Ref getRef(java.lang.String needle)
throws java.io.IOException
- Specified by:
getRef
in class RefDatabase
- Throws:
java.io.IOException
getAdditionalRefs
public java.util.List<Ref> getAdditionalRefs()
- Specified by:
getAdditionalRefs
in class RefDatabase
getRefs
public java.util.Map<java.lang.String,Ref> getRefs(java.lang.String prefix)
throws java.io.IOException
- Specified by:
getRefs
in class RefDatabase
- Throws:
java.io.IOException
peel
public Ref peel(Ref ref)
throws java.io.IOException
- Specified by:
peel
in class RefDatabase
- Throws:
java.io.IOException
newUpdate
public org.eclipse.jgit.storage.dht.DhtRefUpdate newUpdate(java.lang.String refName,
boolean detach)
throws java.io.IOException
- Specified by:
newUpdate
in class RefDatabase
- Throws:
java.io.IOException
newRename
public RefRename newRename(java.lang.String fromName,
java.lang.String toName)
throws java.io.IOException
- Specified by:
newRename
in class RefDatabase
- Throws:
java.io.IOException
isNameConflicting
public boolean isNameConflicting(java.lang.String refName)
throws java.io.IOException
- Specified by:
isNameConflicting
in class RefDatabase
- Throws:
java.io.IOException
create
public void create()
- Specified by:
create
in class RefDatabase
close
public void close()
- Specified by:
close
in class RefDatabase
Copyright © 2011. All Rights Reserved.