public class FSPacker
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private ISVNCanceller |
myCanceller |
private ISVNAdminEventHandler |
myNotifyHandler |
Constructor and Description |
---|
FSPacker(ISVNAdminEventHandler notifyHandler) |
Modifier and Type | Method and Description |
---|---|
private void |
copyRevProps(java.lang.String packName,
java.io.File packPath,
java.io.File shardPath,
long startRev,
long endRev,
boolean compressPackedRevprops) |
private void |
deleteRevPropShard(java.io.File revpropShardPath,
long shard,
long maxFilesPerDirectory) |
private void |
firePackEvent(long shard,
boolean start) |
void |
pack(FSFS fsfs) |
private void |
packImpl(FSFS fsfs) |
private void |
packPhysicallyAddressed(FSFS fsfs,
long shard,
java.io.File shardPath,
java.io.File packFile,
java.io.File manifestFile) |
private void |
packRevPropShard(FSFS fsfs,
long shard,
java.io.File shardPath,
long maxPackSize) |
private void |
packRevShard(FSFS fsfs,
long shard,
java.io.File shardPath) |
private void |
packShard(FSFS fsfs,
long shard,
boolean packRevisionProperties) |
private ISVNCanceller myCanceller
private ISVNAdminEventHandler myNotifyHandler
public FSPacker(ISVNAdminEventHandler notifyHandler)
public void pack(FSFS fsfs) throws SVNException
SVNException
private void packImpl(FSFS fsfs) throws SVNException
SVNException
private void packShard(FSFS fsfs, long shard, boolean packRevisionProperties) throws SVNException
SVNException
private void deleteRevPropShard(java.io.File revpropShardPath, long shard, long maxFilesPerDirectory) throws SVNException
SVNException
private void packRevShard(FSFS fsfs, long shard, java.io.File shardPath) throws SVNException
SVNException
private void packPhysicallyAddressed(FSFS fsfs, long shard, java.io.File shardPath, java.io.File packFile, java.io.File manifestFile) throws SVNException
SVNException
private void firePackEvent(long shard, boolean start) throws SVNException
SVNException
private void packRevPropShard(FSFS fsfs, long shard, java.io.File shardPath, long maxPackSize) throws SVNException
SVNException
private void copyRevProps(java.lang.String packName, java.io.File packPath, java.io.File shardPath, long startRev, long endRev, boolean compressPackedRevprops) throws SVNException
SVNException