blob: 165ffe34ff298ca733f06cead8ae7f74702fc04b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
package event
import (
. "ior/internal/types"
"sync"
)
var poolOfEventPairs = sync.Pool{
New: func() interface{} { return &Pair{} },
}
type Event interface {
String() string
GetTraceId() TraceId
GetPid() uint32
GetTid() uint32
GetTime() uint64
Equals(other any) bool
Recycle()
}
|