freebsd-ports/databases/flare/files/patch-flarei-ini_option.h
Norikatsu Shigemura 4bfc868fa3 Add flare 1.0.9, is distributed, and persistent key-value storage
compatible / memcached, and has more features(as follows):

 * persistent storage (you can use flare as persistent memcached)
 * pluggable storage (currently only Tokyo Cabinet is available, though:)
 * data replication (synchronous or asynchronous)
 * data partitioning (automatically partitioned according to # of master
   servers (clients do not have to care about it))
 * dynamic reconstruction, and partitioning (you can dynamically (I mean,
   without any service interruption) add slave servers and partition
   master servers)
 * node monitoring and failover (if any server is down, the server is
   automatically isolated from active servers and another slave server
   is promoted to master server)
 * request proxy (you can always get same result regardless of servers
   you connect to. so you can think flare servers as one big key-value
   storage)
 * over 256 bytes keys, and over 1M bytes values are available

WWW:	http://labs.gree.jp/Top/OpenSource/Flare-en.html
2010-05-30 04:41:50 +00:00

18 lines
679 B
C

--- src/flarei/ini_option.h.orig 2009-10-09 19:08:47.000000000 +0900
+++ src/flarei/ini_option.h 2010-05-30 00:47:47.862009797 +0900
@@ -25,6 +25,7 @@
char** _argv;
string _config_path;
+ string _pid_path;
bool _daemonize;
string _data_dir;
string _log_facility;
@@ -61,6 +62,7 @@
int set_args(int argc, char** argv) { this->_argc = argc; this->_argv = argv; return 0; };
string get_config_path() { return this->_config_path; };
+ string get_pid_path() { return this->_pid_path; };
bool is_daemonize() { return this->_daemonize; };
string get_data_dir() { return this->_data_dir; };
string get_log_facility() { return this->_log_facility; };