Class DefaultParallelSync
- java.lang.Object
-
- com.perforce.p4java.impl.generic.core.DefaultParallelSync
-
- All Implemented Interfaces:
IParallelCallback
public class DefaultParallelSync extends java.lang.Object implements IParallelCallback
Provides capability to perform sync in parallel. The actual functionality is implemented as a server callback.
-
-
Constructor Summary
Constructors Constructor Description DefaultParallelSync()
Default constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
transmit(CommandEnv cmdEnv, int threads, java.util.HashMap<java.lang.String,java.lang.String> flags, java.util.ArrayList<java.lang.String> args)
This function notifies the server that the sync can be done in parallel.
-
-
-
Method Detail
-
transmit
public boolean transmit(CommandEnv cmdEnv, int threads, java.util.HashMap<java.lang.String,java.lang.String> flags, java.util.ArrayList<java.lang.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:
transmit
in interfaceIParallelCallback
- Parameters:
cmdEnv
- command envthreads
- threadsflags
- flagsargs
- arguments- Returns:
- true if no error
-
-