You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by dr...@apache.org on 2009/02/07 03:36:50 UTC
svn commit: r741827 - in /incubator/thrift/trunk/contrib/fb303/cpp:
FacebookBase.cpp FacebookBase.h ServiceTracker.cpp ServiceTracker.h
Author: dreiss
Date: Sat Feb 7 02:36:50 2009
New Revision: 741827
URL: http://svn.apache.org/viewvc?rev=741827&view=rev
Log:
THRIFT-292. s/facebook::thrift/apache::thrift/ in contrib/fb303/cpp
Modified:
incubator/thrift/trunk/contrib/fb303/cpp/FacebookBase.cpp
incubator/thrift/trunk/contrib/fb303/cpp/FacebookBase.h
incubator/thrift/trunk/contrib/fb303/cpp/ServiceTracker.cpp
incubator/thrift/trunk/contrib/fb303/cpp/ServiceTracker.h
Modified: incubator/thrift/trunk/contrib/fb303/cpp/FacebookBase.cpp
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/contrib/fb303/cpp/FacebookBase.cpp?rev=741827&r1=741826&r2=741827&view=diff
==============================================================================
--- incubator/thrift/trunk/contrib/fb303/cpp/FacebookBase.cpp (original)
+++ incubator/thrift/trunk/contrib/fb303/cpp/FacebookBase.cpp Sat Feb 7 02:36:50 2009
@@ -7,7 +7,7 @@
#include "FacebookBase.h"
using namespace facebook::fb303;
-using facebook::thrift::concurrency::Guard;
+using apache::thrift::concurrency::Guard;
FacebookBase::FacebookBase(std::string name) :
name_(name) {
Modified: incubator/thrift/trunk/contrib/fb303/cpp/FacebookBase.h
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/contrib/fb303/cpp/FacebookBase.h?rev=741827&r1=741826&r2=741827&view=diff
==============================================================================
--- incubator/thrift/trunk/contrib/fb303/cpp/FacebookBase.h (original)
+++ incubator/thrift/trunk/contrib/fb303/cpp/FacebookBase.h Sat Feb 7 02:36:50 2009
@@ -18,9 +18,9 @@
namespace facebook { namespace fb303 {
-using facebook::thrift::concurrency::Mutex;
-using facebook::thrift::concurrency::ReadWriteMutex;
-using facebook::thrift::server::TServer;
+using apache::thrift::concurrency::Mutex;
+using apache::thrift::concurrency::ReadWriteMutex;
+using apache::thrift::server::TServer;
struct ReadWriteInt : ReadWriteMutex {int64_t value;};
struct ReadWriteCounterMap : ReadWriteMutex,
Modified: incubator/thrift/trunk/contrib/fb303/cpp/ServiceTracker.cpp
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/contrib/fb303/cpp/ServiceTracker.cpp?rev=741827&r1=741826&r2=741827&view=diff
==============================================================================
--- incubator/thrift/trunk/contrib/fb303/cpp/ServiceTracker.cpp (original)
+++ incubator/thrift/trunk/contrib/fb303/cpp/ServiceTracker.cpp Sat Feb 7 02:36:50 2009
@@ -12,7 +12,7 @@
using namespace std;
using namespace facebook::fb303;
-using namespace facebook::thrift::concurrency;
+using namespace apache::thrift::concurrency;
uint64_t ServiceTracker::CHECKPOINT_MINIMUM_INTERVAL_SECONDS = 60;
Modified: incubator/thrift/trunk/contrib/fb303/cpp/ServiceTracker.h
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/contrib/fb303/cpp/ServiceTracker.h?rev=741827&r1=741826&r2=741827&view=diff
==============================================================================
--- incubator/thrift/trunk/contrib/fb303/cpp/ServiceTracker.h (original)
+++ incubator/thrift/trunk/contrib/fb303/cpp/ServiceTracker.h Sat Feb 7 02:36:50 2009
@@ -90,7 +90,7 @@
#include "concurrency/Mutex.h"
-namespace facebook { namespace thrift { namespace concurrency {
+namespace apache { namespace thrift { namespace concurrency {
class ThreadManager;
}}}
@@ -132,20 +132,20 @@
Stopwatch::Unit stopwatchUnit
= Stopwatch::UNIT_MILLISECONDS);
- void setThreadManager(boost::shared_ptr<facebook::thrift::concurrency::ThreadManager> threadManager);
+ void setThreadManager(boost::shared_ptr<apache::thrift::concurrency::ThreadManager> threadManager);
private:
facebook::fb303::FacebookBase *handler_;
void (*logMethod_)(int, const std::string &);
- boost::shared_ptr<facebook::thrift::concurrency::ThreadManager> threadManager_;
+ boost::shared_ptr<apache::thrift::concurrency::ThreadManager> threadManager_;
bool featureCheckpoint_;
bool featureStatusCheck_;
bool featureThreadCheck_;
Stopwatch::Unit stopwatchUnit_;
- facebook::thrift::concurrency::Mutex statisticsMutex_;
+ apache::thrift::concurrency::Mutex statisticsMutex_;
time_t checkpointTime_;
uint64_t checkpointServices_;
uint64_t checkpointDuration_;