func (s *StopPolicy) String() string {
	s.SyncObject.Lock()
	defer s.SyncObject.Unlock()
	return fmt.Sprintf("{Name: %v; errorCount: %v; MaximumErrorThreshold: %v}",
		s.Name, s.errorCount, s.MaximumErrorThreshold)
}
// String returns the string representation of the stop policy
String returns the string representation of the stop policy
// String returns the string representation of the stop policy
func (s *StopPolicy) String() string {
	s.SyncObject.Lock()
	defer s.SyncObject.Unlock()
	return fmt.Sprintf("{Name: %v; errorCount: %v; MaximumErrorThreshold: %v}",
		s.Name, s.errorCount, s.MaximumErrorThreshold)
}
func ( s * StopPolicy ) String ( ) string { s . SyncObject . Lock ( ) defer s . SyncObject . Unlock ( ) return fmt . Sprintf ( " " , s . Name , s . errorCount , s . MaximumErrorThreshold ) }
String returns the string representation of the stop policy
String returns the string representation of the stop policy