IOStreamPersistor

trait IOStreamPersistor[I <: InputStream, O <: OutputStream] extends Persistor

Base for persistors that actually write and read org.scalameter.History.

Base for persistors that actually write and read org.scalameter.History.

Type Params
I

input stream to which org.scalameter.History is serialized

O

output stream from which org.scalameter.History is deserialized

trait Persistor
class Object
trait Matchable
class Any

Value members

Abstract methods

def fileExtension: String
protected def inputStream(file: File): I
protected def loadFrom[T](is: I): History[T]
protected def outputStream(file: File): O
def path: File
protected def saveTo[T](history: History[T], os: O): Unit

Concrete methods

final def load[T](context: Context): History[T]
final def save[T](context: Context, h: History[T]): Unit