Return-Path: X-Original-To: apmail-zookeeper-commits-archive@www.apache.org Delivered-To: apmail-zookeeper-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C19BA90D6 for ; Wed, 21 Mar 2012 06:15:19 +0000 (UTC) Received: (qmail 34452 invoked by uid 500); 21 Mar 2012 06:15:19 -0000 Delivered-To: apmail-zookeeper-commits-archive@zookeeper.apache.org Received: (qmail 34422 invoked by uid 500); 21 Mar 2012 06:15:19 -0000 Mailing-List: contact commits-help@zookeeper.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ Delivered-To: mailing list commits@zookeeper.apache.org Received: (qmail 34414 invoked by uid 99); 21 Mar 2012 06:15:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Mar 2012 06:15:19 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Mar 2012 06:15:12 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 54DD12388C72 for ; Wed, 21 Mar 2012 06:13:48 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1303295 [24/39] - in /zookeeper/site/trunk: content/ content/doc/r3.3.5/ content/doc/r3.3.5/api/ content/doc/r3.3.5/api/org/ content/doc/r3.3.5/api/org/apache/ content/doc/r3.3.5/api/org/apache/zookeeper/ content/doc/r3.3.5/api/org/apache/... Date: Wed, 21 Mar 2012 06:13:36 -0000 To: commits@zookeeper.apache.org From: phunt@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20120321061348.54DD12388C72@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Added: zookeeper/site/trunk/content/doc/r3.3.5/api/org/apache/zookeeper/package-summary.html URL: http://svn.apache.org/viewvc/zookeeper/site/trunk/content/doc/r3.3.5/api/org/apache/zookeeper/package-summary.html?rev=1303295&view=auto ============================================================================== --- zookeeper/site/trunk/content/doc/r3.3.5/api/org/apache/zookeeper/package-summary.html (added) +++ zookeeper/site/trunk/content/doc/r3.3.5/api/org/apache/zookeeper/package-summary.html Wed Mar 21 06:13:26 2012 @@ -0,0 +1,361 @@ + + + + + + +org.apache.zookeeper (ZooKeeper 3.3.5 API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package org.apache.zookeeper +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Interface Summary
AsyncCallback 
AsyncCallback.ACLCallback 
AsyncCallback.Children2Callback 
AsyncCallback.ChildrenCallback 
AsyncCallback.DataCallback 
AsyncCallback.StatCallback 
AsyncCallback.StringCallback 
AsyncCallback.VoidCallback 
KeeperException.CodeDeprecatedDeprecated.
WatcherThis interface specifies the public interface an event handler class must + implement.
Watcher.EventThis interface defines the possible states an Event may represent
ZooDefs.Ids 
ZooDefs.OpCode 
ZooDefs.Perms 
+  + +

+ + + + + + + + + + + + + + + + + + + + + +
+Class Summary
ServerAdminClient 
ZooDefs 
ZooKeeperThis is the main class of ZooKeeper client library.
ZooKeeperMainThe command line client to ZooKeeper.
+  + +

+ + + + + + + + + + + + + + + + + + + + + + + + + +
+Enum Summary
CreateModeCreateMode value determines how the znode is created on ZooKeeper.
KeeperException.CodeCodes which represent the various KeeperException + types.
Watcher.Event.EventTypeEnumeration of types of events that may occur on the ZooKeeper
Watcher.Event.KeeperStateEnumeration of states the ZooKeeper may be at the event
ZooKeeper.States 
+  + +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Exception Summary
KeeperException 
KeeperException.APIErrorException 
KeeperException.AuthFailedException 
KeeperException.BadArgumentsException 
KeeperException.BadVersionException 
KeeperException.ConnectionLossException 
KeeperException.DataInconsistencyException 
KeeperException.InvalidACLException 
KeeperException.InvalidCallbackException 
KeeperException.MarshallingErrorException 
KeeperException.NoAuthException 
KeeperException.NoChildrenForEphemeralsException 
KeeperException.NodeExistsException 
KeeperException.NoNodeException 
KeeperException.NotEmptyException 
KeeperException.OperationTimeoutException 
KeeperException.RuntimeInconsistencyException 
KeeperException.SessionExpiredException 
KeeperException.SessionMovedException 
KeeperException.SystemErrorException 
KeeperException.UnimplementedException 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 The Apache Software Foundation + + Added: zookeeper/site/trunk/content/doc/r3.3.5/api/org/apache/zookeeper/package-tree.html URL: http://svn.apache.org/viewvc/zookeeper/site/trunk/content/doc/r3.3.5/api/org/apache/zookeeper/package-tree.html?rev=1303295&view=auto ============================================================================== --- zookeeper/site/trunk/content/doc/r3.3.5/api/org/apache/zookeeper/package-tree.html (added) +++ zookeeper/site/trunk/content/doc/r3.3.5/api/org/apache/zookeeper/package-tree.html Wed Mar 21 06:13:26 2012 @@ -0,0 +1,178 @@ + + + + + + +org.apache.zookeeper Class Hierarchy (ZooKeeper 3.3.5 API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package org.apache.zookeeper +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +

+Interface Hierarchy +

+ +

+Enum Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 The Apache Software Foundation + + Added: zookeeper/site/trunk/content/doc/r3.3.5/api/org/apache/zookeeper/package-use.html URL: http://svn.apache.org/viewvc/zookeeper/site/trunk/content/doc/r3.3.5/api/org/apache/zookeeper/package-use.html?rev=1303295&view=auto ============================================================================== --- zookeeper/site/trunk/content/doc/r3.3.5/api/org/apache/zookeeper/package-use.html (added) +++ zookeeper/site/trunk/content/doc/r3.3.5/api/org/apache/zookeeper/package-use.html Wed Mar 21 06:13:26 2012 @@ -0,0 +1,268 @@ + + + + + + +Uses of Package org.apache.zookeeper (ZooKeeper 3.3.5 API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Package
org.apache.zookeeper

+
+ + + + + + + + + +
+Packages that use org.apache.zookeeper
org.apache.zookeeper  
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Classes in org.apache.zookeeper used by org.apache.zookeeper
AsyncCallback + +
+           
AsyncCallback.ACLCallback + +
+           
AsyncCallback.Children2Callback + +
+           
AsyncCallback.ChildrenCallback + +
+           
AsyncCallback.DataCallback + +
+           
AsyncCallback.StatCallback + +
+           
AsyncCallback.StringCallback + +
+           
AsyncCallback.VoidCallback + +
+           
CreateMode + +
+          CreateMode value determines how the znode is created on ZooKeeper.
KeeperException + +
+           
KeeperException.Code + +
+          Codes which represent the various KeeperException + types.
KeeperException.CodeDeprecated + +
+          Deprecated. 
Watcher + +
+          This interface specifies the public interface an event handler class must + implement.
Watcher.Event.EventType + +
+          Enumeration of types of events that may occur on the ZooKeeper
Watcher.Event.KeeperState + +
+          Enumeration of states the ZooKeeper may be at the event
ZooKeeper + +
+          This is the main class of ZooKeeper client library.
ZooKeeper.States + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 The Apache Software Foundation + + Added: zookeeper/site/trunk/content/doc/r3.3.5/api/org/apache/zookeeper/server/LogFormatter.html URL: http://svn.apache.org/viewvc/zookeeper/site/trunk/content/doc/r3.3.5/api/org/apache/zookeeper/server/LogFormatter.html?rev=1303295&view=auto ============================================================================== --- zookeeper/site/trunk/content/doc/r3.3.5/api/org/apache/zookeeper/server/LogFormatter.html (added) +++ zookeeper/site/trunk/content/doc/r3.3.5/api/org/apache/zookeeper/server/LogFormatter.html Wed Mar 21 06:13:26 2012 @@ -0,0 +1,255 @@ + + + + + + +LogFormatter (ZooKeeper 3.3.5 API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.zookeeper.server +
+Class LogFormatter

+
+java.lang.Object
+  extended by org.apache.zookeeper.server.LogFormatter
+
+
+
+
public class LogFormatter
extends Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
LogFormatter() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+static voidmain(String[] args) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+LogFormatter

+
+public LogFormatter()
+
+
+ + + + + + + + +
+Method Detail
+ +

+main

+
+public static void main(String[] args)
+                 throws Exception
+
+
+
Parameters:
args - +
Throws: +
Exception
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 The Apache Software Foundation + + Added: zookeeper/site/trunk/content/doc/r3.3.5/api/org/apache/zookeeper/server/PurgeTxnLog.html URL: http://svn.apache.org/viewvc/zookeeper/site/trunk/content/doc/r3.3.5/api/org/apache/zookeeper/server/PurgeTxnLog.html?rev=1303295&view=auto ============================================================================== --- zookeeper/site/trunk/content/doc/r3.3.5/api/org/apache/zookeeper/server/PurgeTxnLog.html (added) +++ zookeeper/site/trunk/content/doc/r3.3.5/api/org/apache/zookeeper/server/PurgeTxnLog.html Wed Mar 21 06:13:26 2012 @@ -0,0 +1,296 @@ + + + + + + +PurgeTxnLog (ZooKeeper 3.3.5 API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.zookeeper.server +
+Class PurgeTxnLog

+
+java.lang.Object
+  extended by org.apache.zookeeper.server.PurgeTxnLog
+
+
+
+
public class PurgeTxnLog
extends Object
+ + +

+this class is used to clean up the + snapshot and data log dir's. This is usually + run as a cronjob on the zookeeper server machine. + Invocation of this class will clean up the datalogdir + files and snapdir files keeping the last "-n" snapshot files + and the corresponding logs. +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
PurgeTxnLog() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+static voidmain(String[] args) + +
+           
+static voidpurge(File dataDir, + File snapDir, + int num) + +
+          purges the snapshot and logs keeping the last num snapshots + and the corresponding logs.
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+PurgeTxnLog

+
+public PurgeTxnLog()
+
+
+ + + + + + + + +
+Method Detail
+ +

+purge

+
+public static void purge(File dataDir,
+                         File snapDir,
+                         int num)
+                  throws IOException
+
+
purges the snapshot and logs keeping the last num snapshots + and the corresponding logs. +

+

+
Parameters:
dataDir - the dir that has the logs
snapDir - the dir that has the snapshots
num - the number of snapshots to keep +
Throws: +
IOException
+
+
+
+ +

+main

+
+public static void main(String[] args)
+                 throws IOException
+
+
+
Parameters:
args - PurgeTxnLog dataLogDir + dataLogDir -- txn log directory + -n num (number of snapshots to keep) +
Throws: +
IOException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 The Apache Software Foundation + + Added: zookeeper/site/trunk/content/doc/r3.3.5/api/org/apache/zookeeper/server/ZooKeeperServerMain.html URL: http://svn.apache.org/viewvc/zookeeper/site/trunk/content/doc/r3.3.5/api/org/apache/zookeeper/server/ZooKeeperServerMain.html?rev=1303295&view=auto ============================================================================== --- zookeeper/site/trunk/content/doc/r3.3.5/api/org/apache/zookeeper/server/ZooKeeperServerMain.html (added) +++ zookeeper/site/trunk/content/doc/r3.3.5/api/org/apache/zookeeper/server/ZooKeeperServerMain.html Wed Mar 21 06:13:26 2012 @@ -0,0 +1,280 @@ + + + + + + +ZooKeeperServerMain (ZooKeeper 3.3.5 API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.zookeeper.server +
+Class ZooKeeperServerMain

+
+java.lang.Object
+  extended by org.apache.zookeeper.server.ZooKeeperServerMain
+
+
+
+
public class ZooKeeperServerMain
extends Object
+ + +

+This class starts and runs a standalone ZooKeeperServer. +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
ZooKeeperServerMain() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+static voidmain(String[] args) + +
+           
+ voidrunFromConfig(org.apache.zookeeper.server.ServerConfig config) + +
+          Run from a ServerConfig.
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ZooKeeperServerMain

+
+public ZooKeeperServerMain()
+
+
+ + + + + + + + +
+Method Detail
+ +

+main

+
+public static void main(String[] args)
+
+
+
+
+
+
+ +

+runFromConfig

+
+public void runFromConfig(org.apache.zookeeper.server.ServerConfig config)
+                   throws IOException
+
+
Run from a ServerConfig. +

+

+
Parameters:
config - ServerConfig to use. +
Throws: +
IOException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 The Apache Software Foundation + +