Class FSPacker
- java.lang.Object
-
- org.tmatesoft.svn.core.internal.io.fs.FSPacker
-
public class FSPacker extends java.lang.Object- Version:
- 1.3
-
-
Field Summary
Fields Modifier and Type Field Description private ISVNCancellermyCancellerprivate ISVNAdminEventHandlermyNotifyHandler
-
Constructor Summary
Constructors Constructor Description FSPacker(ISVNAdminEventHandler notifyHandler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private voidcopyRevProps(java.lang.String packName, java.io.File packPath, java.io.File shardPath, long startRev, long endRev, boolean compressPackedRevprops)private voiddeleteRevPropShard(java.io.File revpropShardPath, long shard, long maxFilesPerDirectory)private voidfirePackEvent(long shard, boolean start)voidpack(FSFS fsfs)private voidpackImpl(FSFS fsfs)private voidpackPhysicallyAddressed(FSFS fsfs, long shard, java.io.File shardPath, java.io.File packFile, java.io.File manifestFile)private voidpackRevPropShard(FSFS fsfs, long shard, java.io.File shardPath, long maxPackSize)private voidpackRevShard(FSFS fsfs, long shard, java.io.File shardPath)private voidpackShard(FSFS fsfs, long shard, boolean packRevisionProperties)
-
-
-
Field Detail
-
myCanceller
private ISVNCanceller myCanceller
-
myNotifyHandler
private ISVNAdminEventHandler myNotifyHandler
-
-
Constructor Detail
-
FSPacker
public FSPacker(ISVNAdminEventHandler notifyHandler)
-
-
Method Detail
-
pack
public void pack(FSFS fsfs) throws SVNException
- Throws:
SVNException
-
packImpl
private void packImpl(FSFS fsfs) throws SVNException
- Throws:
SVNException
-
packShard
private void packShard(FSFS fsfs, long shard, boolean packRevisionProperties) throws SVNException
- Throws:
SVNException
-
deleteRevPropShard
private void deleteRevPropShard(java.io.File revpropShardPath, long shard, long maxFilesPerDirectory) throws SVNException- Throws:
SVNException
-
packRevShard
private void packRevShard(FSFS fsfs, long shard, java.io.File shardPath) throws SVNException
- Throws:
SVNException
-
packPhysicallyAddressed
private void packPhysicallyAddressed(FSFS fsfs, long shard, java.io.File shardPath, java.io.File packFile, java.io.File manifestFile) throws SVNException
- Throws:
SVNException
-
firePackEvent
private void firePackEvent(long shard, boolean start) throws SVNException- Throws:
SVNException
-
packRevPropShard
private void packRevPropShard(FSFS fsfs, long shard, java.io.File shardPath, long maxPackSize) throws SVNException
- Throws:
SVNException
-
copyRevProps
private void copyRevProps(java.lang.String packName, java.io.File packPath, java.io.File shardPath, long startRev, long endRev, boolean compressPackedRevprops) throws SVNException- Throws:
SVNException
-
-