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