ICachedCountersOverrides

Interface used to define a save method for counters.

Description

the ICachedCountersOverrides provides a save method for counters.

Methods

Save

Save method for counters.

Save(ctx context.Context, counters []*Counter) error

  • counters: []*Counter - counters
  • returns: error - error if counters not saved