예제 #1
0
파일: replica.go 프로젝트: ipeet/camlistore
func (sto *replicaStorage) EnumerateBlobs(dest chan<- blobref.SizedBlobRef, after string, limit uint, waitSeconds int) os.Error {
	// TODO: option to enumerate from one or from all merged.  for
	// now we'll just do all, even though it's kinda a waste.  at
	// least then we don't miss anything if a certain node is
	// missing some blobs temporarily
	return blobserver.MergedEnumerate(dest, sto.replicas, after, limit, waitSeconds)
}
예제 #2
0
파일: shard.go 프로젝트: ipeet/camlistore
func (sto *shardStorage) EnumerateBlobs(dest chan<- blobref.SizedBlobRef, after string, limit uint, waitSeconds int) os.Error {
	return blobserver.MergedEnumerate(dest, sto.shards, after, limit, waitSeconds)
}