KiokuDB::GC::Naive(3pm) User Contributed Perl Documentation KiokuDB::GC::Naive(3pm)

KiokuDB::GC::Naive - Naive mark and sweep garbage collection

version 0.57

    use KiokuDB::GC::Naive;
    my $gc = KiokuDB::GC::Naive->new(
        backend => $backend,
    );
    $backend->delete( $gc->garbage->members );

This class implements full mark and sweep garbage collection for a backend supporting KiokuDB::Backend::Role::Scan.

Yuval Kogman <nothingmuch@woobling.org>

This software is copyright (c) 2014 by Yuval Kogman, Infinity Interactive.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

2022-05-23 perl v5.34.0