The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

DynGig::Range::Cluster::Config - Cluster configuration methods

SYNOPSIS

 my $config = DynGig::Range::Cluster::Config->new( '/config/dir' );

 if ( my %update = $config->load() )
 {
     $config->update( %update );
 }

 my $compressed = $config->zip();
 my $md5 = $config->md5();

METHODS

unzip()

Returns decompressed config.

unzip()

Returns compressed config.

unzip()

Returns MD5 digest of serialized config.

load()

Delta loads ( no change == no-op ) configs into a HASH. Returns HASH reference in scalar context. Returns flattened HASH in list context.

update( cluster1 => config1, cluster2 => config2 .. )

Updates object.

NOTE

See DynGig::Range::Cluster