17 #ifndef __ORG_APACHE_ZOOKEEPER_HPP__ 18 #define __ORG_APACHE_ZOOKEEPER_HPP__ 35 namespace persistence {
45 "org/apache/zookeeper/server/persistence/FileTxnSnapLog")
51 constructor, (jobject) dataDir, (jobject) snapDir);
77 "org/apache/zookeeper/server/ZooKeeperServer$BasicDataTreeBuilder")
87 Jvm::
Class::named(
"org/apache/zookeeper/server/ZooKeeperServer"))
94 "org/apache/zookeeper/server/persistence/FileTxnSnapLog"))
97 "org/apache/zookeeper/server/ZooKeeperServer$DataTreeBuilder")));
100 constructor, (jobject) txnLogFactory, (jobject) treeBuilder);
105 sessionTracker.bind(*
this);
112 .method(
"setMaxSessionTimeout")
123 .method(
"setMinSessionTimeout")
134 .method(
"getMaxSessionTimeout")
144 .method(
"getMinSessionTimeout")
154 .method(
"getClientPort")
164 .method(
"closeSession")
185 "org/apache/zookeeper/server/NIOServerCnxnFactory")
195 "org/apache/zookeeper/server/NIOServerCnxnFactory")
209 "org/apache/zookeeper/server/NIOServerCnxnFactory")
212 "org/apache/zookeeper/server/ZooKeeperServer"))
222 "org/apache/zookeeper/server/NIOServerCnxnFactory")
235 #endif // __ORG_APACHE_ZOOKEEPER_HPP__ Definition: zookeeper.hpp:68
ZooKeeperServer(const persistence::FileTxnSnapLog &txnLogFactory, const DataTreeBuilder &treeBuilder)
Definition: zookeeper.hpp:84
Jvm::Variable< SessionTracker, ZOOKEEPERSERVER_SESSIONTRACKER, ZOOKEEPERSERVER_SESSIONTRACKER_SIGNATURE > sessionTracker
Definition: zookeeper.hpp:173
void setMinSessionTimeout(int min)
Definition: zookeeper.hpp:119
Definition: zookeeper.hpp:178
int getClientPort()
Definition: zookeeper.hpp:150
Definition: zookeeper.hpp:65
Constructor findConstructor(const ConstructorFinder &finder)
Method findMethod(const MethodSignature &signature)
NIOServerCnxnFactory()
Definition: zookeeper.hpp:181
Definition: authentication.hpp:33
Option< T > max(const Option< T > &left, const Option< T > &right)
Definition: option.hpp:214
FileTxnSnapLog(const java::io::File &dataDir, const java::io::File &snapDir)
Definition: zookeeper.hpp:40
const char ZOOKEEPERSERVER_SESSIONTRACKER[]
Option< T > min(const Option< T > &left, const Option< T > &right)
Definition: option.hpp:185
void closeSession(int64_t sessionId)
Definition: zookeeper.hpp:160
Definition: zookeeper.hpp:58
int getMinSessionTimeout()
Definition: zookeeper.hpp:140
Definition: zookeeper.hpp:37
int getMaxSessionTimeout()
Definition: zookeeper.hpp:130
jobject object
Definition: jvm.hpp:287
void setMaxSessionTimeout(int max)
Definition: zookeeper.hpp:108
Definition: zookeeper.hpp:70
void configure(const java::net::InetSocketAddress &addr, int maxcc)
Definition: zookeeper.hpp:191
jobject invoke(const Constructor ctor,...)
void shutdown()
Definition: zookeeper.hpp:218
static const Class named(const std::string &name)
const char ZOOKEEPERSERVER_SESSIONTRACKER_SIGNATURE[]
void startup(const ZooKeeperServer &zks)
Definition: zookeeper.hpp:205
BasicDataTreeBuilder()
Definition: zookeeper.hpp:73
Class
Definition: elf.hpp:38