org.eclipse.jgit.storage.dht
Class DhtRefDatabase

java.lang.Object
  extended by org.eclipse.jgit.lib.RefDatabase
      extended by org.eclipse.jgit.storage.dht.DhtRefDatabase

public class DhtRefDatabase
extends RefDatabase

Repository references stored on top of a DHT database.


Field Summary
 
Fields inherited from class org.eclipse.jgit.lib.RefDatabase
ALL, MAX_SYMBOLIC_REF_DEPTH, SEARCH_PATH
 
Method Summary
 void close()
           
 void create()
           
 java.util.List<Ref> getAdditionalRefs()
           
 Ref getRef(java.lang.String needle)
           
 java.util.Map<java.lang.String,Ref> getRefs(java.lang.String prefix)
           
 boolean isNameConflicting(java.lang.String refName)
           
 RefRename newRename(java.lang.String fromName, java.lang.String toName)
           
 org.eclipse.jgit.storage.dht.DhtRefUpdate newUpdate(java.lang.String refName, boolean detach)
           
 Ref peel(Ref ref)
           
 
Methods inherited from class org.eclipse.jgit.lib.RefDatabase
refresh
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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.