|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.openexchange.admin.tools.FilestoreDataMover
public class FilestoreDataMover
Constructor Summary | |
---|---|
FilestoreDataMover(java.lang.String src,
java.lang.String dst,
com.openexchange.admin.rmi.dataobjects.Context ctx,
com.openexchange.admin.rmi.dataobjects.Filestore dstStore)
|
Method Summary | |
---|---|
java.lang.Void |
call()
starting the thread |
void |
copy()
start the copy (rsync) |
java.util.ArrayList<java.lang.String> |
getFileList(java.lang.String source)
get the list of files to copy from the source dir |
long |
getSize(java.lang.String source)
get Size as long (bytes) from the source dir |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FilestoreDataMover(java.lang.String src, java.lang.String dst, com.openexchange.admin.rmi.dataobjects.Context ctx, com.openexchange.admin.rmi.dataobjects.Filestore dstStore) throws java.io.IOException
java.io.IOException
Method Detail |
---|
public long getSize(java.lang.String source)
source
-
public java.util.ArrayList<java.lang.String> getFileList(java.lang.String source)
source
-
public void copy() throws com.openexchange.admin.rmi.exceptions.StorageException, java.io.IOException, java.lang.InterruptedException, com.openexchange.admin.rmi.exceptions.ProgrammErrorException
com.openexchange.admin.rmi.exceptions.StorageException
java.lang.InterruptedException
java.io.IOException
com.openexchange.admin.rmi.exceptions.ProgrammErrorException
public java.lang.Void call() throws com.openexchange.admin.rmi.exceptions.StorageException, java.io.IOException, java.lang.InterruptedException, com.openexchange.admin.rmi.exceptions.ProgrammErrorException
call
in interface java.util.concurrent.Callable<java.lang.Void>
com.openexchange.admin.rmi.exceptions.StorageException
java.lang.InterruptedException
java.io.IOException
com.openexchange.admin.rmi.exceptions.ProgrammErrorException
|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |