KiokuDB::Backend::Serialize::Storable - L based serialization of


KiokuDB documentation  | view source Contained in the KiokuDB distribution.

Index


NAME

Top

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

SYNOPSIS

Top

    package MyBackend;

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

DESCRIPTION

Top

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

Top

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.


KiokuDB documentation  | view source Contained in the KiokuDB distribution.