[icinga-checkins] icinga.org: icinga2/master: Make attribute lookups O(1).

git at icinga.org git at icinga.org
Tue Feb 26 10:14:03 CET 2013


Module: icinga2
Branch: master
Commit: 35c79a76c15d616b1c5c2a424bbb1ba08031334a
URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=35c79a76c15d616b1c5c2a424bbb1ba08031334a

Author: Gunnar Beutner <gunnar.beutner at netways.de>
Date:   Tue Feb 26 10:13:54 2013 +0100

Make attribute lookups O(1).

---

 components/checker/checkercomponent.cpp         |    3 +-
 components/compat/compatcomponent.cpp           |   24 ++--
 components/delegation/delegationcomponent.cpp   |   10 +-
 components/replication/replicationcomponent.cpp |    2 +-
 configure.ac                                    |    7 +-
 lib/base/dynamicobject.cpp                      |  116 +++++++---------
 lib/base/dynamicobject.h                        |  151 ++++++++++++++++++++-
 lib/base/dynamictype.cpp                        |   10 +-
 lib/base/dynamictype.h                          |    6 +-
 lib/base/eventqueue.cpp                         |   23 +++-
 lib/base/eventqueue.h                           |    5 +
 lib/base/logger.cpp                             |   10 +-
 lib/base/logger.h                               |    4 +
 lib/base/script.cpp                             |    9 +-
 lib/base/script.h                               |    3 +
 lib/base/timer.cpp                              |    2 +
 lib/icinga/host.cpp                             |  153 +++++++++++++---------
 lib/icinga/host.h                               |   13 ++-
 lib/icinga/hostgroup.cpp                        |   16 ++-
 lib/icinga/hostgroup.h                          |    4 +
 lib/icinga/icingaapplication.cpp                |   40 +++---
 lib/icinga/icingaapplication.h                  |    8 +
 lib/icinga/notification.cpp                     |   19 ++-
 lib/icinga/notification.h                       |    6 +
 lib/icinga/service-check.cpp                    |  160 +++++++++--------------
 lib/icinga/service-comment.cpp                  |   18 ++--
 lib/icinga/service-downtime.cpp                 |   20 ++--
 lib/icinga/service-notification.cpp             |   66 +++++++---
 lib/icinga/service.cpp                          |  134 ++++++++++---------
 lib/icinga/service.h                            |   51 +++++++-
 lib/icinga/servicegroup.cpp                     |   16 ++-
 lib/icinga/servicegroup.h                       |    4 +
 lib/icinga/user.cpp                             |    6 +-
 lib/icinga/user.h                               |    3 +
 lib/remoting/endpoint.cpp                       |   39 +++---
 lib/remoting/endpoint.h                         |    7 +
 36 files changed, 731 insertions(+), 437 deletions(-)

Diff:   https://git.icinga.org/?p=icinga2.git;a=commitdiff;h=35c79a76c15d616b1c5c2a424bbb1ba08031334a




More information about the icinga-checkins mailing list