org.apache.sysds.runtime.lineage

## Class LineageCacheConfig

- java.lang.Object
- - org.apache.sysds.runtime.lineage.LineageCacheConfig

-     public class LineageCacheConfig
      extends Object

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `LineageCacheConfig.LineageCachePolicy`
    `static class` | `LineageCacheConfig.ReuseCacheType`

  - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static double` | `FSREAD_DENSE`
    `static double` | `FSREAD_SPARSE`
    `static double` | `FSWRITE_DENSE`
    `static double` | `FSWRITE_SPARSE`
    `static double` | `MIN_SPILL_DATA`
    `static double` | `MIN_SPILL_TIME_ESTIMATE`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `LineageCacheConfig()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static org.apache.sysds.runtime.lineage.LineageCacheConfig.CachedItemHead` | `getCachedItemHead()`
    `static org.apache.sysds.runtime.lineage.LineageCacheConfig.CachedItemTail` | `getCachedItemTail()`
    `static LineageCacheConfig.LineageCachePolicy` | `getCachePolicy()`
    `static LineageCacheConfig.ReuseCacheType` | `getCacheType()`
    `static boolean` | `getCompAssRW()`
    `static boolean` | `isMultiLevelReuse()`
    `static boolean` | `isReusable(Instruction inst, ExecutionContext ec)`
    `static boolean` | `isSetSpill()`
    `static boolean` | `isTimeBased()`
    `static void` | `resetReusableOpcodes()`
    `static void` | `restartReuse(LineageCacheConfig.ReuseCacheType rop)`
    `static void` | `setCachePolicy(LineageCacheConfig.LineageCachePolicy policy)`
    `static void` | `setCompAssRW(boolean comp)`
    `static void` | `setConfig(LineageCacheConfig.ReuseCacheType ct)`
    `static void` | `setConfig(LineageCacheConfig.ReuseCacheType ct, org.apache.sysds.runtime.lineage.LineageCacheConfig.CachedItemHead ith, org.apache.sysds.runtime.lineage.LineageCacheConfig.CachedItemTail itt)`
    `static void` | `setConfigTsmmCbind(LineageCacheConfig.ReuseCacheType ct)`
    `static void` | `setReusableOpcodes(String... ops)`
    `static void` | `setSpill(boolean toSpill)`
    `static void` | `shutdownReuse()`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### MIN_SPILL_TIME_ESTIMATE

          public static final double MIN_SPILL_TIME_ESTIMATE

      See Also:
        Constant Field Values

    - #### MIN_SPILL_DATA

          public static final double MIN_SPILL_DATA

      See Also:
        Constant Field Values

    - #### FSREAD_DENSE

          public static double FSREAD_DENSE

    - #### FSREAD_SPARSE

          public static double FSREAD_SPARSE

    - #### FSWRITE_DENSE

          public static double FSWRITE_DENSE

    - #### FSWRITE_SPARSE

          public static double FSWRITE_SPARSE

  - ### Constructor Detail

    - #### LineageCacheConfig

          public LineageCacheConfig()

  - ### Method Detail

    - #### setReusableOpcodes

          public static void setReusableOpcodes(String... ops)

    - #### resetReusableOpcodes

          public static void resetReusableOpcodes()

    - #### isReusable

          public static boolean isReusable(Instruction inst,
                                           ExecutionContext ec)

    - #### setConfigTsmmCbind

          public static void setConfigTsmmCbind(LineageCacheConfig.ReuseCacheType ct)

    - #### setConfig

          public static void setConfig(LineageCacheConfig.ReuseCacheType ct)

    - #### setConfig

          public static void setConfig(LineageCacheConfig.ReuseCacheType ct,
                                       org.apache.sysds.runtime.lineage.LineageCacheConfig.CachedItemHead ith,
                                       org.apache.sysds.runtime.lineage.LineageCacheConfig.CachedItemTail itt)

    - #### setCompAssRW

          public static void setCompAssRW(boolean comp)

    - #### shutdownReuse

          public static void shutdownReuse()

    - #### restartReuse

          public static void restartReuse(LineageCacheConfig.ReuseCacheType rop)

    - #### getCacheType

          public static LineageCacheConfig.ReuseCacheType getCacheType()

    - #### isMultiLevelReuse

          public static boolean isMultiLevelReuse()

    - #### getCachedItemHead

          public static org.apache.sysds.runtime.lineage.LineageCacheConfig.CachedItemHead getCachedItemHead()

    - #### getCachedItemTail

          public static org.apache.sysds.runtime.lineage.LineageCacheConfig.CachedItemTail getCachedItemTail()

    - #### getCompAssRW

          public static boolean getCompAssRW()

    - #### setCachePolicy

          public static void setCachePolicy(LineageCacheConfig.LineageCachePolicy policy)

    - #### getCachePolicy

          public static LineageCacheConfig.LineageCachePolicy getCachePolicy()

    - #### isTimeBased

          public static boolean isTimeBased()

    - #### setSpill

          public static void setSpill(boolean toSpill)

    - #### isSetSpill

          public static boolean isSetSpill()

Copyright © 2020 The Apache Software Foundation. All rights reserved.