Changeset 297
- Timestamp:
- 02/22/08 06:46:25 (9 months ago)
- Location:
- trunk/thrudex
- Files:
-
- 4 added
- 2 modified
- 1 copied
-
scripts (added)
-
scripts/thrudex_rrdpull.pl (copied) (copied from trunk/thrudoc/scripts/thrudoc_rrdpull.pl) (1 diff)
-
src/Makefile.am (modified) (1 diff)
-
src/StatsBackend.cpp (added)
-
src/StatsBackend.h (added)
-
src/ThrudexPassthruBackend.h (added)
-
src/main.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/thrudex/scripts/thrudex_rrdpull.pl
r247 r297 18 18 19 19 my $hostname = shift @ARGV; 20 my $port = 909 1;20 my $port = 9092; 21 21 my $interval = 60; 22 22 -
trunk/thrudex/src/Makefile.am
r293 r297 10 10 CLuceneRAMDirectory.cpp \ 11 11 CLuceneIndex.cpp \ 12 StatsBackend.cpp \ 12 13 UpdateFilter.cpp \ 13 14 main.cpp -
trunk/thrudex/src/main.cpp
r259 r297 38 38 #include "ThrudexBackend.h" 39 39 #include "CLuceneBackend.h" 40 #include "StatsBackend.h" 40 41 #include "ConfigFile.h" 41 42 #include "utils.h" 42 43 43 44 44 using namespace log4cxx; … … 96 96 shared_ptr<ThrudexBackend> backend(new CLuceneBackend(index_root)); 97 97 98 99 if (ConfigManager->read<int>("KEEP_STATS", 0)) 100 backend = shared_ptr<ThrudexBackend> (new StatsBackend (backend)); 98 101 99 102 shared_ptr<TProtocolFactory> protocolFactory (new TBinaryProtocolFactory());
