code: func (gms *genericMsgStore) State() (numMessages int, byteSize uint64, err error) {
  	gms.RLock()
  	c, b := gms.totalCount, gms.totalBytes
  	gms.RUnlock()
  	return c, b, nil
  }
docs: // State returns some statistics related to this store