object Tracked
- Alphabetic
- By Inheritance
- Tracked
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
def
diffInputs(cacheFile: File, style: Style): Difference
Creates a tracker that provides the difference between a set of input files for successive invocations.
-
def
diffInputs(store: CacheStore, style: Style): Difference
Creates a tracker that provides the difference between a set of input files for successive invocations.
-
def
diffOutputs(cacheFile: File, style: Style): Difference
Creates a tracker that provides the difference between a set of output files for successive invocations.
-
def
diffOutputs(store: CacheStore, style: Style): Difference
Creates a tracker that provides the difference between a set of output files for successive invocations.
-
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))
-
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))
-
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
-
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
-
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))
-
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))
-
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.
-
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.
-
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.
-
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.