From c262907fec8c418daf4f3c0cd4eba41f02c187f1 Mon Sep 17 00:00:00 2001 From: "Matt T. Proud" Date: Thu, 15 Aug 2013 11:39:07 +0200 Subject: [PATCH] Kill interface cruft. These pieces were never used and should be thusly removed. Change-Id: I8dd151ec4c40b6d3ccffad1bb9b8b75a92e9ee37 --- storage/metric/interface.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/storage/metric/interface.go b/storage/metric/interface.go index c0c8345a9..22e0adf08 100644 --- a/storage/metric/interface.go +++ b/storage/metric/interface.go @@ -31,10 +31,6 @@ type MetricPersistence interface { // closed when finished. Close() - // Commit all pending operations, if any, since some of the storage components - // queue work on channels and operate on it in bulk. - // Flush() error - // Record a group of new samples in the storage layer. AppendSamples(clientmodel.Samples) error @@ -58,10 +54,6 @@ type MetricPersistence interface { GetRangeValues(*clientmodel.Fingerprint, Interval) Values // Get all label values that are associated with a given label name. GetAllValuesForLabel(clientmodel.LabelName) (clientmodel.LabelValues, error) - - // Requests the storage stack to build a materialized View of the values - // contained therein. - // MakeView(builder ViewRequestBuilder, deadline time.Duration) (View, error) } // View provides a view of the values in the datastore subject to the request