MCPcopy
hub / github.com/nats-io/nats.go / Reset

Method Reset

micro/service.go:47–47  ·  view source on GitHub ↗

Reset resets all statistics (for all endpoints) on a service instance.

()

Source from the content-addressed store, hash-verified

45
46 // Reset resets all statistics (for all endpoints) on a service instance.
47 Reset()
48
49 // Stop drains the endpoint subscriptions and marks the service as stopped.
50 Stop() error

Callers 15

PublishMsgAsyncMethod · 0.65
activityCheckMethod · 0.65
FetchMethod · 0.65
FetchBatchMethod · 0.65
decompressMethod · 0.65
WriteMethod · 0.65
PurgeDeletesMethod · 0.65
WatchFilteredMethod · 0.65
GetMethod · 0.65
flushPendingBufferMethod · 0.65

Implementers 1

servicemicro/service.go

Calls

no outgoing calls

Tested by 4

ExampleService_ResetFunction · 0.52
TestServiceBasicsFunction · 0.52