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 60DD9100BE for ; Thu, 3 Sep 2015 05:08:01 +0000 (UTC) Received: (qmail 53279 invoked by uid 500); 3 Sep 2015 05:08:01 -0000 Delivered-To: apmail-zookeeper-commits-archive@zookeeper.apache.org Received: (qmail 53145 invoked by uid 500); 3 Sep 2015 05:08:01 -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 49936 invoked by uid 99); 3 Sep 2015 05:07:58 -0000 Received: from eris.apache.org (HELO hades.apache.org) (140.211.11.105) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Sep 2015 05:07:58 +0000 Received: from hades.apache.org (localhost [127.0.0.1]) by hades.apache.org (ASF Mail Server at hades.apache.org) with ESMTP id 05355AC01A5 for ; Thu, 3 Sep 2015 05:07:58 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1700930 [27/50] - in /zookeeper/site/trunk: content/ content/doc/r3.5.1-alpha/ content/doc/r3.5.1-alpha/api/ content/doc/r3.5.1-alpha/api/org/ content/doc/r3.5.1-alpha/api/org/apache/ content/doc/r3.5.1-alpha/api/org/apache/zookeeper/ cont... Date: Thu, 03 Sep 2015 05:07:52 -0000 To: commits@zookeeper.apache.org From: michim@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20150903050758.05355AC01A5@hades.apache.org> Added: zookeeper/site/trunk/content/doc/r3.5.1-alpha/api/org/apache/zookeeper/package-frame.html URL: http://svn.apache.org/viewvc/zookeeper/site/trunk/content/doc/r3.5.1-alpha/api/org/apache/zookeeper/package-frame.html?rev=1700930&view=auto ============================================================================== --- zookeeper/site/trunk/content/doc/r3.5.1-alpha/api/org/apache/zookeeper/package-frame.html (added) +++ zookeeper/site/trunk/content/doc/r3.5.1-alpha/api/org/apache/zookeeper/package-frame.html Thu Sep 3 05:07:48 2015 @@ -0,0 +1,82 @@ + + + + + +org.apache.zookeeper (ZooKeeper 3.5.1-alpha API) + + + + + +

org.apache.zookeeper

+
+

Interfaces

+ +

Classes

+ +

Enums

+ +

Exceptions

+ +
+ + Added: zookeeper/site/trunk/content/doc/r3.5.1-alpha/api/org/apache/zookeeper/package-summary.html URL: http://svn.apache.org/viewvc/zookeeper/site/trunk/content/doc/r3.5.1-alpha/api/org/apache/zookeeper/package-summary.html?rev=1700930&view=auto ============================================================================== --- zookeeper/site/trunk/content/doc/r3.5.1-alpha/api/org/apache/zookeeper/package-summary.html (added) +++ zookeeper/site/trunk/content/doc/r3.5.1-alpha/api/org/apache/zookeeper/package-summary.html Thu Sep 3 05:07:48 2015 @@ -0,0 +1,432 @@ + + + + + +org.apache.zookeeper (ZooKeeper 3.5.1-alpha API) + + + + + + + + + + + +
+

Package org.apache.zookeeper

+
+
+ +
+ + + + +

Copyright © 2015 The Apache Software Foundation

+ + Added: zookeeper/site/trunk/content/doc/r3.5.1-alpha/api/org/apache/zookeeper/package-tree.html URL: http://svn.apache.org/viewvc/zookeeper/site/trunk/content/doc/r3.5.1-alpha/api/org/apache/zookeeper/package-tree.html?rev=1700930&view=auto ============================================================================== --- zookeeper/site/trunk/content/doc/r3.5.1-alpha/api/org/apache/zookeeper/package-tree.html (added) +++ zookeeper/site/trunk/content/doc/r3.5.1-alpha/api/org/apache/zookeeper/package-tree.html Thu Sep 3 05:07:48 2015 @@ -0,0 +1,219 @@ + + + + + +org.apache.zookeeper Class Hierarchy (ZooKeeper 3.5.1-alpha API) + + + + + + + + + + + +
+

Hierarchy For Package org.apache.zookeeper

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +

Interface Hierarchy

+ +

Enum Hierarchy

+ +
+ + + + +

Copyright © 2015 The Apache Software Foundation

+ + Added: zookeeper/site/trunk/content/doc/r3.5.1-alpha/api/org/apache/zookeeper/package-use.html URL: http://svn.apache.org/viewvc/zookeeper/site/trunk/content/doc/r3.5.1-alpha/api/org/apache/zookeeper/package-use.html?rev=1700930&view=auto ============================================================================== --- zookeeper/site/trunk/content/doc/r3.5.1-alpha/api/org/apache/zookeeper/package-use.html (added) +++ zookeeper/site/trunk/content/doc/r3.5.1-alpha/api/org/apache/zookeeper/package-use.html Thu Sep 3 05:07:48 2015 @@ -0,0 +1,260 @@ + + + + + +Uses of Package org.apache.zookeeper (ZooKeeper 3.5.1-alpha API) + + + + + + + + + + + +
+

Uses of Package
org.apache.zookeeper

+
+
+ +
+ + + + +

Copyright © 2015 The Apache Software Foundation

+ + Added: zookeeper/site/trunk/content/doc/r3.5.1-alpha/api/org/apache/zookeeper/server/LogFormatter.html URL: http://svn.apache.org/viewvc/zookeeper/site/trunk/content/doc/r3.5.1-alpha/api/org/apache/zookeeper/server/LogFormatter.html?rev=1700930&view=auto ============================================================================== --- zookeeper/site/trunk/content/doc/r3.5.1-alpha/api/org/apache/zookeeper/server/LogFormatter.html (added) +++ zookeeper/site/trunk/content/doc/r3.5.1-alpha/api/org/apache/zookeeper/server/LogFormatter.html Thu Sep 3 05:07:48 2015 @@ -0,0 +1,279 @@ + + + + + +LogFormatter (ZooKeeper 3.5.1-alpha API) + + + + + + + + + + + + +
+
org.apache.zookeeper.server
+

Class LogFormatter

+
+
+ +
+
    +
  • +
    +
    +
    public class LogFormatter
    +extends Object
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        LogFormatter

        +
        public LogFormatter()
        +
      • +
      +
    • +
    + + +
  • +
+
+
+ + + + + +

Copyright © 2015 The Apache Software Foundation

+ + Added: zookeeper/site/trunk/content/doc/r3.5.1-alpha/api/org/apache/zookeeper/server/PurgeTxnLog.html URL: http://svn.apache.org/viewvc/zookeeper/site/trunk/content/doc/r3.5.1-alpha/api/org/apache/zookeeper/server/PurgeTxnLog.html?rev=1700930&view=auto ============================================================================== --- zookeeper/site/trunk/content/doc/r3.5.1-alpha/api/org/apache/zookeeper/server/PurgeTxnLog.html (added) +++ zookeeper/site/trunk/content/doc/r3.5.1-alpha/api/org/apache/zookeeper/server/PurgeTxnLog.html Thu Sep 3 05:07:48 2015 @@ -0,0 +1,320 @@ + + + + + +PurgeTxnLog (ZooKeeper 3.5.1-alpha API) + + + + + + + + + + + + +
+
org.apache.zookeeper.server
+

Class 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 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. If logs are rolling or a new snapshot is created + during this process, these newest N snapshots or any data logs will be + excluded from current purging cycle.
        +
        +
        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 © 2015 The Apache Software Foundation

+ +