Class DefaultParallelSync
java.lang.Object
com.perforce.p4java.impl.generic.core.DefaultParallelSync
- All Implemented Interfaces:
IParallelCallback
Provides capability to perform sync in parallel.
The actual functionality is implemented as a server callback.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DefaultParallelSync
public DefaultParallelSync()Default constructor
-
-
Method Details
-
transmit
public boolean transmit(CommandEnv cmdEnv, int threads, HashMap<String, String> flags, ArrayList<String> args) This function notifies the server that the sync can be done in parallel.Invocation of this method spawns the threads required to support parallelism
- Specified by:
transmitin interfaceIParallelCallback- Parameters:
cmdEnv- command envthreads- threadsflags- flagsargs- arguments- Returns:
- true if no error
-