Hash verification store
Retrieves objects from a set of stores.
Instance creation
GetFromAnyStore getFromAnyStore = new GetFromAnyStore(stores); GetFromAnyStore getFromAnyStore = GetFromAnyStore.create(store0, store1, ...);
var getFromAnyStore = new cds.GetFromAnyStore([store0, store1, ...]);
my $getFromAnyStore = CDS::GetFromAnyStore->new([$store0, $store1, ...]);
Creates an instance.
Store behavior
Get requests are tried on each store in the order they are listed, until the object is found.
If no store succeeds, the request
- fails with an error, if at least one store reported an error,
- fails as not found, otherwise.
All other requests fail with an error.