flux.resource.journal module
- class flux.resource.journal.ResourceJournalConsumer(flux_handle, since=0.0, include_sentinel=False)
Bases:
JournalConsumerBaseClass for consuming the resource journal
See
journal.JournalConsumerBasefor documentation of the journal consumer interface.- create_event(entry, R=None)
Create a ResourceJournalEvent from one event entry in a response
- process_response(resp)
Process a single response from the resource journal
- class flux.resource.journal.ResourceJournalEvent(event, R=None)
Bases:
JournalEventBaseA container for an event from the resource journal
- timestamp
event timestamp in seconds since the epoch with sub-millisecond precision.
- Type
float
- context
context dictionary (See RFC 21: Event Descriptions.)
- Type
dict
- context_string
context dict converted to comma separated key=value string.
- Type
str