I'm using ZooKeeper as an event system that sends notification. This is
done by creating a zooKeeper
object, and calling getChildren(). It works fine. However, the session time
concerns me, as it is an Integer,
and a session time with Integer.MAX_VALUE in java will timeout in about 25
days. I have to keep a thread
to refresh the connection to avoid it.
Is there a particular reason that a long is not used for the sessionTime?
or will it cause a problem if zooKeeper
Patrick Hunt 2011-12-07, 21:23