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
SVNExceptionprivate void packImpl(FSFS fsfs) throws SVNException
SVNExceptionprivate void packShard(FSFS fsfs, long shard, boolean packRevisionProperties) throws SVNException
SVNExceptionprivate void deleteRevPropShard(java.io.File revpropShardPath,
long shard,
long maxFilesPerDirectory)
throws SVNException
SVNExceptionprivate void packRevShard(FSFS fsfs, long shard, java.io.File shardPath) throws SVNException
SVNExceptionprivate void packPhysicallyAddressed(FSFS fsfs, long shard, java.io.File shardPath, java.io.File packFile, java.io.File manifestFile) throws SVNException
SVNExceptionprivate void firePackEvent(long shard,
boolean start)
throws SVNException
SVNExceptionprivate void packRevPropShard(FSFS fsfs, long shard, java.io.File shardPath, long maxPackSize) throws SVNException
SVNExceptionprivate void copyRevProps(java.lang.String packName,
java.io.File packPath,
java.io.File shardPath,
long startRev,
long endRev,
boolean compressPackedRevprops)
throws SVNException
SVNException