ParallelCpgPass

@deprecated(message = "Please use ForkJoinParallelCpgPass or ConcurrentWriterCpgPass as a replacement.", since = "v1.3.508") abstract
class ParallelCpgPass[T](cpg: Cpg, outName: String, keyPools: Option[Iterator[KeyPool]]) extends CpgPassBase
Deprecated
[Since version v1.3.508] Please use ForkJoinParallelCpgPass or ConcurrentWriterCpgPass as a replacement.
class Object
trait Matchable
class Any

Value members

Abstract methods

def partIterator: Iterator[T]
def runOnPart(part: T): Iterator[DiffGraph]

Concrete methods

override
def createAndApply(): Unit
Definition Classes
override
def createApplySerializeAndStore(serializedCpg: SerializedCpg, inverse: Boolean, prefix: String): Unit
Definition Classes
def init(): Unit
override
def runWithBuilder(builder: DiffGraphBuilder): Int
Definition Classes

Inherited methods

def name: String

Name of the pass. By default it is inferred from the name of the class, override if needed.

Name of the pass. By default it is inferred from the name of the class, override if needed.

Inherited from
CpgPassBase
def runWithBuilderLogged(builder: DiffGraphBuilder): Int

Wraps runWithBuilder with logging, and swallows raised exceptions. Use with caution -- API is unstable. A return value of -1 indicates failure, otherwise the return value of runWithBuilder is passed through.

Wraps runWithBuilder with logging, and swallows raised exceptions. Use with caution -- API is unstable. A return value of -1 indicates failure, otherwise the return value of runWithBuilder is passed through.

Inherited from
CpgPassBase

Implicits

Implicits

implicit
val executionContext: ExecutionContext