object Tracked

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Tracked
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. def diffInputs(cacheFile: File, style: Style): Difference

    Creates a tracker that provides the difference between a set of input files for successive invocations.

  2. def diffInputs(store: CacheStore, style: Style): Difference

    Creates a tracker that provides the difference between a set of input files for successive invocations.

  3. def diffOutputs(cacheFile: File, style: Style): Difference

    Creates a tracker that provides the difference between a set of output files for successive invocations.

  4. def diffOutputs(store: CacheStore, style: Style): Difference

    Creates a tracker that provides the difference between a set of output files for successive invocations.

  5. def inputChanged[I, O](cacheFile: File)(f: (Boolean, I) ⇒ O)(implicit arg0: JsonFormat[I], arg1: SingletonCache[I]): (I) ⇒ O

    Creates a tracker that indicates whether the arguments given to f have changed since the most recent invocation.

    Creates a tracker that indicates whether the arguments given to f have changed since the most recent invocation.

    val cachedTask = inputChanged(cache / "inputs") { (inChanged, in: Inputs) =>
      Tracked.outputChanged(cache / "output") { (outChanged, outputs: FilesInfo[PlainFileInfo]) =>
        if (inChanged || outChanged) {
          doSomething(label, sources, classpath, outputDirectory, options, log)
        }
      }
    }
    cachedDoc(inputs)(() => exists(outputDirectory.allPaths.get.toSet))
  6. def inputChanged[I, O](store: CacheStore)(f: (Boolean, I) ⇒ O)(implicit arg0: JsonFormat[I], arg1: SingletonCache[I]): (I) ⇒ O

    Creates a tracker that indicates whether the arguments given to f have changed since the most recent invocation.

    Creates a tracker that indicates whether the arguments given to f have changed since the most recent invocation.

    val cachedTask = inputChanged(cache / "inputs") { (inChanged, in: Inputs) =>
      Tracked.outputChanged(cache / "output") { (outChanged, outputs: FilesInfo[PlainFileInfo]) =>
        if (inChanged || outChanged) {
          doSomething(label, sources, classpath, outputDirectory, options, log)
        }
      }
    }
    cachedDoc(inputs)(() => exists(outputDirectory.allPaths.get.toSet))
  7. def lastOutput[I, O](cacheFile: File)(f: (I, Option[O]) ⇒ O)(implicit arg0: JsonFormat[O]): (I) ⇒ O

    Creates a tracker that provides the output of the most recent invocation of the function

  8. def lastOutput[I, O](store: CacheStore)(f: (I, Option[O]) ⇒ O)(implicit arg0: JsonFormat[O]): (I) ⇒ O

    Creates a tracker that provides the output of the most recent invocation of the function

  9. def outputChanged[A1, A2](cacheFile: File)(f: (Boolean, A1) ⇒ A2)(implicit arg0: JsonFormat[A1]): (() ⇒ A1) ⇒ A2

    Creates a tracker that indicates whether the output returned from p has changed or not.

    Creates a tracker that indicates whether the output returned from p has changed or not.

    val cachedTask = inputChanged(cache / "inputs") { (inChanged, in: Inputs) =>
      Tracked.outputChanged(cache / "output") { (outChanged, outputs: FilesInfo[PlainFileInfo]) =>
        if (inChanged || outChanged) {
          doSomething(label, sources, classpath, outputDirectory, options, log)
        }
      }
    }
    cachedDoc(inputs)(() => exists(outputDirectory.allPaths.get.toSet))
  10. def outputChanged[A1, A2](store: CacheStore)(f: (Boolean, A1) ⇒ A2)(implicit arg0: JsonFormat[A1]): (() ⇒ A1) ⇒ A2

    Creates a tracker that indicates whether the output returned from p has changed or not.

    Creates a tracker that indicates whether the output returned from p has changed or not.

    val cachedTask = inputChanged(cache / "inputs") { (inChanged, in: Inputs) =>
      Tracked.outputChanged(cache / "output") { (outChanged, outputs: FilesInfo[PlainFileInfo]) =>
        if (inChanged || outChanged) {
          doSomething(label, sources, classpath, outputDirectory, options, log)
        }
      }
    }
    cachedDoc(inputs)(() => exists(outputDirectory.allPaths.get.toSet))
  11. def tstamp(cacheFile: File, useStartTime: Boolean): Timestamp

    Creates a tracker that provides the last time it was evaluated.

    Creates a tracker that provides the last time it was evaluated. If 'useStartTime' is true, the recorded time is the start of the evaluated function. If 'useStartTime' is false, the recorded time is when the evaluated function completes. In both cases, the timestamp is not updated if the function throws an exception.

  12. def tstamp(store: CacheStore, useStartTime: Boolean): Timestamp

    Creates a tracker that provides the last time it was evaluated.

    Creates a tracker that provides the last time it was evaluated. If 'useStartTime' is true, the recorded time is the start of the evaluated function. If 'useStartTime' is false, the recorded time is when the evaluated function completes. In both cases, the timestamp is not updated if the function throws an exception.

  13. def tstamp(cacheFile: File): Timestamp

    Creates a tracker that provides the last time it was evaluated.

    Creates a tracker that provides the last time it was evaluated. If the function throws an exception.

  14. def tstamp(store: CacheStore): Timestamp

    Creates a tracker that provides the last time it was evaluated.

    Creates a tracker that provides the last time it was evaluated. If the function throws an exception.