NAME

KiokuDB::Backend::Serialize::Storable - Storable based serialization of KiokuDB::Entry objects.

SYNOPSIS

    package MyBackend;

    with qw(KiokuDB::Backend::Serialize::Storable;

DESCRIPTION

This role provides Storable based serialization of KiokuDB::Entry objects for a backend, with streaming capabilities.

KiokuDB::Backend::Serialize::Delegate is preferred to using this directly.

METHODS

serialize $entry

Uses "nstore" in Storable

deserialize $blob

Uses "thaw" in Storable

serialize_to_stream $fh, $entry

Uses "nstore_fd" in Storable.

deserialize_from_stream $fh

Uses "fd_retrieve" in Storable.