MCPcopy
hub / github.com/coocood/freecache / StoppableTimer

Interface StoppableTimer

timer.go:15–21  ·  view source on GitHub ↗

Timer that must be stopped.

Source from the content-addressed store, hash-verified

13
14// Timer that must be stopped.
15type StoppableTimer interface {
16 Timer
17
18 // Release resources of the timer, functionality may or may not be affected
19 // It is not called automatically, so user must call it just once
20 Stop()
21}
22
23// Helper function that returns Unix time in seconds
24func getUnixTime() uint32 {

Callers 1

StopMethod · 0.65

Implementers 1

cachedTimertimer.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…