Inca::Config::Suite::StoragePolicy - Storage policy for a Inca reporter
use Inca::Config::Suite::StoragePolicy; my $sp = new Inca::Config::Suite::StoragePolicy(); $sp->addDepots( "cuzco.sdsc.edu:8258", "inca.sdsc.edu:8235" );
A convenience object for handling the storage policy for a reporter. The storage policy is used by the depot to know where and how to store the reporter data. Currently, the storage policy is a list of depots that are interested in the reporter data.
Class constructor which returns a new Inca::Config::Suite::StoragePolicy object.
Add an arbitrary number of depot uris to the storage policy. The depot uris indicate the depot interested in the results of a reporter execution. E.g., addDepots( "cuzco.sdsc.edu:7777" )
Arguments:
- depot_uris
Any number of strings containing a uri to a depot [host:port, ...]
Return true if $sp is equivalent to ourself; false otherwise.
Arguments:
- sp
An object of type Inca::Config::Suite::StoragePolicy
Shava Smallen <ssmallen@sdsc.edu>
No known problems.