]> source.dussan.org Git - jgit.git/commit
Refactor alternate object databases below ObjectDirectory 15/915/4
authorShawn O. Pearce <spearce@spearce.org>
Sat, 19 Jun 2010 03:23:13 +0000 (20:23 -0700)
committerShawn O. Pearce <spearce@spearce.org>
Sat, 26 Jun 2010 00:46:41 +0000 (17:46 -0700)
commit133c987f4db0788043b79e33582d0c0d4d6ce09a
treebfec0724d1134a33a8b73a1b73084dce2283929d
parent88530a179e2ddfa81de5cc441a27d66521334608
Refactor alternate object databases below ObjectDirectory

Not every object storage system will have the concept of alternate
object databases to search, and even if they do, they may not have
the notion of fast-access / slow-access split like we do within
the ObjectDirectory code for pack files and loose objects.

Push all of that down below the generic API so that it is a hidden
detail of the ObjectDirectory and its related supporting classes.

Change-Id: I54bc1ca5ff2ac94dfffad1f9a9dad7af202b9523
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
org.eclipse.jgit/src/org/eclipse/jgit/lib/AlternateRepositoryDatabase.java [deleted file]
org.eclipse.jgit/src/org/eclipse/jgit/lib/CachedObjectDatabase.java [deleted file]
org.eclipse.jgit/src/org/eclipse/jgit/lib/CachedObjectDirectory.java
org.eclipse.jgit/src/org/eclipse/jgit/lib/FileObjectDatabase.java [new file with mode: 0644]
org.eclipse.jgit/src/org/eclipse/jgit/lib/FileRepository.java
org.eclipse.jgit/src/org/eclipse/jgit/lib/ObjectDatabase.java
org.eclipse.jgit/src/org/eclipse/jgit/lib/ObjectDirectory.java