abstract class Beetle::Archiver

Overview

An abstract class that can be sub-classed to capture the results of a Job execution. To use an archiver you instantiate it and then pass this object to the Server#archiver=(archiver) method.

For example:

archiver = Beetle::CSVArchiver.new(".")
s = Beetle::Server.new
s.archiver = archiver
:
s.listen

Direct Known Subclasses

Defined in:

beetle/archiver.cr

Instance Method Summary

Instance Method Detail

abstract def archive(job_exec : JobExec) #

Called on completion of a Job Execution.


[View source]