diff options
| author | Arseny Smirnov <arseny30@gmail.com> | 2019-08-09 20:29:17 +0300 |
|---|---|---|
| committer | Arseny Smirnov <arseny30@gmail.com> | 2019-08-09 20:29:17 +0300 |
| commit | de5cc3e2147152abbe40737b5ba653a9bfa3181a (patch) | |
| tree | 58edd5724e7198daa15f5c8b843a8725e1867d74 /tddb/td/db/TQueue.h | |
| parent | db97a337fc5ccb98e81a78c5dc252a7ea8b0528c (diff) | |
TQueue: big rewrite
GitOrigin-RevId: dc541f0fbdbc2ecdbba70b52b494756f763e78bb
Diffstat (limited to 'tddb/td/db/TQueue.h')
| -rw-r--r-- | tddb/td/db/TQueue.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tddb/td/db/TQueue.h b/tddb/td/db/TQueue.h index f69055221..dcb222dee 100644 --- a/tddb/td/db/TQueue.h +++ b/tddb/td/db/TQueue.h @@ -72,6 +72,8 @@ class TQueue { virtual Result<size_t> get(QueueId queue_id, EventId from_id, double now, MutableSpan<Event> &events) = 0; + virtual void run_gc(double now) = 0; + static unique_ptr<TQueue> create(unique_ptr<Callback> callback = {}); }; |
