public class LineageCache extends Object
Constructor and Description |
---|
LineageCache() |
Modifier and Type | Method and Description |
---|---|
static MatrixBlock |
getMatrix(LineageItem key) |
static boolean |
probe(LineageItem key) |
static void |
putMatrix(Instruction inst,
ExecutionContext ec,
long computetime) |
static void |
putValue(Instruction inst,
ExecutionContext ec,
long starttime) |
static void |
putValue(List<DataIdentifier> outputs,
LineageItem[] liInputs,
String name,
ExecutionContext ec,
long computetime) |
static void |
resetCache() |
static boolean |
reuse(Instruction inst,
ExecutionContext ec) |
static boolean |
reuse(List<String> outNames,
List<DataIdentifier> outParams,
int numOutputs,
LineageItem[] liInputs,
String name,
ExecutionContext ec) |
public static boolean reuse(Instruction inst, ExecutionContext ec)
public static boolean reuse(List<String> outNames, List<DataIdentifier> outParams, int numOutputs, LineageItem[] liInputs, String name, ExecutionContext ec)
public static boolean probe(LineageItem key)
public static MatrixBlock getMatrix(LineageItem key)
public static void putMatrix(Instruction inst, ExecutionContext ec, long computetime)
public static void putValue(Instruction inst, ExecutionContext ec, long starttime)
public static void putValue(List<DataIdentifier> outputs, LineageItem[] liInputs, String name, ExecutionContext ec, long computetime)
public static void resetCache()
Copyright © 2020 The Apache Software Foundation. All rights reserved.