public class SpooledDirectoryTransfer extends Object implements Runnable
Modifier and Type | Class and Description |
---|---|
static class |
SpooledDirectoryTransfer.Arguments
Default arguments
|
class |
SpooledDirectoryTransfer.SpooledRunner |
Constructor and Description |
---|
SpooledDirectoryTransfer(R66Future future,
SpooledDirectoryTransfer.Arguments arguments,
NetworkTransaction networkTransaction) |
Modifier and Type | Method and Description |
---|---|
long |
getError() |
protected static boolean |
getParams(String[] args)
Parse the parameter and set current values
|
protected static boolean |
getParamsFromConfigFile(String filename) |
long |
getSent() |
static boolean |
initialize(String[] args,
boolean normalStart) |
static void |
main(String[] args) |
void |
run() |
void |
stop() |
public static final String NEEDFULL
public static final String PARTIALOK
protected static volatile WaarpLogger logger
protected static String _infoArgs
protected static final String NO_INFO_ARGS
protected final R66Future future
public final String name
protected final String statusFile
protected final String stopFile
protected final String ruleName
protected final String fileInfo
protected final boolean isMD5
protected final String regexFilter
protected final int blocksize
protected final long elapseTime
protected final long elapseWaarpTime
protected final boolean parallel
protected final int limitParallelTasks
protected final boolean submit
protected final boolean nolog
protected final boolean recurs
protected final long minimalSize
protected final boolean normalInfoAsWarn
protected final boolean ignoreAlreadyUsed
protected final NetworkTransaction networkTransaction
protected FileMonitor monitor
protected static final List<SpooledDirectoryTransfer.Arguments> arguments
public static final List<SpooledDirectoryTransfer> list
public static NetworkTransaction networkTransactionStatic
public static ExecutorService executorService
public SpooledDirectoryTransfer(R66Future future, SpooledDirectoryTransfer.Arguments arguments, NetworkTransaction networkTransaction)
future
- arguments
- networkTransaction
- public void stop()
protected static boolean getParamsFromConfigFile(String filename)
protected static boolean getParams(String[] args)
args
- public static void main(String[] args)
public static boolean initialize(String[] args, boolean normalStart)
args
- normalStart
- if True, will exit JVM when all daemons are
stopped;
else False let the caller do (used
by SpooledEngine)public long getSent()
public long getError()
Copyright © 2009–2020 Waarp. All rights reserved.