wp
This commit is contained in:
@@ -49,14 +49,19 @@ type MetricAdd struct {
|
||||
MetricID uint32
|
||||
MetricType qb.MetricType
|
||||
FracDigits byte
|
||||
ResultCh chan struct{}
|
||||
ResultCh chan byte
|
||||
}
|
||||
|
||||
type MetricDelete struct {
|
||||
MetricID uint32
|
||||
FreeIndexPages []uint32
|
||||
FreeDataPages []uint32
|
||||
ResultCh chan struct{}
|
||||
ResultCh chan byte
|
||||
}
|
||||
|
||||
type MeasuresAppendResult struct {
|
||||
ResultCode byte
|
||||
WrittenCount int
|
||||
}
|
||||
|
||||
type MeasuresAppendWithGrow struct {
|
||||
@@ -72,7 +77,7 @@ type MeasuresAppendWithGrow struct {
|
||||
IndexLevelTails []IndexLevelTail
|
||||
ResultCode byte
|
||||
WrittenCount int
|
||||
ResultCh chan AppendMeasuresResult
|
||||
ResultCh chan MeasuresAppendResult
|
||||
}
|
||||
|
||||
type MeasuresAppend struct {
|
||||
@@ -83,14 +88,14 @@ type MeasuresAppend struct {
|
||||
Values []byte
|
||||
ResultCode byte
|
||||
WrittenCount int
|
||||
ResultCh chan AppendMeasuresResult
|
||||
ResultCh chan MeasuresAppendResult
|
||||
}
|
||||
|
||||
type MeasuresDelete struct {
|
||||
MetricID uint32
|
||||
FreeIndexPages []uint32
|
||||
FreeDataPages []uint32
|
||||
ResultCh chan struct{}
|
||||
ResultCh chan byte
|
||||
}
|
||||
|
||||
// WRITE RESULTS
|
||||
@@ -100,7 +105,7 @@ type MeasuresAppendCommited struct {
|
||||
MetricID uint32
|
||||
ResultCode byte
|
||||
WrittenCount int
|
||||
ResultCh chan AppendMeasuresResult
|
||||
ResultCh chan MeasuresAppendResult
|
||||
}
|
||||
|
||||
type MeasuresAppendWithGrowCommited struct {
|
||||
@@ -109,20 +114,20 @@ type MeasuresAppendWithGrowCommited struct {
|
||||
Index []IndexLevelTail
|
||||
ResultCode byte
|
||||
WrittenCount int
|
||||
ResultCh chan AppendMeasuresResult
|
||||
ResultCh chan MeasuresAppendResult
|
||||
}
|
||||
|
||||
type MeasuresDeleteCommited struct {
|
||||
MetricID uint32
|
||||
ResultCh chan struct{}
|
||||
ResultCh chan byte
|
||||
}
|
||||
|
||||
type MetricAddCommited struct {
|
||||
MetricID uint32
|
||||
ResultCh chan struct{}
|
||||
ResultCh chan byte
|
||||
}
|
||||
|
||||
type MetricDeleteCommited struct {
|
||||
MetricID uint32
|
||||
ResultCh chan struct{}
|
||||
ResultCh chan byte
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user