MCPcopy Create free account
hub / github.com/devfeel/dottask / Counter

Interface Counter

counter.go:9–15  ·  view source on GitHub ↗

Counter incremented and decremented base on int64 value.

Source from the content-addressed store, hash-verified

7
8// Counter incremented and decremented base on int64 value.
9type Counter interface {
10 StartTime() time.Time
11 Clear()
12 Count() int64
13 Dec(int64)
14 Inc(int64)
15}
16
17// NewCounter constructs a new StandardCounter.
18func NewCounter() Counter {

Callers 6

GetAllTaskCountInfoMethod · 0.65
defaultLogCounterInfoMethod · 0.65
doLoopTaskFunction · 0.65
startQueueTaskFunction · 0.65
doCronTaskFunction · 0.65

Implementers 1

StandardCountercounter.go

Calls

no outgoing calls

Tested by

no test coverage detected