forked from cockroachdb/pebble
-
Notifications
You must be signed in to change notification settings - Fork 0
/
event.go
48 lines (33 loc) · 1.6 KB
/
event.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
// Copyright 2018 The LevelDB-Go and Pebble Authors. All rights reserved. Use
// of this source code is governed by a BSD-style license that can be found in
// the LICENSE file.
package pebble
import "github.com/cockroachdb/pebble/internal/base"
// TableInfo exports the base.TableInfo type.
type TableInfo = base.TableInfo
// CompactionInfo exports the base.CompactionInfo type.
type CompactionInfo = base.CompactionInfo
// FlushInfo exports the base.FlushInfo type.
type FlushInfo = base.FlushInfo
// ManifestCreateInfo exports the base.ManifestCreateInfo type.
type ManifestCreateInfo = base.ManifestCreateInfo
// ManifestDeleteInfo exports the base.ManifestDeleteInfo type.
type ManifestDeleteInfo = base.ManifestDeleteInfo
// TableCreateInfo exports the base.TableCreateInfo type.
type TableCreateInfo = base.TableCreateInfo
// TableDeleteInfo exports the base.TableDeleteInfo type.
type TableDeleteInfo = base.TableDeleteInfo
// TableIngestInfo exports the base.TableIngestInfo type.
type TableIngestInfo = base.TableIngestInfo
// WALCreateInfo exports the base.WALCreateInfo type.
type WALCreateInfo = base.WALCreateInfo
// WALDeleteInfo exports the base.WALDeleteInfo type.
type WALDeleteInfo = base.WALDeleteInfo
// WriteStallBeginInfo exports the base.WriteStallBeginInfo type.
type WriteStallBeginInfo = base.WriteStallBeginInfo
// EventListener exports the base.EventListener type.
type EventListener = base.EventListener
// MakeLoggingEventListener exports the base.MakeLoggingEventListener function.
func MakeLoggingEventListener(logger Logger) EventListener {
return base.MakeLoggingEventListener(logger)
}