mirror of
https://github.com/valitydev/thrift.git
synced 2024-11-07 02:45:22 +00:00
THRIFT-292. s/facebook::thrift/apache::thrift/ in contrib/fb303/cpp
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@741827 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f4335dfdbe
commit
858519aac5
@ -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) {
|
||||
|
@ -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,
|
||||
|
@ -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;
|
||||
|
@ -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 @@ public:
|
||||
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_;
|
||||
|
Loading…
Reference in New Issue
Block a user