Re: [VOTE] Release 0.4.0, release candidate #1
+1 binding. Build and smoke-test both passed on my local machine. Thanks a lot for the work. On Mon, Jan 9, 2017 at 12:04 PM, Sijie Guowrote: > Hi all, > > Please review and vote on the release candidate #1 for the version 0.4.0, > as follows: > > [ ] +1, Approve the release > [ ] -1, Do not approve the release (please provide specific comments) > > The complete staging area is available for your review, which includes: > > * JIRA release notes [1], > * the official Apache source release to be deployed to dist.apache.org > [2], > * all artifacts to be deployed to the Maven Central Repository [3], > * source code tag "v0.4.0-RC1" [4], > * website pull request listing the release [5] and publishing the API > reference manual. > > A simple instruction for validation the source and binary packages. > > - source package: run "*./scripts/integration/smoketest.sh*" after > building > the package with "*mvn clean apache-rat:check package findbugs:check > -DskipTests*" > > The vote will be open for at least 72 hours. It is adopted by majority > approval, with at least 3 PPMC affirmative votes. > > Thanks, > Sijie > > [1] > https://issues.apache.org/jira/secure/ReleaseNote.jspa? > projectId=12320620=12337980 > [2] > https://dist.apache.org/repos/dist/dev/incubator/distributedlog/0.4.0- > incubating/ > [3] > https://repository.apache.org/content/repositories/ > orgapachedistributedlog-1001/ > [4] > https://github.com/apache/incubator-distributedlog/tree/ > v0.4.0-incubating-RC1 > [5] https://github.com/apache/incubator-distributedlog/pull/109 >
[GitHub] incubator-distributedlog pull request #51: (WIP) DL-81: Build the distribute...
Github user sijie commented on a diff in the pull request: https://github.com/apache/incubator-distributedlog/pull/51#discussion_r95101716 --- Diff: website/community/release_guide.md --- @@ -0,0 +1,507 @@ +--- +layout: default +title: "DistributedLog Release Guide" +permalink: /community/release-guide/ +--- + +# Apache DistributedLog Release Guide + +* TOC +{:toc} + +This page documents the procedure to make an Apache DistributedLog release. Creit to the [Beam](http://distributedlog.incubator.apache.org/contribute/release-guide/) project. We've borrow liberally from their documentation. + +## Introduction + +The Apache DistributedLog project periodically declares and publishes releases. A release is one or more packages of the project artifact(s) that are approved for general public distribution and use. They may come with various degrees of caveat regarding their perceived quality and potential for change, such as âalphaâ, âbetaâ, âincubatingâ, âstableâ, etc. + +The DistributedLog community treats releases with great importance. They are a public face of the project and most users interact with the project only through the releases. Releases are signed off by the entire DistributedLog community in a public vote. + +Each release is executed by a *Release Manager*, who is selected among the [DistributedLog committers]({{ site.baseurl }}/community/team). This document describes the process that the Release Manager follows to perform a release. Any changes to this process should be discussed and adopted on the [dev@ mailing list]({{ site.baseurl }}/community/#mailing-lists). + +Please remember that publishing software has legal consequences. This guide complements the foundation-wide [Product Release Policy](http://www.apache.org/dev/release.html) and [Release Distribution Policy](http://www.apache.org/dev/release-distribution). + +## Overview + +![Alt text]({{ "/images/release-guide-1.png" | prepend: site.baseurl }} "Release Process"){:width="100%"} + +The release process consists of several steps: + +1. Decide to release +1. Prepare for the release +1. Build a release candidate +1. Vote on the release candidate +1. If necessary, fix any issues and go back to step 3. +1. Finalize the release +1. Promote the release + +** + +## Decide to release + +Deciding to release and selecting a Release Manager is the first step of the release process. This is a consensus-based decision of the entire community. + +Anybody can propose a release on the dev@ mailing list, giving a solid argument and nominating a committer as the Release Manager (including themselves). Thereâs no formal process, no vote requirements, and no timing requirements. Any objections should be resolved by consensus before starting the release. + +In general, the community prefers to have a rotating set of 3-5 Release Managers. Keeping a small core set of managers allows enough people to build expertise in this area and improve processes over time, without Release Managers needing to re-learn the processes for each release. That said, if you are a committer interested in serving the community in this way, please reach out to the community on the dev@ mailing list. + +### Checklist to proceed to the next step + +1. Community agrees to release +1. Community selects a Release Manager + +** + +## Prepare for the release + +Before your first release, you should perform one-time configuration steps. This will set up your security keys for signing the release and access to various release repositories. + +To prepare for each release, you should audit the project status in the JIRA issue tracker, and do necessary bookkeeping. Finally, you should create a release branch from which individual release candidates will be built. + +### One-time setup instructions + + GPG Key + +You need to have a GPG key to sign the release artifacts. Please be aware of the ASF-wide [release signing guidelines](https://www.apache.org/dev/release-signing.html). If you donât have a GPG key associated with your Apache account, please create one according to the guidelines. + +Determine your Apache GPG Key and Key ID, as follows: + +gpg --list-keys + +This will list your GPG keys. One of these should reflect your Apache account, for example: + +-- +pub 2048R/845E6689 2016-02-23 +uid Nomen Nescio+sub 2048R/BA4D50BE 2016-02-23 + +Here, the key ID is the 8-digit hex string in the `pub` line: `845E6689`. + +Now, add your Apache GPG key to the DistributedLogâs `KEYS`
[GitHub] incubator-distributedlog pull request #51: (WIP) DL-81: Build the distribute...
Github user sijie commented on a diff in the pull request: https://github.com/apache/incubator-distributedlog/pull/51#discussion_r95101711 --- Diff: website/community/release_guide.md --- @@ -0,0 +1,507 @@ +--- +layout: default +title: "DistributedLog Release Guide" +permalink: /community/release-guide/ +--- + +# Apache DistributedLog Release Guide + +* TOC +{:toc} + +This page documents the procedure to make an Apache DistributedLog release. Creit to the [Beam](http://distributedlog.incubator.apache.org/contribute/release-guide/) project. We've borrow liberally from their documentation. + +## Introduction + +The Apache DistributedLog project periodically declares and publishes releases. A release is one or more packages of the project artifact(s) that are approved for general public distribution and use. They may come with various degrees of caveat regarding their perceived quality and potential for change, such as âalphaâ, âbetaâ, âincubatingâ, âstableâ, etc. + +The DistributedLog community treats releases with great importance. They are a public face of the project and most users interact with the project only through the releases. Releases are signed off by the entire DistributedLog community in a public vote. + +Each release is executed by a *Release Manager*, who is selected among the [DistributedLog committers]({{ site.baseurl }}/community/team). This document describes the process that the Release Manager follows to perform a release. Any changes to this process should be discussed and adopted on the [dev@ mailing list]({{ site.baseurl }}/community/#mailing-lists). + +Please remember that publishing software has legal consequences. This guide complements the foundation-wide [Product Release Policy](http://www.apache.org/dev/release.html) and [Release Distribution Policy](http://www.apache.org/dev/release-distribution). + +## Overview + +![Alt text]({{ "/images/release-guide-1.png" | prepend: site.baseurl }} "Release Process"){:width="100%"} + +The release process consists of several steps: + +1. Decide to release +1. Prepare for the release +1. Build a release candidate +1. Vote on the release candidate +1. If necessary, fix any issues and go back to step 3. +1. Finalize the release +1. Promote the release + +** + +## Decide to release + +Deciding to release and selecting a Release Manager is the first step of the release process. This is a consensus-based decision of the entire community. + +Anybody can propose a release on the dev@ mailing list, giving a solid argument and nominating a committer as the Release Manager (including themselves). Thereâs no formal process, no vote requirements, and no timing requirements. Any objections should be resolved by consensus before starting the release. + +In general, the community prefers to have a rotating set of 3-5 Release Managers. Keeping a small core set of managers allows enough people to build expertise in this area and improve processes over time, without Release Managers needing to re-learn the processes for each release. That said, if you are a committer interested in serving the community in this way, please reach out to the community on the dev@ mailing list. + +### Checklist to proceed to the next step + +1. Community agrees to release +1. Community selects a Release Manager + +** + +## Prepare for the release + +Before your first release, you should perform one-time configuration steps. This will set up your security keys for signing the release and access to various release repositories. + +To prepare for each release, you should audit the project status in the JIRA issue tracker, and do necessary bookkeeping. Finally, you should create a release branch from which individual release candidates will be built. + +### One-time setup instructions + + GPG Key + +You need to have a GPG key to sign the release artifacts. Please be aware of the ASF-wide [release signing guidelines](https://www.apache.org/dev/release-signing.html). If you donât have a GPG key associated with your Apache account, please create one according to the guidelines. + +Determine your Apache GPG Key and Key ID, as follows: + +gpg --list-keys + +This will list your GPG keys. One of these should reflect your Apache account, for example: + +-- +pub 2048R/845E6689 2016-02-23 +uid Nomen Nescio+sub 2048R/BA4D50BE 2016-02-23 + +Here, the key ID is the 8-digit hex string in the `pub` line: `845E6689`. + +Now, add your Apache GPG key to the DistributedLogâs `KEYS`
[GitHub] incubator-distributedlog pull request #51: (WIP) DL-81: Build the distribute...
Github user sijie commented on a diff in the pull request: https://github.com/apache/incubator-distributedlog/pull/51#discussion_r95101702 --- Diff: website/community/release_guide.md --- @@ -0,0 +1,507 @@ +--- +layout: default +title: "DistributedLog Release Guide" +permalink: /community/release-guide/ +--- + +# Apache DistributedLog Release Guide + +* TOC +{:toc} + +This page documents the procedure to make an Apache DistributedLog release. Creit to the [Beam](http://distributedlog.incubator.apache.org/contribute/release-guide/) project. We've borrow liberally from their documentation. --- End diff -- done --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
[GitHub] incubator-distributedlog pull request #51: (WIP) DL-81: Build the distribute...
Github user sijie commented on a diff in the pull request: https://github.com/apache/incubator-distributedlog/pull/51#discussion_r95101707 --- Diff: website/community/release_guide.md --- @@ -0,0 +1,507 @@ +--- +layout: default +title: "DistributedLog Release Guide" +permalink: /community/release-guide/ +--- + +# Apache DistributedLog Release Guide + +* TOC +{:toc} + +This page documents the procedure to make an Apache DistributedLog release. Creit to the [Beam](http://distributedlog.incubator.apache.org/contribute/release-guide/) project. We've borrow liberally from their documentation. + +## Introduction + +The Apache DistributedLog project periodically declares and publishes releases. A release is one or more packages of the project artifact(s) that are approved for general public distribution and use. They may come with various degrees of caveat regarding their perceived quality and potential for change, such as âalphaâ, âbetaâ, âincubatingâ, âstableâ, etc. + +The DistributedLog community treats releases with great importance. They are a public face of the project and most users interact with the project only through the releases. Releases are signed off by the entire DistributedLog community in a public vote. + +Each release is executed by a *Release Manager*, who is selected among the [DistributedLog committers]({{ site.baseurl }}/community/team). This document describes the process that the Release Manager follows to perform a release. Any changes to this process should be discussed and adopted on the [dev@ mailing list]({{ site.baseurl }}/community/#mailing-lists). + +Please remember that publishing software has legal consequences. This guide complements the foundation-wide [Product Release Policy](http://www.apache.org/dev/release.html) and [Release Distribution Policy](http://www.apache.org/dev/release-distribution). + +## Overview + +![Alt text]({{ "/images/release-guide-1.png" | prepend: site.baseurl }} "Release Process"){:width="100%"} + +The release process consists of several steps: + +1. Decide to release +1. Prepare for the release +1. Build a release candidate +1. Vote on the release candidate +1. If necessary, fix any issues and go back to step 3. +1. Finalize the release +1. Promote the release + +** + +## Decide to release + +Deciding to release and selecting a Release Manager is the first step of the release process. This is a consensus-based decision of the entire community. + +Anybody can propose a release on the dev@ mailing list, giving a solid argument and nominating a committer as the Release Manager (including themselves). Thereâs no formal process, no vote requirements, and no timing requirements. Any objections should be resolved by consensus before starting the release. + +In general, the community prefers to have a rotating set of 3-5 Release Managers. Keeping a small core set of managers allows enough people to build expertise in this area and improve processes over time, without Release Managers needing to re-learn the processes for each release. That said, if you are a committer interested in serving the community in this way, please reach out to the community on the dev@ mailing list. + +### Checklist to proceed to the next step + +1. Community agrees to release --- End diff -- done --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
[GitHub] incubator-distributedlog pull request #51: (WIP) DL-81: Build the distribute...
Github user sijie commented on a diff in the pull request: https://github.com/apache/incubator-distributedlog/pull/51#discussion_r95101705 --- Diff: website/community/release_guide.md --- @@ -0,0 +1,507 @@ +--- +layout: default +title: "DistributedLog Release Guide" +permalink: /community/release-guide/ +--- + +# Apache DistributedLog Release Guide + +* TOC +{:toc} + +This page documents the procedure to make an Apache DistributedLog release. Creit to the [Beam](http://distributedlog.incubator.apache.org/contribute/release-guide/) project. We've borrow liberally from their documentation. + +## Introduction + +The Apache DistributedLog project periodically declares and publishes releases. A release is one or more packages of the project artifact(s) that are approved for general public distribution and use. They may come with various degrees of caveat regarding their perceived quality and potential for change, such as âalphaâ, âbetaâ, âincubatingâ, âstableâ, etc. + +The DistributedLog community treats releases with great importance. They are a public face of the project and most users interact with the project only through the releases. Releases are signed off by the entire DistributedLog community in a public vote. + +Each release is executed by a *Release Manager*, who is selected among the [DistributedLog committers]({{ site.baseurl }}/community/team). This document describes the process that the Release Manager follows to perform a release. Any changes to this process should be discussed and adopted on the [dev@ mailing list]({{ site.baseurl }}/community/#mailing-lists). + +Please remember that publishing software has legal consequences. This guide complements the foundation-wide [Product Release Policy](http://www.apache.org/dev/release.html) and [Release Distribution Policy](http://www.apache.org/dev/release-distribution). + +## Overview + +![Alt text]({{ "/images/release-guide-1.png" | prepend: site.baseurl }} "Release Process"){:width="100%"} + +The release process consists of several steps: + +1. Decide to release +1. Prepare for the release --- End diff -- done --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
[GitHub] incubator-distributedlog pull request #51: (WIP) DL-81: Build the distribute...
Github user sijie commented on a diff in the pull request: https://github.com/apache/incubator-distributedlog/pull/51#discussion_r95101701 --- Diff: website/community/release_guide.md --- @@ -0,0 +1,507 @@ +--- +layout: default +title: "DistributedLog Release Guide" +permalink: /community/release-guide/ +--- + +# Apache DistributedLog Release Guide + +* TOC +{:toc} + +This page documents the procedure to make an Apache DistributedLog release. Creit to the [Beam](http://distributedlog.incubator.apache.org/contribute/release-guide/) project. We've borrow liberally from their documentation. --- End diff -- fixed --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
[VOTE] Release 0.4.0, release candidate #1
Hi all, Please review and vote on the release candidate #1 for the version 0.4.0, as follows: [ ] +1, Approve the release [ ] -1, Do not approve the release (please provide specific comments) The complete staging area is available for your review, which includes: * JIRA release notes [1], * the official Apache source release to be deployed to dist.apache.org [2], * all artifacts to be deployed to the Maven Central Repository [3], * source code tag "v0.4.0-RC1" [4], * website pull request listing the release [5] and publishing the API reference manual. A simple instruction for validation the source and binary packages. - source package: run "*./scripts/integration/smoketest.sh*" after building the package with "*mvn clean apache-rat:check package findbugs:check -DskipTests*" The vote will be open for at least 72 hours. It is adopted by majority approval, with at least 3 PPMC affirmative votes. Thanks, Sijie [1] https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12320620=12337980 [2] https://dist.apache.org/repos/dist/dev/incubator/distributedlog/0.4.0-incubating/ [3] https://repository.apache.org/content/repositories/orgapachedistributedlog-1001/ [4] https://github.com/apache/incubator-distributedlog/tree/v0.4.0-incubating-RC1 [5] https://github.com/apache/incubator-distributedlog/pull/109
[11/51] [partial] incubator-distributedlog git commit: [release 0.4.0-incubating] Add Java API docs
http://git-wip-us.apache.org/repos/asf/incubator-distributedlog/blob/1e6843e5/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/routing/TwitterServerSetWatcher.html -- diff --git a/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/routing/TwitterServerSetWatcher.html b/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/routing/TwitterServerSetWatcher.html new file mode 100644 index 000..6478a0a --- /dev/null +++ b/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/routing/TwitterServerSetWatcher.html @@ -0,0 +1,321 @@ +http://www.w3.org/TR/html4/loose.dtd;> + + + + + +TwitterServerSetWatcher (Apache DistributedLog for Java, version 0.4.0-incubating) + + + + + + +var methods = {"i0":10}; +var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; +var altColor = "altColor"; +var rowColor = "rowColor"; +var tableTab = "tableTab"; +var activeTableTab = "activeTableTab"; + + +JavaScript is disabled on your browser. + + + + + +Skip navigation links + + + + +Overview +Package +Class +Use +Tree +Deprecated +Index +Help + + + + +PrevClass +NextClass + + +Frames +NoFrames + + +AllClasses + + + + + + + +Summary: +Nested| +Field| +Constr| +Method + + +Detail: +Field| +Constr| +Method + + + + + + + + +org.apache.distributedlog.client.routing +Class TwitterServerSetWatcher + + + +http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">java.lang.Object + + +org.apache.distributedlog.client.routing.TwitterServerSetWatcher + + + + + + + +All Implemented Interfaces: +ServerSetWatcher + + + +public class TwitterServerSetWatcher +extends http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">Object +implements ServerSetWatcher +Twitter ServerSet based watcher. + + + + + + + + + + + +Nested Class Summary + + + + +Nested classes/interfaces inherited from interfaceorg.apache.distributedlog.client.routing.ServerSetWatcher +ServerSetWatcher.MonitorException, ServerSetWatcher.ServerSetMonitor + + + + + + + + +Constructor Summary + +Constructors + +Constructor and Description + + +TwitterServerSetWatcher(com.twitter.common.zookeeper.ServerSetserverSet, + booleanresolvedFromName) +Construct a ServerSet based watcher. + + + + + + + + + + +Method Summary + +All MethodsInstance MethodsConcrete Methods + +Modifier and Type +Method and Description + + +void +watch(ServerSetWatcher.ServerSetMonitormonitor) +Registers a monitor to receive change notices for this server set as long as this jvm process is alive. + + + + + + + +Methods inherited from classjava.lang.http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">Object +http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone--; title="class or interface in java.lang">clone, http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-; title="class or interface in java.lang">equals, http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize--; title="class or interface in java.lang">finalize, http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass--; title="class or interface in java.lang">getClass, http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode--; title="class or interface in java.lang">hashCode, http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify--; title="class or interface in java.lang">notify, http://download.oracle.com /javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll, http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString--; title="class or interface in java.lang">toString, http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait--; title="class or interface in java.lang">wait, http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait-long-; title="class or interface in java.lang">wait,
[29/51] [partial] incubator-distributedlog git commit: [release 0.4.0-incubating] Add Java API docs
http://git-wip-us.apache.org/repos/asf/incubator-distributedlog/blob/1e6843e5/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/class-use/DistributedLogConfiguration.html -- diff --git a/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/class-use/DistributedLogConfiguration.html b/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/class-use/DistributedLogConfiguration.html new file mode 100644 index 000..f7115b1 --- /dev/null +++ b/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/class-use/DistributedLogConfiguration.html @@ -0,0 +1,1145 @@ +http://www.w3.org/TR/html4/loose.dtd;> + + + + + +Uses of Class org.apache.distributedlog.DistributedLogConfiguration (Apache DistributedLog for Java, version 0.4.0-incubating) + + + + + + + + +JavaScript is disabled on your browser. + + + + + +Skip navigation links + + + + +Overview +Package +Class +Use +Tree +Deprecated +Index +Help + + + + +Prev +Next + + +Frames +NoFrames + + +AllClasses + + + + + + + + + + +Uses of Classorg.apache.distributedlog.DistributedLogConfiguration + + + + + +Packages that use DistributedLogConfiguration + +Package +Description + + + +org.apache.distributedlog + +Protocol & Core of DistributedLog + + + +org.apache.distributedlog.feature + +Feature & FeatureProvider for distributedlog + + + +org.apache.distributedlog.logsegment + +Log Segment Management + + + +org.apache.distributedlog.metadata + +Metadata management for distributedlog. + + + +org.apache.distributedlog.namespace + +DistributedLog Namespace + + + +org.apache.distributedlog.service + +DistributedLog Proxy Service. + + + + + + + + + + +Uses of DistributedLogConfiguration in org.apache.distributedlog + +Methods in org.apache.distributedlog that return DistributedLogConfiguration + +Modifier and Type +Method and Description + + + +DistributedLogConfiguration +DistributedLogConfiguration.setAckQuorumSize(intquorumSize) +Set ack quorum size of each log segment (ledger) will use. + + + +DistributedLogConfiguration +DistributedLogConfiguration.setAlertWhenPositioningOnTruncated(booleanalertWhenPositioningOnTruncated) +Set if we should alert when reader is positioned on a truncated segment + + + +DistributedLogConfiguration +DistributedLogConfiguration.setBKClientNumberIOThreads(intnumThreads) +Set BK client number of i/o threads used by netty. + + + +DistributedLogConfiguration +DistributedLogConfiguration.setBKClientNumberWorkerThreads(intnumThreads) +Deprecated. + + + +DistributedLogConfiguration +DistributedLogConfiguration.setBKClientReadTimeout(intreadTimeout) +Deprecated. + + + +DistributedLogConfiguration +DistributedLogConfiguration.setBKClientWriteTimeout(intwriteTimeout) +Deprecated. + + + +DistributedLogConfiguration +DistributedLogConfiguration.setBKClientZKRequestRateLimit(doublerateLimit) +Set zookeeper access rate limit for zookeeper client used in bookkeeper client. + + + +DistributedLogConfiguration +DistributedLogConfiguration.setBKClientZKSessionTimeout(intsessionTimeout) +Set BK's zookeeper session timeout in seconds. + + + +DistributedLogConfiguration +DistributedLogConfiguration.setBKDigestPW(http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringbkDigestPW) +Set password used by bookkeeper client for digestion. + + + +DistributedLogConfiguration +DistributedLogConfiguration.setBkDNSResolverOverrides(http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">Stringoverrides) +Set mapping used to override the region mapping derived by the default resolver + + + +DistributedLogConfiguration +DistributedLogConfiguration.setCheckLogExistenceBackoffMaxMillis(longbackoffMillis) +Set the backoff max time to check log existence if the log doesn't exist. + + + +DistributedLogConfiguration +DistributedLogConfiguration.setCheckLogExistenceBackoffStartMillis(longbackoffMillis) +Set the backoff start time to check log existence if the log doesn't exist. + + + +DistributedLogConfiguration +DistributedLogConfiguration.setCompressionType(http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringcompressionType) +Set the compression type to use while sending data to bookkeeper. + + + +DistributedLogConfiguration
[27/51] [partial] incubator-distributedlog git commit: [release 0.4.0-incubating] Add Java API docs
http://git-wip-us.apache.org/repos/asf/incubator-distributedlog/blob/1e6843e5/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/class-use/LogRecord.Reader.html -- diff --git a/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/class-use/LogRecord.Reader.html b/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/class-use/LogRecord.Reader.html new file mode 100644 index 000..6d3641b --- /dev/null +++ b/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/class-use/LogRecord.Reader.html @@ -0,0 +1,126 @@ +http://www.w3.org/TR/html4/loose.dtd;> + + + + + +Uses of Class org.apache.distributedlog.LogRecord.Reader (Apache DistributedLog for Java, version 0.4.0-incubating) + + + + + + + + +JavaScript is disabled on your browser. + + + + + +Skip navigation links + + + + +Overview +Package +Class +Use +Tree +Deprecated +Index +Help + + + + +Prev +Next + + +Frames +NoFrames + + +AllClasses + + + + + + + + + + +Uses of Classorg.apache.distributedlog.LogRecord.Reader + +No usage of org.apache.distributedlog.LogRecord.Reader + + + + +Skip navigation links + + + + +Overview +Package +Class +Use +Tree +Deprecated +Index +Help + + + + +Prev +Next + + +Frames +NoFrames + + +AllClasses + + + + + + + + + +Copyright 2016-2017 http://www.apache.org/;>The Apache Software Foundation. All Rights Reserved. + + http://git-wip-us.apache.org/repos/asf/incubator-distributedlog/blob/1e6843e5/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/class-use/LogRecord.Writer.html -- diff --git a/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/class-use/LogRecord.Writer.html b/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/class-use/LogRecord.Writer.html new file mode 100644 index 000..753d063 --- /dev/null +++ b/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/class-use/LogRecord.Writer.html @@ -0,0 +1,126 @@ +http://www.w3.org/TR/html4/loose.dtd;> + + + + + +Uses of Class org.apache.distributedlog.LogRecord.Writer (Apache DistributedLog for Java, version 0.4.0-incubating) + + + + + + + + +JavaScript is disabled on your browser. + + + + + +Skip navigation links + + + + +Overview +Package +Class +Use +Tree +Deprecated +Index +Help + + + + +Prev +Next + + +Frames +NoFrames + + +AllClasses + + + + + + + + + + +Uses of Classorg.apache.distributedlog.LogRecord.Writer + +No usage of org.apache.distributedlog.LogRecord.Writer + + + + +Skip navigation links + + + + +Overview +Package +Class +Use +Tree +Deprecated +Index +Help + + + + +Prev +Next + + +Frames +NoFrames + + +AllClasses + + + + + + + + + +Copyright 2016-2017 http://www.apache.org/;>The Apache Software Foundation. All Rights Reserved. + + http://git-wip-us.apache.org/repos/asf/incubator-distributedlog/blob/1e6843e5/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/class-use/LogRecord.html -- diff --git a/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/class-use/LogRecord.html b/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/class-use/LogRecord.html new file mode 100644 index 000..8c7bbaf --- /dev/null +++ b/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/class-use/LogRecord.html @@ -0,0 +1,273 @@ +http://www.w3.org/TR/html4/loose.dtd;> + + + + + +Uses of Class
[35/51] [partial] incubator-distributedlog git commit: [release 0.4.0-incubating] Add Java API docs
http://git-wip-us.apache.org/repos/asf/incubator-distributedlog/blob/1e6843e5/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/LogWriter.html -- diff --git a/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/LogWriter.html b/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/LogWriter.html new file mode 100644 index 000..f9a5244 --- /dev/null +++ b/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/LogWriter.html @@ -0,0 +1,353 @@ +http://www.w3.org/TR/html4/loose.dtd;> + + + + + +LogWriter (Apache DistributedLog for Java, version 0.4.0-incubating) + + + + + + +var methods = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":38}; +var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],32:["t6","Deprecated Methods"]}; +var altColor = "altColor"; +var rowColor = "rowColor"; +var tableTab = "tableTab"; +var activeTableTab = "activeTableTab"; + + +JavaScript is disabled on your browser. + + + + + +Skip navigation links + + + + +Overview +Package +Class +Use +Tree +Deprecated +Index +Help + + + + +PrevClass +NextClass + + +Frames +NoFrames + + +AllClasses + + + + + + + +Summary: +Nested| +Field| +Constr| +Method + + +Detail: +Field| +Constr| +Method + + + + + + + + +org.apache.distributedlog +Interface LogWriter + + + + + + +All Superinterfaces: +Abortable, http://download.oracle.com/javase/6/docs/api/java/lang/AutoCloseable.html?is-external=true; title="class or interface in java.lang">AutoCloseable, http://download.oracle.com/javase/6/docs/api/java/io/Closeable.html?is-external=true; title="class or interface in java.io">Closeable + + + +public interface LogWriter +extends http://download.oracle.com/javase/6/docs/api/java/io/Closeable.html?is-external=true; title="class or interface in java.io">Closeable, Abortable + + + + + + + + + + + +Method Summary + +All MethodsInstance MethodsAbstract MethodsDeprecated Methods + +Modifier and Type +Method and Description + + +long +flushAndSync() +Flush and sync all data that is ready to be flush + setReadyToFlush() into underlying persistent store. + + + +void +markEndOfStream() +Flushes all the data up to this point, + adds the end of stream marker and marks the stream + as read-only in the metadata. + + + +long +setReadyToFlush() +All data that has been written to the stream so far will be sent to + persistent storage. + + + +void +write(LogRecordrecord) +Write a log record to the stream. + + + +int +writeBulk(http://download.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">ListLogRecordrecords) +Deprecated. + + + + + + + +Methods inherited from interfacejava.io.http://download.oracle.com/javase/6/docs/api/java/io/Closeable.html?is-external=true; title="class or interface in java.io">Closeable +http://download.oracle.com/javase/6/docs/api/java/io/Closeable.html?is-external=true#close--; title="class or interface in java.io">close + + + + + +Methods inherited from interfaceorg.apache.distributedlog.io.Abortable +abort + + + + + + + + + + + + + + +Method Detail + + + + + +write +voidwrite(LogRecordrecord) +throws http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true; title="class or interface in java.io">IOException +Write a log record to the stream. + +Parameters: +record - single log record +Throws: +http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true; title="class or interface in java.io">IOException + + + + + + + + +writeBulk +http://download.oracle.com/javase/6/docs/api/java/lang/Deprecated.html?is-external=true; title="class or interface in java.lang">@Deprecated +intwriteBulk(http://download.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">ListLogRecordrecords) + throws http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true; title="class or interface in java.io">IOException +Deprecated. +Write a list of log records to the stream. + +Parameters: +records - list of log records +Throws: +http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true; title="class or interface in java.io">IOException + + + + + + + + +setReadyToFlush +longsetReadyToFlush() + throws http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true; title="class or interface in
[39/51] [partial] incubator-distributedlog git commit: [release 0.4.0-incubating] Add Java API docs
http://git-wip-us.apache.org/repos/asf/incubator-distributedlog/blob/1e6843e5/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/LocalDLMEmulator.html -- diff --git a/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/LocalDLMEmulator.html b/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/LocalDLMEmulator.html new file mode 100644 index 000..38267cf --- /dev/null +++ b/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/LocalDLMEmulator.html @@ -0,0 +1,571 @@ +http://www.w3.org/TR/html4/loose.dtd;> + + + + + +LocalDLMEmulator (Apache DistributedLog for Java, version 0.4.0-incubating) + + + + + + +var methods = {"i0":10,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":10,"i7":10,"i8":9,"i9":10,"i10":9,"i11":9,"i12":9,"i13":10,"i14":10}; +var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; +var altColor = "altColor"; +var rowColor = "rowColor"; +var tableTab = "tableTab"; +var activeTableTab = "activeTableTab"; + + +JavaScript is disabled on your browser. + + + + + +Skip navigation links + + + + +Overview +Package +Class +Use +Tree +Deprecated +Index +Help + + + + +PrevClass +NextClass + + +Frames +NoFrames + + +AllClasses + + + + + + + +Summary: +Nested| +Field| +Constr| +Method + + +Detail: +Field| +Constr| +Method + + + + + + + + +org.apache.distributedlog +Class LocalDLMEmulator + + + +http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">java.lang.Object + + +org.apache.distributedlog.LocalDLMEmulator + + + + + + + + +public class LocalDLMEmulator +extends http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">Object +Utility class for setting up bookkeeper ensembles + and bringing individual bookies up and down + + + + + + + + + + + +Nested Class Summary + +Nested Classes + +Modifier and Type +Class and Description + + +static class +LocalDLMEmulator.Builder + + + + + + + + + +Field Summary + +Fields + +Modifier and Type +Field and Description + + +static http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String +DLOG_NAMESPACE + + + + + + + + + +Method Summary + +All MethodsStatic MethodsInstance MethodsConcrete Methods + +Modifier and Type +Method and Description + + +int +checkBookiesUp(intcount, + inttimeout) +Check that a number of bookies are available + + + +static org.apache.zookeeper.ZooKeeper +connectZooKeeper(http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringzkHost, +intzkPort) + + +static org.apache.zookeeper.ZooKeeper +connectZooKeeper(http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringzkHost, +intzkPort, +intzkTimeoutSec) + + +static http://download.oracle.com/javase/6/docs/api/java/net/URI.html?is-external=true; title="class or interface in java.net">URI +createDLMURI(http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">Stringpath) + + +static http://download.oracle.com/javase/6/docs/api/java/net/URI.html?is-external=true; title="class or interface in java.net">URI +createDLMURI(http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringzkServers, +http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">Stringpath) + + +static http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String +getBkLedgerPath() + + +http://download.oracle.com/javase/6/docs/api/java/net/URI.html?is-external=true; title="class or interface in java.net">URI +getUri() + + +http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String +getZkServers() + + +static void +main(http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String[]args) + + +org.apache.bookkeeper.proto.BookieServer +newBookie() +
[15/51] [partial] incubator-distributedlog git commit: [release 0.4.0-incubating] Add Java API docs
http://git-wip-us.apache.org/repos/asf/incubator-distributedlog/blob/1e6843e5/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/routing/ConsistentHashRoutingService.Builder.html -- diff --git a/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/routing/ConsistentHashRoutingService.Builder.html b/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/routing/ConsistentHashRoutingService.Builder.html new file mode 100644 index 000..a868727 --- /dev/null +++ b/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/routing/ConsistentHashRoutingService.Builder.html @@ -0,0 +1,336 @@ +http://www.w3.org/TR/html4/loose.dtd;> + + + + + +ConsistentHashRoutingService.Builder (Apache DistributedLog for Java, version 0.4.0-incubating) + + + + + + +var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10}; +var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; +var altColor = "altColor"; +var rowColor = "rowColor"; +var tableTab = "tableTab"; +var activeTableTab = "activeTableTab"; + + +JavaScript is disabled on your browser. + + + + + +Skip navigation links + + + + +Overview +Package +Class +Use +Tree +Deprecated +Index +Help + + + + +PrevClass +NextClass + + +Frames +NoFrames + + +AllClasses + + + + + + + +Summary: +Nested| +Field| +Constr| +Method + + +Detail: +Field| +Constr| +Method + + + + + + + + +org.apache.distributedlog.client.routing +Class ConsistentHashRoutingService.Builder + + + +http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">java.lang.Object + + +org.apache.distributedlog.client.routing.ConsistentHashRoutingService.Builder + + + + + + + +All Implemented Interfaces: +RoutingService.Builder + + +Enclosing class: +ConsistentHashRoutingService + + + +public static class ConsistentHashRoutingService.Builder +extends http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">Object +implements RoutingService.Builder +Builder for building consistent hash based routing service. + + + + + + + + + + + +Method Summary + +All MethodsInstance MethodsConcrete Methods + +Modifier and Type +Method and Description + + +ConsistentHashRoutingService.Builder +blackoutSeconds(intseconds) + + +RoutingService +build() +Build the routing service. + + + +ConsistentHashRoutingService.Builder +numReplicas(intnumReplicas) + + +ConsistentHashRoutingService.Builder +resolveFromName(booleanenabled) + + +ConsistentHashRoutingService.Builder +serverSet(com.twitter.common.zookeeper.ServerSetserverSet) + + +ConsistentHashRoutingService.Builder +statsReceiver(com.twitter.finagle.stats.StatsReceiverstatsReceiver) +Build routing service with stats receiver. + + + + + + + +Methods inherited from classjava.lang.http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">Object +http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone--; title="class or interface in java.lang">clone, http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-; title="class or interface in java.lang">equals, http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize--; title="class or interface in java.lang">finalize, http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass--; title="class or interface in java.lang">getClass, http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode--; title="class or interface in java.lang">hashCode, http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify--; title="class or interface in java.lang">notify, http://download.oracle.com /javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll, http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString--; title="class or interface in java.lang">toString, http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait--; title="class or interface in java.lang">wait,
[37/51] [partial] incubator-distributedlog git commit: [release 0.4.0-incubating] Add Java API docs
http://git-wip-us.apache.org/repos/asf/incubator-distributedlog/blob/1e6843e5/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/LogRecordWithDLSN.html -- diff --git a/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/LogRecordWithDLSN.html b/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/LogRecordWithDLSN.html new file mode 100644 index 000..05e613f --- /dev/null +++ b/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/LogRecordWithDLSN.html @@ -0,0 +1,396 @@ +http://www.w3.org/TR/html4/loose.dtd;> + + + + + +LogRecordWithDLSN (Apache DistributedLog for Java, version 0.4.0-incubating) + + + + + + +var methods = {"i0":10,"i1":10,"i2":10}; +var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; +var altColor = "altColor"; +var rowColor = "rowColor"; +var tableTab = "tableTab"; +var activeTableTab = "activeTableTab"; + + +JavaScript is disabled on your browser. + + + + + +Skip navigation links + + + + +Overview +Package +Class +Use +Tree +Deprecated +Index +Help + + + + +PrevClass +NextClass + + +Frames +NoFrames + + +AllClasses + + + + + + + +Summary: +Nested| +Field| +Constr| +Method + + +Detail: +Field| +Constr| +Method + + + + + + + + +org.apache.distributedlog +Class LogRecordWithDLSN + + + +http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">java.lang.Object + + +org.apache.distributedlog.LogRecord + + +org.apache.distributedlog.LogRecordWithDLSN + + + + + + + + + + +public class LogRecordWithDLSN +extends LogRecord +Log record with DLSN and SequenceId. + + Sequence Numbers + + A log record will be assigned with an unique system generated sequence number DLSN when it is + written to a log. At the mean time, a 64-bits long number is assigned to the record indicates its position + within a log, which is called SequenceId. Besides DLSN and SequenceID, + application can assign its own sequence number (called TransactionID) to the log record while + writing it. + + Transaction ID + + Transaction ID is a positive 64-bits long number that is assigned by the application. It is a very helpful + field when application wants to organize the records and position the readers using their own sequencing method. + A typical use case of TransactionID is DistributedLog Write Proxy. It assigns the non-decreasing + timestamps to log records, which the timestamps could be used as `physical time` to implement `TTL` in a strong + consistent database to achieve consistent `TTL` over replicas. + + DLSN + + DistributedLog Sequence Number (DLSN) is the sequence number generated during written time. + It is comparable and could be used to figure out the order between records. The DLSN is comprised with 3 components. + They are Log Segment Sequence Number, Entry Id and Slot Id. (See DLSN for more details). + The DLSN is usually used for comparison, positioning and truncation. + + Sequence ID + + Sequence ID is introduced to address the drawback of DLSN, in favor of answering questions like + `how many records written between two DLSNs`. It is a 64-bits monotonic increasing number (starting from zero). + Sequence ids are only accessible by readers. That means writers don't know the sequence ids of records after they + wrote them. + + + + + + + + + + + +Nested Class Summary + + + + +Nested classes/interfaces inherited from classorg.apache.distributedlog.LogRecord +LogRecord.Reader, LogRecord.Writer + + + + + + + + +Field Summary + + + + +Fields inherited from classorg.apache.distributedlog.LogRecord +MAX_LOGRECORD_SIZE, MAX_LOGRECORDSET_SIZE + + + + + + + + +Constructor Summary + +Constructors + +Constructor and Description + + +LogRecordWithDLSN(DLSNdlsn, + longtxid, + byte[]data, + longstartSequenceIdOfCurrentSegment) + + + + + + + + + +Method Summary + +All MethodsInstance MethodsConcrete Methods + +Modifier and Type +Method and Description + + +DLSN +getDlsn() +Get the DLSN of the record in the log. + + + +long +getSequenceId() +Get the sequence id of the record in the log. + + + +http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String +toString() + + + + + + +Methods inherited from classorg.apache.distributedlog.LogRecord +getMetadata, getPayload, getPayLoadInputStream,
[49/51] [partial] incubator-distributedlog git commit: [release 0.4.0-incubating] Add Java API docs
http://git-wip-us.apache.org/repos/asf/incubator-distributedlog/blob/1e6843e5/content/docs/0.4.0-incubating/api/java/constant-values.html -- diff --git a/content/docs/0.4.0-incubating/api/java/constant-values.html b/content/docs/0.4.0-incubating/api/java/constant-values.html new file mode 100644 index 000..df3eb89 --- /dev/null +++ b/content/docs/0.4.0-incubating/api/java/constant-values.html @@ -0,0 +1,2322 @@ +http://www.w3.org/TR/html4/loose.dtd;> + + + + + +Constant Field Values (Apache DistributedLog for Java, version 0.4.0-incubating) + + + + + + + + +JavaScript is disabled on your browser. + + + + + +Skip navigation links + + + + +Overview +Package +Class +Use +Tree +Deprecated +Index +Help + + + + +Prev +Next + + +Frames +NoFrames + + +AllClasses + + + + + + + + + + +Constant Field Values +Contents + +org.apache.* + + + + + +org.apache.* + + + +org.apache.distributedlog.DistributedLogConfiguration + +Modifier and Type +Constant Field +Value + + + + + +publicstaticfinalhttp://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String +BKDL_BK_DNS_RESOLVER_OVERRIDES +"dnsResolverOverrides" + + + + +publicstaticfinalhttp://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String +BKDL_BK_DNS_RESOLVER_OVERRIDES_DEFAULT +"" + + + + +publicstaticfinalint +BKDL_BKCLEINT_NUM_WORKER_THREADS_DEFAULT +1 + + + + +publicstaticfinalhttp://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String +BKDL_BKCLIENT_NUM_IO_THREADS +"bkcNumIOThreads" + + + + +publicstaticfinalhttp://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String +BKDL_BKCLIENT_NUM_WORKER_THREADS +"bkcNumWorkerThreads" + + + + +publicstaticfinalhttp://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String +BKDL_BKCLIENT_READ_TIMEOUT +"bkcReadTimeoutSeconds" + + + + +publicstaticfinalint +BKDL_BKCLIENT_READ_TIMEOUT_DEFAULT +10 + + + + +publicstaticfinalhttp://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String +BKDL_BKCLIENT_WRITE_TIMEOUT +"bkcWriteTimeoutSeconds" + + + + +publicstaticfinalint +BKDL_BKCLIENT_WRITE_TIMEOUT_DEFAULT +10 + + + + +publicstaticfinalhttp://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String +BKDL_BKCLIENT_ZK_NUM_RETRIES +"bkcZKNumRetries" + + + + +publicstaticfinalint +BKDL_BKCLIENT_ZK_NUM_RETRIES_DEFAULT +3 + + + + +publicstaticfinalhttp://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String +BKDL_BKCLIENT_ZK_REQUEST_RATE_LIMIT +"bkcZKRequestRateLimit" + + + + +publicstaticfinaldouble +BKDL_BKCLIENT_ZK_REQUEST_RATE_LIMIT_DEFAULT +0.0 + + + + +publicstaticfinalhttp://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String +BKDL_BKCLIENT_ZK_RETRY_BACKOFF_MAX_MILLIS +"bkcZKRetryMaxBackoffMillis" + + + + +publicstaticfinalint +BKDL_BKCLIENT_ZK_RETRY_BACKOFF_MAX_MILLIS_DEFAULT +3 + + + + +publicstaticfinalhttp://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String +BKDL_BKCLIENT_ZK_RETRY_BACKOFF_START_MILLIS +"bkcZKRetryStartBackoffMillis" + + + + +publicstaticfinalint +BKDL_BKCLIENT_ZK_RETRY_BACKOFF_START_MILLIS_DEFAULT +5000 + + + + +publicstaticfinalhttp://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String +BKDL_BKCLIENT_ZK_SESSION_TIMEOUT +"bkcZKSessionTimeoutSeconds" + + + + +publicstaticfinalint +BKDL_BKCLIENT_ZK_SESSION_TIMEOUT_DEFAULT +30 + + + + +publicstaticfinalhttp://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String +BKDL_BOOKKEEPER_ACK_QUORUM_SIZE +"bkcAckQuorumSize" + + + + +publicstaticfinalint +BKDL_BOOKKEEPER_ACK_QUORUM_SIZE_DEFAULT +2 + + + + +publicstaticfinalhttp://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String +BKDL_BOOKKEEPER_ACK_QUORUM_SIZE_OLD
[45/51] [partial] incubator-distributedlog git commit: [release 0.4.0-incubating] Add Java API docs
http://git-wip-us.apache.org/repos/asf/incubator-distributedlog/blob/1e6843e5/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/BKDistributedLogNamespace.html -- diff --git a/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/BKDistributedLogNamespace.html b/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/BKDistributedLogNamespace.html new file mode 100644 index 000..47e1520 --- /dev/null +++ b/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/BKDistributedLogNamespace.html @@ -0,0 +1,668 @@ +http://www.w3.org/TR/html4/loose.dtd;> + + + + + +BKDistributedLogNamespace (Apache DistributedLog for Java, version 0.4.0-incubating) + + + + + + +var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10}; +var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; +var altColor = "altColor"; +var rowColor = "rowColor"; +var tableTab = "tableTab"; +var activeTableTab = "activeTableTab"; + + +JavaScript is disabled on your browser. + + + + + +Skip navigation links + + + + +Overview +Package +Class +Use +Tree +Deprecated +Index +Help + + + + +PrevClass +NextClass + + +Frames +NoFrames + + +AllClasses + + + + + + + +Summary: +Nested| +Field| +Constr| +Method + + +Detail: +Field| +Constr| +Method + + + + + + + + +org.apache.distributedlog +Class BKDistributedLogNamespace + + + +http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">java.lang.Object + + +org.apache.distributedlog.BKDistributedLogNamespace + + + + + + + +All Implemented Interfaces: +DistributedLogNamespace + + + +public class BKDistributedLogNamespace +extends http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">Object +implements DistributedLogNamespace +BKDistributedLogNamespace is the default implementation of DistributedLogNamespace. It uses + zookeeper for metadata storage and bookkeeper for data storage. + Metrics + + ZooKeeper Client + See ZooKeeperClient for detail sub-stats. + + `scope`/dlzk_factory_writer_shared/* : stats about the zookeeper client shared by all DL writers. + `scope`/dlzk_factory_reader_shared/* : stats about the zookeeper client shared by all DL readers. + `scope`/bkzk_factory_writer_shared/* : stats about the zookeeper client used by bookkeeper client + shared by all DL writers. + `scope`/bkzk_factory_reader_shared/* : stats about the zookeeper client used by bookkeeper client + shared by all DL readers. + + + BookKeeper Client + BookKeeper client stats are exposed directly to current scope. See BookKeeperClient for detail stats. + + Utils + + `scope`/factory/thread_pool/* : stats about the ordered scheduler used by this namespace. + See OrderedScheduler. + `scope`/factory/readahead_thread_pool/* : stats about the readahead thread pool executor + used by this namespace. See MonitoredScheduledThreadPoolExecutor. + `scope`/writeLimiter/* : stats about the global write limiter used by this namespace. + See PermitLimiter. + + + DistributedLogManager + + All the core stats about reader and writer are exposed under current scope via BKDistributedLogManager. + + + + + + + + + + + +Field Summary + +Fields + +Modifier and Type +Field and Description + + +protected http://download.oracle.com/javase/6/docs/api/java/util/concurrent/atomic/AtomicBoolean.html?is-external=true; title="class or interface in java.util.concurrent.atomic">AtomicBoolean +closed + + + + + + + + + +Constructor Summary + +Constructors + +Constructor and Description + + +BKDistributedLogNamespace(DistributedLogConfigurationconf, + http://download.oracle.com/javase/6/docs/api/java/net/URI.html?is-external=true; title="class or interface in java.net">URIuri, + NamespaceDriverdriver, + org.apache.distributedlog.util.OrderedSchedulerscheduler, + org.apache.bookkeeper.feature.FeatureProviderfeatureProvider, + org.apache.distributedlog.util.PermitLimiterwriteLimiter, + org.apache.distributedlog.injector.AsyncFailureInjectorfailureInjector, + org.apache.bookkeeper.stats.StatsLoggerstatsLogger, +
[38/51] [partial] incubator-distributedlog git commit: [release 0.4.0-incubating] Add Java API docs
http://git-wip-us.apache.org/repos/asf/incubator-distributedlog/blob/1e6843e5/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/LogRecord.html -- diff --git a/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/LogRecord.html b/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/LogRecord.html new file mode 100644 index 000..ab7a4e7 --- /dev/null +++ b/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/LogRecord.html @@ -0,0 +1,708 @@ +http://www.w3.org/TR/html4/loose.dtd;> + + + + + +LogRecord (Apache DistributedLog for Java, version 0.4.0-incubating) + + + + + + +var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":9,"i7":10,"i8":9,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10}; +var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; +var altColor = "altColor"; +var rowColor = "rowColor"; +var tableTab = "tableTab"; +var activeTableTab = "activeTableTab"; + + +JavaScript is disabled on your browser. + + + + + +Skip navigation links + + + + +Overview +Package +Class +Use +Tree +Deprecated +Index +Help + + + + +PrevClass +NextClass + + +Frames +NoFrames + + +AllClasses + + + + + + + +Summary: +Nested| +Field| +Constr| +Method + + +Detail: +Field| +Constr| +Method + + + + + + + + +org.apache.distributedlog +Class LogRecord + + + +http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">java.lang.Object + + +org.apache.distributedlog.LogRecord + + + + + + + +Direct Known Subclasses: +LogRecordWithDLSN + + + +public class LogRecord +extends http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">Object +Log record is the basic element in a log. + + A log is a sequence of log records. Each log record is a sequence of bytes. + Log records are written sequentially into a stream, and will be assigned with + an unique system generated sequence number DLSN (distributedlog sequence + number). Besides DLSN, application can assign its own sequence number + while constructing log records. The application defined sequence number is called + TransactionID (txid). Either DLSN or TransactionId + could be used to position readers to start from specific log records. + + User Record + + User records are the records written by applications and read by applications. They + are constructed via LogRecord(long, byte[]) by applications and appended to + logs by writers. And they would be deserialized from bytes by the readers and return + to applications. + + Control Record + + Control records are special records that written by distributedlog. They are invisible + to applications. They could be treated as commit requests as what people could find + in distributed consensus algorithms, since they are usually written by distributedlog to + commit application written records. Commit means making application written records + visible to readers to achieve consistent views among them. + + They are named as 'Control Records' for controlling visibility of application written records. + + The transaction id of 'Control Records' are assigned by distributedlog by inheriting from last + written user records. So we could indicate what user records that a control record is committing + by looking at its transaction id. + + EndOfStream Record + + EoS(EndOfStream) is a special control record that would be written by a writer + to seal a log. After a EoS record is written to a log, no writers could append any record + after that and readers will get EndOfStreamException + when they reach EoS. + + TransactionID of EoS is Long.MAX_VALUE. + + Serialization & Deserialization + + Data type in brackets. Interpretation should be on the basis of data types and not individual + bytes to honor Endianness. + + + LogRecord structure: + --- + Bytes 0 - 7 : Metadata (Long) + Bytes 8 - 15 : TxId (Long) + Bytes 16 - 19: Payload length (Integer) + Bytes 20 - 20+payload.length-1 : Payload (Byte[]) + + Metadata: 8 Bytes (Long) + + + 0x 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 +|_| |_| + | | + position flags + + Flags: 2 Bytes (least significant) + - + Bit 0 : If set, control record, else record with
[06/51] [partial] incubator-distributedlog git commit: [release 0.4.0-incubating] Add Java API docs
http://git-wip-us.apache.org/repos/asf/incubator-distributedlog/blob/1e6843e5/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/stats/OwnershipStatsLogger.OwnershipStat.html -- diff --git a/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/stats/OwnershipStatsLogger.OwnershipStat.html b/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/stats/OwnershipStatsLogger.OwnershipStat.html new file mode 100644 index 000..8e9a21b --- /dev/null +++ b/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/stats/OwnershipStatsLogger.OwnershipStat.html @@ -0,0 +1,296 @@ +http://www.w3.org/TR/html4/loose.dtd;> + + + + + +OwnershipStatsLogger.OwnershipStat (Apache DistributedLog for Java, version 0.4.0-incubating) + + + + + + +var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10}; +var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; +var altColor = "altColor"; +var rowColor = "rowColor"; +var tableTab = "tableTab"; +var activeTableTab = "activeTableTab"; + + +JavaScript is disabled on your browser. + + + + + +Skip navigation links + + + + +Overview +Package +Class +Use +Tree +Deprecated +Index +Help + + + + +PrevClass +NextClass + + +Frames +NoFrames + + +AllClasses + + + + + + + +Summary: +Nested| +Field| +Constr| +Method + + +Detail: +Field| +Constr| +Method + + + + + + + + +org.apache.distributedlog.client.stats +Class OwnershipStatsLogger.OwnershipStat + + + +http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">java.lang.Object + + +org.apache.distributedlog.client.stats.OwnershipStatsLogger.OwnershipStat + + + + + + + +Enclosing class: +OwnershipStatsLogger + + + +public static class OwnershipStatsLogger.OwnershipStat +extends http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">Object +Ownership related stats. + + + + + + + + + + + +Method Summary + +All MethodsInstance MethodsConcrete Methods + +Modifier and Type +Method and Description + + +void +onAdd() + + +void +onHit() + + +void +onMiss() + + +void +onRedirect() + + +void +onRemove() + + + + + + +Methods inherited from classjava.lang.http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">Object +http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone--; title="class or interface in java.lang">clone, http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-; title="class or interface in java.lang">equals, http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize--; title="class or interface in java.lang">finalize, http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass--; title="class or interface in java.lang">getClass, http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode--; title="class or interface in java.lang">hashCode, http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify--; title="class or interface in java.lang">notify, http://download.oracle.com /javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll, http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString--; title="class or interface in java.lang">toString, http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait--; title="class or interface in java.lang">wait, http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait-long-; title="class or interface in java.lang">wait, http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait-long-int-; title="class or interface in java.lang">wait + + + + + + + + + + + + + + +Method Detail + + + + + +onHit +publicvoidonHit() + + + + + + + +onMiss +publicvoidonMiss() + + + + + + + +onAdd +publicvoidonAdd() + + + + + + + +onRemove +publicvoidonRemove() + + + + + + + +onRedirect +publicvoidonRedirect() + + + + + + + + + + + + + +Skip navigation links + + + + +Overview +Package +Class +Use +Tree +Deprecated +Index +Help + + + + +PrevClass +NextClass + +
[23/51] [partial] incubator-distributedlog git commit: [release 0.4.0-incubating] Add Java API docs
http://git-wip-us.apache.org/repos/asf/incubator-distributedlog/blob/1e6843e5/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/ClientConfig.html -- diff --git a/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/ClientConfig.html b/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/ClientConfig.html new file mode 100644 index 000..b7d208c --- /dev/null +++ b/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/ClientConfig.html @@ -0,0 +1,638 @@ +http://www.w3.org/TR/html4/loose.dtd;> + + + + + +ClientConfig (Apache DistributedLog for Java, version 0.4.0-incubating) + + + + + + +var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":9,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10}; +var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; +var altColor = "altColor"; +var rowColor = "rowColor"; +var tableTab = "tableTab"; +var activeTableTab = "activeTableTab"; + + +JavaScript is disabled on your browser. + + + + + +Skip navigation links + + + + +Overview +Package +Class +Use +Tree +Deprecated +Index +Help + + + + +PrevClass +NextClass + + +Frames +NoFrames + + +AllClasses + + + + + + + +Summary: +Nested| +Field| +Constr| +Method + + +Detail: +Field| +Constr| +Method + + + + + + + + +org.apache.distributedlog.client +Class ClientConfig + + + +http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">java.lang.Object + + +org.apache.distributedlog.client.ClientConfig + + + + + + + + +public class ClientConfig +extends http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">Object +Client Config. + + + + + + + + + + + +Constructor Summary + +Constructors + +Constructor and Description + + +ClientConfig() + + + + + + + + + +Method Summary + +All MethodsStatic MethodsInstance MethodsConcrete Methods + +Modifier and Type +Method and Description + + +boolean +getHandshakeWithClientInfo() + + +int +getMaxRedirects() + + +long +getPeriodicDumpOwnershipCacheIntervalMs() + + +long +getPeriodicHandshakeIntervalMs() + + +long +getPeriodicOwnershipSyncIntervalMs() + + +int +getRedirectBackoffMaxMs() + + +int +getRedirectBackoffStartMs() + + +int +getRequestTimeoutMs() + + +boolean +getStreamFailfast() + + +http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String +getStreamNameRegex() + + +boolean +getThriftMux() + + +boolean +isChecksumEnabled() + + +boolean +isHandshakeTracingEnabled() + + +boolean +isPeriodicDumpOwnershipCacheEnabled() + + +static ClientConfig +newConfig(ClientConfigconfig) + + +ClientConfig +setChecksumEnabled(booleanenabled) + + +ClientConfig +setHandshakeTracingEnabled(booleanenabled) + + +ClientConfig +setHandshakeWithClientInfo(booleanenabled) + + +ClientConfig +setMaxRedirects(intmaxRedirects) + + +ClientConfig +setPeriodicDumpOwnershipCacheEnabled(booleanenabled) + + +ClientConfig +setPeriodicDumpOwnershipCacheIntervalMs(longintervalMs) + + +ClientConfig +setPeriodicHandshakeIntervalMs(longintervalMs) + + +ClientConfig +setPeriodicOwnershipSyncIntervalMs(longintervalMs) + + +ClientConfig +setRedirectBackoffMaxMs(intms) + + +ClientConfig +setRedirectBackoffStartMs(intms) + + +ClientConfig +setRequestTimeoutMs(inttimeoutInMillis) + + +ClientConfig +setStreamFailfast(booleanenabled) + + +ClientConfig +setStreamNameRegex(http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringnameRegex) + + +ClientConfig +setThriftMux(booleanenabled) + + + + + + +Methods inherited from classjava.lang.http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">Object +http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone--; title="class or interface in java.lang">clone, http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-; title="class or interface in java.lang">equals,
[30/51] [partial] incubator-distributedlog git commit: [release 0.4.0-incubating] Add Java API docs
http://git-wip-us.apache.org/repos/asf/incubator-distributedlog/blob/1e6843e5/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/class-use/DLSN.html -- diff --git a/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/class-use/DLSN.html b/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/class-use/DLSN.html new file mode 100644 index 000..a6e02c8 --- /dev/null +++ b/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/class-use/DLSN.html @@ -0,0 +1,674 @@ +http://www.w3.org/TR/html4/loose.dtd;> + + + + + +Uses of Class org.apache.distributedlog.DLSN (Apache DistributedLog for Java, version 0.4.0-incubating) + + + + + + + + +JavaScript is disabled on your browser. + + + + + +Skip navigation links + + + + +Overview +Package +Class +Use +Tree +Deprecated +Index +Help + + + + +Prev +Next + + +Frames +NoFrames + + +AllClasses + + + + + + + + + + +Uses of Classorg.apache.distributedlog.DLSN + + + + + +Packages that use DLSN + +Package +Description + + + +org.apache.distributedlog + +Protocol & Core of DistributedLog + + + +org.apache.distributedlog.client + +DistributedLog Client. + + + +org.apache.distributedlog.io + +IO Utils for distributedlog + + + +org.apache.distributedlog.logsegment + +Log Segment Management + + + +org.apache.distributedlog.metadata + +Metadata management for distributedlog. + + + +org.apache.distributedlog.service + +DistributedLog Proxy Service. + + + +org.apache.distributedlog.subscription + + + + + + + + + + +Uses of DLSN in org.apache.distributedlog + +Fields in org.apache.distributedlog declared as DLSN + +Modifier and Type +Field and Description + + + +static DLSN +DLSN.InitialDLSN + + +static DLSN +DLSN.InvalidDLSN + + +static DLSN +DLSN.NonInclusiveLowerBound + + + + +Methods in org.apache.distributedlog that return DLSN + +Modifier and Type +Method and Description + + + +static DLSN +DLSN.deserialize(http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">Stringdlsn) +Deserialize the DLSN from base64 encoded string dlsn. + + + +static DLSN +DLSN.deserializeBytes(byte[]data) +Deserialize the DLSN from bytes array. + + + +DLSN +LogRecordWithDLSN.getDlsn() +Get the DLSN of the record in the log. + + + +DLSN +LogSegmentMetadata.getFirstDLSN() + + +DLSN +LogSegmentMetadata.getLastDLSN() + + +DLSN +DistributedLogManager.getLastDLSN() +Get Latest DLSN in the log + + + +DLSN +LogSegmentMetadata.getMinActiveDLSN() + + +DLSN +DLSN.getNextDLSN() +Positions to a DLSN greater than the current value. + + + +DLSN +DLSN.positionOnTheNextLedger() +Positions to next log segment than the current value. + + + + + +Methods in org.apache.distributedlog that return types with arguments of type DLSN + +Modifier and Type +Method and Description + + + +com.twitter.util.FutureDLSN +DistributedLogManager.getDLSNNotLessThanTxId(longtransactionId) +Get the DLSN of first log record whose transaction id is not less than transactionId. + + + +com.twitter.util.FutureDLSN +DistributedLogManager.getFirstDLSNAsync() +Get first DLSN in the log. + + + +com.twitter.util.FutureDLSN +DistributedLogManager.getLastDLSNAsync() +Get Latest DLSN in the log - async + + + +com.twitter.util.FutureDLSN +AppendOnlyStreamWriter.write(byte[]data) + + +com.twitter.util.FutureDLSN +AsyncLogWriter.write(LogRecordrecord) +Write a log record to the stream. + + + +com.twitter.util.Futurehttp://download.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">Listcom.twitter.util.FutureDLSN +AsyncLogWriter.writeBulk(http://download.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">ListLogRecordrecord) +Write log records to the stream in bulk. + + + + + +Methods in org.apache.distributedlog with parameters of type DLSN + +Modifier and Type +Method and Description + + + +static com.twitter.util.FutureLogRecordWithDLSN +ReadUtils.asyncReadFirstUserRecord(http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringstreamName, +LogSegmentMetadatal, +intscanStartBatchSize, +intscanMaxBatchSize, +
[10/51] [partial] incubator-distributedlog git commit: [release 0.4.0-incubating] Add Java API docs
http://git-wip-us.apache.org/repos/asf/incubator-distributedlog/blob/1e6843e5/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/routing/class-use/RoutingService.RoutingListener.html -- diff --git a/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/routing/class-use/RoutingService.RoutingListener.html b/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/routing/class-use/RoutingService.RoutingListener.html new file mode 100644 index 000..1836316 --- /dev/null +++ b/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/routing/class-use/RoutingService.RoutingListener.html @@ -0,0 +1,218 @@ +http://www.w3.org/TR/html4/loose.dtd;> + + + + + +Uses of Interface org.apache.distributedlog.client.routing.RoutingService.RoutingListener (Apache DistributedLog for Java, version 0.4.0-incubating) + + + + + + + + +JavaScript is disabled on your browser. + + + + + +Skip navigation links + + + + +Overview +Package +Class +Use +Tree +Deprecated +Index +Help + + + + +Prev +Next + + +Frames +NoFrames + + +AllClasses + + + + + + + + + + +Uses of Interfaceorg.apache.distributedlog.client.routing.RoutingService.RoutingListener + + + + + +Packages that use RoutingService.RoutingListener + +Package +Description + + + +org.apache.distributedlog.client + +DistributedLog Client. + + + +org.apache.distributedlog.client.routing + +Routing Mechanisms to route the traffic to the owner of streams. + + + + + + + + + + +Uses of RoutingService.RoutingListener in org.apache.distributedlog.client + +Classes in org.apache.distributedlog.client that implement RoutingService.RoutingListener + +Modifier and Type +Class and Description + + + +class +DistributedLogClientImpl +Implementation of distributedlog client. + + + + + + + + +Uses of RoutingService.RoutingListener in org.apache.distributedlog.client.routing + +Methods in org.apache.distributedlog.client.routing with parameters of type RoutingService.RoutingListener + +Modifier and Type +Method and Description + + + +RoutingService +SingleHostRoutingService.registerListener(RoutingService.RoutingListenerlistener) + + +RoutingService +RoutingService.registerListener(RoutingService.RoutingListenerlistener) +Register routing listener. + + + +RoutingService +RegionsRoutingService.registerListener(RoutingService.RoutingListenerlistener) + + +RoutingService +SingleHostRoutingService.unregisterListener(RoutingService.RoutingListenerlistener) + + +RoutingService +RoutingService.unregisterListener(RoutingService.RoutingListenerlistener) +Unregister routing listener. + + + +RoutingService +RegionsRoutingService.unregisterListener(RoutingService.RoutingListenerlistener) + + + + + + + + + + + + +Skip navigation links + + + + +Overview +Package +Class +Use +Tree +Deprecated +Index +Help + + + + +Prev +Next + + +Frames +NoFrames + + +AllClasses + + + + + + + + + +Copyright 2016-2017 http://www.apache.org/;>The Apache Software Foundation. All Rights Reserved. + + http://git-wip-us.apache.org/repos/asf/incubator-distributedlog/blob/1e6843e5/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/routing/class-use/RoutingService.html -- diff --git a/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/routing/class-use/RoutingService.html b/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/routing/class-use/RoutingService.html new file mode 100644 index 000..c44fe67 --- /dev/null +++ b/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/routing/class-use/RoutingService.html @@ -0,0 +1,342 @@ +http://www.w3.org/TR/html4/loose.dtd;> + + + + + +Uses of Interface org.apache.distributedlog.client.routing.RoutingService (Apache DistributedLog for Java, version 0.4.0-incubating) + + + + + + +var methods = {"i0":10,"i1":9,"i2":10,"i3":10}; +var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; +var altColor = "altColor"; +var rowColor = "rowColor"; +var tableTab = "tableTab"; +var activeTableTab = "activeTableTab"; + + +JavaScript is disabled on your browser. + + + + + +Skip navigation links + + + + +Overview +Package +Class +Use +Tree +Deprecated +Index +Help + + + + +PrevClass +NextClass + + +Frames +NoFrames + + +AllClasses + + + + + + + +Summary: +Nested| +Field| +Constr| +Method + + +Detail: +Field| +Constr| +Method + + + + + + + + +org.apache.distributedlog.client +Class DistributedLogMultiStreamWriter + + + +http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">java.lang.Object + + +org.apache.distributedlog.client.DistributedLogMultiStreamWriter + + + + + + + +All Implemented Interfaces: +http://download.oracle.com/javase/6/docs/api/java/lang/Runnable.html?is-external=true; title="class or interface in java.lang">Runnable + + + +public class DistributedLogMultiStreamWriter +extends http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">Object +implements http://download.oracle.com/javase/6/docs/api/java/lang/Runnable.html?is-external=true; title="class or interface in java.lang">Runnable +Write to multiple streams. + + + + + + + + + + + +Nested Class Summary + +Nested Classes + +Modifier and Type +Class and Description + + +static class +DistributedLogMultiStreamWriter.Builder +Builder for the multi stream writer. + + + + + + + + + + +Method Summary + +All MethodsStatic MethodsInstance MethodsConcrete Methods + +Modifier and Type +Method and Description + + +void +close() + + +static DistributedLogMultiStreamWriter.Builder +newBuilder() +Create a new builder to create a multi stream writer. + + + +void +run() + + +com.twitter.util.FutureDLSN +write(http://download.oracle.com/javase/6/docs/api/java/nio/ByteBuffer.html?is-external=true; title="class or interface in java.nio">ByteBufferbuffer) + + + + + + +Methods inherited from classjava.lang.http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">Object +http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone--; title="class or interface in java.lang">clone, http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-; title="class or interface in java.lang">equals, http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize--; title="class or interface in java.lang">finalize, http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass--; title="class or interface in java.lang">getClass, http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode--; title="class or interface in java.lang">hashCode, http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify--; title="class or interface in java.lang">notify, http://download.oracle.com /javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll, http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString--; title="class or interface in java.lang">toString, http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait--; title="class or interface in java.lang">wait,
[50/51] [partial] incubator-distributedlog git commit: [release 0.4.0-incubating] Add Java API docs
http://git-wip-us.apache.org/repos/asf/incubator-distributedlog/blob/1e6843e5/content/docs/0.4.0-incubating/api/java/allclasses-noframe.html -- diff --git a/content/docs/0.4.0-incubating/api/java/allclasses-noframe.html b/content/docs/0.4.0-incubating/api/java/allclasses-noframe.html new file mode 100644 index 000..9698fa4 --- /dev/null +++ b/content/docs/0.4.0-incubating/api/java/allclasses-noframe.html @@ -0,0 +1,229 @@ +http://www.w3.org/TR/html4/loose.dtd;> + + + + + +All Classes (Apache DistributedLog for Java, version 0.4.0-incubating) + + + + + +AllClasses + + +Abortable +Abortables +AbstractFeatureProvider +AlreadyClosedException +AlreadyTruncatedTransactionException +AppendOnlyStreamReader +AppendOnlyStreamWriter +AsyncAbortable +AsyncCloseable +AsyncDeleteable +AsyncLogReader +AsyncLogWriter +AsyncNotification +BKDistributedLogNamespace +BKTransmitException +BookKeeperClient +BookKeeperClientBuilder +Buffer +ChecksumFailedException +ClientConfig +ClientStats +ClientStatsLogger +ClientUtils +ClusterClient +CompressionCodec +CompressionCodec.Type +CompressionUtils +ConsistentHashRoutingService +ConsistentHashRoutingService.Builder +CoreFeatureKeys +DefaultFeatureProvider +DefaultRegionResolver +DefaultSpeculativeRequestExecutionPolicy +DistributedLock +DistributedLogAnnotations +DistributedLogAnnotations.Compression +DistributedLogAnnotations.FlakyTest +DistributedLogClient +DistributedLogClientBuilder +DistributedLogClientImpl +DistributedLogCluster +DistributedLogCluster.Builder +DistributedLogCluster.DLServer +DistributedLogConfiguration +DistributedLogConstants +DistributedLogManager +DistributedLogMultiStreamWriter +DistributedLogMultiStreamWriter.Builder +DistributedLogNamespace +DistributedLogNamespaceBuilder +DistributedLogServer +DistributedLogServerApp +DistributedLogServiceImpl +DLClientClosedException +DLConfig +DLException +DLIllegalStateException +DLInterruptedException +DLMetadata +DLSN +DLSocketAddress +DLZkServerSet +DNSResolver +DNSResolverForRacks +DNSResolverForRows +DryrunLogSegmentMetadataStoreUpdater +DynamicConfigurationFeatureProvider +EndOfLogSegmentException +EndOfStreamException +Entry +Entry.Builder +Entry.Reader +Entry.Writer +EpochChangedException +FatalErrorHandler +FlushException +HostProvider +IdentityCompressionCodec +IdleReaderException +InternalServerException +InvalidEnvelopedEntryException +InvalidStreamNameException +LocalDLMEmulator +LocalDLMEmulator.Builder +LockCancelledException +LockClosedException +LockingException +LockSessionExpiredException +LockStateChangedException +LockTimeoutException +LockWaiter +LogEmptyException +LogExistsException +LogMetadata +LogMetadataForReader +LogMetadataForWriter +LogMetadataStore +LogNotFoundException +LogReader +LogReadException +LogRecord +LogRecord.Reader +LogRecord.Writer +LogRecordSet +LogRecordSet.Reader +LogRecordSet.Writer +LogRecordSetBuffer +LogRecordTooLongException +LogRecordWithDLSN +LogSegmentEntryReader +LogSegmentEntryReader.StateChangeListener +LogSegmentEntryStore +LogSegmentEntryWriter +LogSegmentFilter +LogSegmentIsTruncatedException +LogSegmentListener +LogSegmentMetadata +LogSegmentMetadata.LogSegmentMetadataBuilder +LogSegmentMetadata.LogSegmentMetadataVersion +LogSegmentMetadata.Mutator +LogSegmentMetadata.TruncationStatus +LogSegmentMetadataCache +LogSegmentMetadataStore +LogSegmentMetadataStoreUpdater +LogSegmentNamesListener +LogSegmentNotFoundException +LogSegmentRandomAccessEntryReader +LogSegmentWriter +LogStreamMetadataStore +LogWriter +LZ4CompressionCodec +MetadataAccessor +MetadataException +MetadataResolver +MetadataUpdater +MonitorService +MonitorServiceApp +MonitorServiceClient +NamespaceDriver +NamespaceDriver.Role +NamespaceDriverManager +NamespaceListener +NamespaceWatcher +NetUtils +NopDistributedLock +NotYetImplementedException +OpStats +OpStatsLogger +OverCapacityException +OwnershipAcquireFailedException +OwnershipCache +OwnershipStatsLogger +OwnershipStatsLogger.OwnershipStat +PerStreamLogSegmentCache +ProxyClient +ProxyClient.Builder +ProxyClient.DefaultBuilder +ProxyClientManager +ProxyListener +ReadAheadCallback +ReadCancelledException +ReadUtils +RegionResolver +RegionsRoutingService +RegionsRoutingService.Builder +RegionUnavailableException +RequestDeniedException +ResponseUtils +RetryableReadException +RollingPolicy +RoutingService +RoutingService.Builder +RoutingService.RoutingContext +RoutingService.RoutingListener +RoutingUtils +ServerFeatureKeys +ServerSetWatcher +ServerSetWatcher.MonitorException +ServerSetWatcher.ServerSetMonitor +ServiceUnavailableException +SessionLock +SessionLockFactory +SingleHostRoutingService +SingleHostRoutingService.Builder +SizeBasedRollingPolicy +SpeculativeRequestExecutionPolicy +SpeculativeRequestExecutor +StreamNotReadyException +StreamUnavailableException +SubscriptionsStore +SubscriptionStateStore +TestName +TimeBasedRollingPolicy +TooManyStreamsException
[18/51] [partial] incubator-distributedlog git commit: [release 0.4.0-incubating] Add Java API docs
http://git-wip-us.apache.org/repos/asf/incubator-distributedlog/blob/1e6843e5/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/proxy/ProxyClient.html -- diff --git a/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/proxy/ProxyClient.html b/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/proxy/ProxyClient.html new file mode 100644 index 000..bc20006 --- /dev/null +++ b/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/proxy/ProxyClient.html @@ -0,0 +1,367 @@ +http://www.w3.org/TR/html4/loose.dtd;> + + + + + +ProxyClient (Apache DistributedLog for Java, version 0.4.0-incubating) + + + + + + +var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":9}; +var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; +var altColor = "altColor"; +var rowColor = "rowColor"; +var tableTab = "tableTab"; +var activeTableTab = "activeTableTab"; + + +JavaScript is disabled on your browser. + + + + + +Skip navigation links + + + + +Overview +Package +Class +Use +Tree +Deprecated +Index +Help + + + + +PrevClass +NextClass + + +Frames +NoFrames + + +AllClasses + + + + + + + +Summary: +Nested| +Field| +Constr| +Method + + +Detail: +Field| +Constr| +Method + + + + + + + + +org.apache.distributedlog.client.proxy +Class ProxyClient + + + +http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">java.lang.Object + + +org.apache.distributedlog.client.proxy.ProxyClient + + + + + + + + +public class ProxyClient +extends http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">Object +Client talks to a single proxy. + + + + + + + + + + + +Nested Class Summary + +Nested Classes + +Modifier and Type +Class and Description + + +static interface +ProxyClient.Builder +Builder to build a proxy client talking to given host address. + + + +static class +ProxyClient.DefaultBuilder +Default Builder for ProxyClient. + + + + + + + + + + +Constructor Summary + +Constructors + +Modifier +Constructor and Description + + +protected +ProxyClient(http://download.oracle.com/javase/6/docs/api/java/net/SocketAddress.html?is-external=true; title="class or interface in java.net">SocketAddressaddress, + com.twitter.finagle.Servicecom.twitter.finagle.thrift.ThriftClientRequest,byte[]client, + org.apache.distributedlog.thrift.service.DistributedLogService.ServiceIfaceservice) + + + + + + + + + +Method Summary + +All MethodsStatic MethodsInstance MethodsConcrete Methods + +Modifier and Type +Method and Description + + +com.twitter.util.Futurescala.runtime.BoxedUnit +close() + + +http://download.oracle.com/javase/6/docs/api/java/net/SocketAddress.html?is-external=true; title="class or interface in java.net">SocketAddress +getAddress() + + +com.twitter.finagle.Servicecom.twitter.finagle.thrift.ThriftClientRequest,byte[] +getClient() + + +org.apache.distributedlog.thrift.service.DistributedLogService.ServiceIface +getService() + + +static ProxyClient.Builder +newBuilder(http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringclientName, + com.twitter.finagle.thrift.ClientIdclientId, + com.twitter.finagle.builder.ClientBuilderclientBuilder, + ClientConfigclientConfig, + ClientStatsclientStats) + + + + + + +Methods inherited from classjava.lang.http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">Object +http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone--; title="class or interface in java.lang">clone, http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-; title="class or interface in java.lang">equals, http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize--; title="class or interface in java.lang">finalize, http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass--; title="class or interface in java.lang">getClass, http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode--; title="class or interface in java.lang">hashCode,
[08/51] [partial] incubator-distributedlog git commit: [release 0.4.0-incubating] Add Java API docs
http://git-wip-us.apache.org/repos/asf/incubator-distributedlog/blob/1e6843e5/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/serverset/package-frame.html -- diff --git a/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/serverset/package-frame.html b/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/serverset/package-frame.html new file mode 100644 index 000..4b6bcc0 --- /dev/null +++ b/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/serverset/package-frame.html @@ -0,0 +1,21 @@ +http://www.w3.org/TR/html4/loose.dtd;> + + + + + +org.apache.distributedlog.client.serverset (Apache DistributedLog for Java, version 0.4.0-incubating) + + + + + +org.apache.distributedlog.client.serverset + +Classes + +DLZkServerSet + + + + http://git-wip-us.apache.org/repos/asf/incubator-distributedlog/blob/1e6843e5/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/serverset/package-summary.html -- diff --git a/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/serverset/package-summary.html b/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/serverset/package-summary.html new file mode 100644 index 000..9316dc1 --- /dev/null +++ b/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/serverset/package-summary.html @@ -0,0 +1,155 @@ +http://www.w3.org/TR/html4/loose.dtd;> + + + + + +org.apache.distributedlog.client.serverset (Apache DistributedLog for Java, version 0.4.0-incubating) + + + + + + + + +JavaScript is disabled on your browser. + + + + + +Skip navigation links + + + + +Overview +Package +Class +Use +Tree +Deprecated +Index +Help + + + + +PrevPackage +NextPackage + + +Frames +NoFrames + + +AllClasses + + + + + + + + + + +Packageorg.apache.distributedlog.client.serverset + +Utils related to server set. + +See:Description + + + + + +Class Summary + +Class +Description + + + +DLZkServerSet + +A wrapper over zookeeper client and its server set. + + + + + + + + + +Package org.apache.distributedlog.client.serverset Description +Utils related to server set. + + + + + +Skip navigation links + + + + +Overview +Package +Class +Use +Tree +Deprecated +Index +Help + + + + +PrevPackage +NextPackage + + +Frames +NoFrames + + +AllClasses + + + + + + + + + +Copyright 2016-2017 http://www.apache.org/;>The Apache Software Foundation. All Rights Reserved. + + http://git-wip-us.apache.org/repos/asf/incubator-distributedlog/blob/1e6843e5/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/serverset/package-tree.html -- diff --git a/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/serverset/package-tree.html b/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/serverset/package-tree.html new file mode 100644 index 000..dfa9d0a --- /dev/null +++ b/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/serverset/package-tree.html @@ -0,0 +1,139 @@ +http://www.w3.org/TR/html4/loose.dtd;> + + + + + +org.apache.distributedlog.client.serverset Class Hierarchy (Apache DistributedLog for Java, version 0.4.0-incubating) + + + + + + + + +JavaScript is disabled on your browser. + + + + + +Skip navigation links + + + + +Overview +Package +Class +Use +Tree +Deprecated +Index +Help + + + + +Prev +Next + + +Frames +NoFrames + + +AllClasses + + + + + + + + + + +Hierarchy For Package org.apache.distributedlog.client.serverset +Package Hierarchies: + +All Packages + + + +Class Hierarchy +
[02/51] [partial] incubator-distributedlog git commit: [release 0.4.0-incubating] Add Java API docs
http://git-wip-us.apache.org/repos/asf/incubator-distributedlog/blob/1e6843e5/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/exceptions/InvalidEnvelopedEntryException.html -- diff --git a/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/exceptions/InvalidEnvelopedEntryException.html b/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/exceptions/InvalidEnvelopedEntryException.html new file mode 100644 index 000..01d6a71 --- /dev/null +++ b/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/exceptions/InvalidEnvelopedEntryException.html @@ -0,0 +1,297 @@ +http://www.w3.org/TR/html4/loose.dtd;> + + + + + +InvalidEnvelopedEntryException (Apache DistributedLog for Java, version 0.4.0-incubating) + + + + + + + + +JavaScript is disabled on your browser. + + + + + +Skip navigation links + + + + +Overview +Package +Class +Use +Tree +Deprecated +Index +Help + + + + +PrevClass +NextClass + + +Frames +NoFrames + + +AllClasses + + + + + + + +Summary: +Nested| +Field| +Constr| +Method + + +Detail: +Field| +Constr| +Method + + + + + + + + +org.apache.distributedlog.exceptions +Class InvalidEnvelopedEntryException + + + +http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">java.lang.Object + + +http://download.oracle.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true; title="class or interface in java.lang">java.lang.Throwable + + +http://download.oracle.com/javase/6/docs/api/java/lang/Exception.html?is-external=true; title="class or interface in java.lang">java.lang.Exception + + +http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true; title="class or interface in java.io">java.io.IOException + + +org.apache.distributedlog.exceptions.DLException + + +org.apache.distributedlog.exceptions.InvalidEnvelopedEntryException + + + + + + + + + + + + + + + +All Implemented Interfaces: +http://download.oracle.com/javase/6/docs/api/java/io/Serializable.html?is-external=true; title="class or interface in java.io">Serializable + + + +public class InvalidEnvelopedEntryException +extends DLException +Exception thrown when encounter invalid enveloped entry. + +See Also: +Serialized Form + + + + + + + + + + + + +Field Summary + + + + +Fields inherited from classorg.apache.distributedlog.exceptions.DLException +code + + + + + + + + +Constructor Summary + +Constructors + +Constructor and Description + + +InvalidEnvelopedEntryException(http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">Stringmsg) + + + + + + + + + +Method Summary + + + + +Methods inherited from classorg.apache.distributedlog.exceptions.DLException +getCode, of + + + + + +Methods inherited from classjava.lang.http://download.oracle.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true; title="class or interface in java.lang">Throwable +http://download.oracle.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true#addSuppressed-java.lang.Throwable-; title="class or interface in java.lang">addSuppressed, http://download.oracle.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true#fillInStackTrace--; title="class or interface in java.lang">fillInStackTrace, http://download.oracle.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true#getCause--; title="class or interface in java.lang">getCause, http://download.oracle.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true#getLocalizedMessage--; title="class or interface in java.lang">getLocalizedMessage, http://download.oracle.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true#getMessage--; title="class or interface in java.lang">getMessage, http://download.oracle.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true#getStackTrace- -" title="class or interface in java.lang">getStackTrace, http://download.oracle.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true#getSuppressed--; title="class or interface in java.lang">getSuppressed, http://download.oracle.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true#initCause-java.lang.Throwable-; title="class or interface in java.lang">initCause, http://download.oracle.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true#printStackTrace--; title="class or interface in
[13/51] [partial] incubator-distributedlog git commit: [release 0.4.0-incubating] Add Java API docs
http://git-wip-us.apache.org/repos/asf/incubator-distributedlog/blob/1e6843e5/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/routing/RoutingService.RoutingListener.html -- diff --git a/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/routing/RoutingService.RoutingListener.html b/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/routing/RoutingService.RoutingListener.html new file mode 100644 index 000..a1eab46 --- /dev/null +++ b/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/routing/RoutingService.RoutingListener.html @@ -0,0 +1,259 @@ +http://www.w3.org/TR/html4/loose.dtd;> + + + + + +RoutingService.RoutingListener (Apache DistributedLog for Java, version 0.4.0-incubating) + + + + + + +var methods = {"i0":6,"i1":6}; +var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]}; +var altColor = "altColor"; +var rowColor = "rowColor"; +var tableTab = "tableTab"; +var activeTableTab = "activeTableTab"; + + +JavaScript is disabled on your browser. + + + + + +Skip navigation links + + + + +Overview +Package +Class +Use +Tree +Deprecated +Index +Help + + + + +PrevClass +NextClass + + +Frames +NoFrames + + +AllClasses + + + + + + + +Summary: +Nested| +Field| +Constr| +Method + + +Detail: +Field| +Constr| +Method + + + + + + + + +org.apache.distributedlog.client.routing +Interface RoutingService.RoutingListener + + + + + + +All Known Implementing Classes: +DistributedLogClientImpl + + +Enclosing interface: +RoutingService + + + +public static interface RoutingService.RoutingListener +Listener for server changes on routing service. + + + + + + + + + + + +Method Summary + +All MethodsInstance MethodsAbstract Methods + +Modifier and Type +Method and Description + + +void +onServerJoin(http://download.oracle.com/javase/6/docs/api/java/net/SocketAddress.html?is-external=true; title="class or interface in java.net">SocketAddressaddress) +Trigger when server joint. + + + +void +onServerLeft(http://download.oracle.com/javase/6/docs/api/java/net/SocketAddress.html?is-external=true; title="class or interface in java.net">SocketAddressaddress) +Trigger when server left. + + + + + + + + + + + + + + + + +Method Detail + + + + + +onServerLeft +voidonServerLeft(http://download.oracle.com/javase/6/docs/api/java/net/SocketAddress.html?is-external=true; title="class or interface in java.net">SocketAddressaddress) +Trigger when server left. + +Parameters: +address - left server. + + + + + + + + +onServerJoin +voidonServerJoin(http://download.oracle.com/javase/6/docs/api/java/net/SocketAddress.html?is-external=true; title="class or interface in java.net">SocketAddressaddress) +Trigger when server joint. + +Parameters: +address - joint server. + + + + + + + + + + + + + + +Skip navigation links + + + + +Overview +Package +Class +Use +Tree +Deprecated +Index +Help + + + + +PrevClass +NextClass + + +Frames +NoFrames + + +AllClasses + + + + + + + +Summary: +Nested| +Field| +Constr| +Method + + +Detail: +Field| +Constr| +Method + + + + + + +Copyright 2016-2017 http://www.apache.org/;>The Apache Software Foundation. All Rights Reserved. + + http://git-wip-us.apache.org/repos/asf/incubator-distributedlog/blob/1e6843e5/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/routing/RoutingService.html -- diff --git a/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/routing/RoutingService.html b/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/routing/RoutingService.html new file mode 100644 index 000..ad5bc37 --- /dev/null +++ b/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/routing/RoutingService.html @@ -0,0 +1,395 @@ +http://www.w3.org/TR/html4/loose.dtd;> + + + + + +RoutingService (Apache DistributedLog for Java, version 0.4.0-incubating) + + + + + +
[44/51] [partial] incubator-distributedlog git commit: [release 0.4.0-incubating] Add Java API docs
http://git-wip-us.apache.org/repos/asf/incubator-distributedlog/blob/1e6843e5/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/BookKeeperClientBuilder.html -- diff --git a/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/BookKeeperClientBuilder.html b/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/BookKeeperClientBuilder.html new file mode 100644 index 000..a1a4eee --- /dev/null +++ b/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/BookKeeperClientBuilder.html @@ -0,0 +1,480 @@ +http://www.w3.org/TR/html4/loose.dtd;> + + + + + +BookKeeperClientBuilder (Apache DistributedLog for Java, version 0.4.0-incubating) + + + + + + +var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":9,"i8":10,"i9":10,"i10":10,"i11":10}; +var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; +var altColor = "altColor"; +var rowColor = "rowColor"; +var tableTab = "tableTab"; +var activeTableTab = "activeTableTab"; + + +JavaScript is disabled on your browser. + + + + + +Skip navigation links + + + + +Overview +Package +Class +Use +Tree +Deprecated +Index +Help + + + + +PrevClass +NextClass + + +Frames +NoFrames + + +AllClasses + + + + + + + +Summary: +Nested| +Field| +Constr| +Method + + +Detail: +Field| +Constr| +Method + + + + + + + + +org.apache.distributedlog +Class BookKeeperClientBuilder + + + +http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">java.lang.Object + + +org.apache.distributedlog.BookKeeperClientBuilder + + + + + + + + +public class BookKeeperClientBuilder +extends http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">Object +Builder to build bookkeeper client. + + + + + + + + + + + +Method Summary + +All MethodsStatic MethodsInstance MethodsConcrete Methods + +Modifier and Type +Method and Description + + +BookKeeperClientBuilder +bkc(BookKeeperClientbkc) +Build BookKeeper client using existing bkc client. + + + +BookKeeperClient +build() + + +BookKeeperClientBuilder +channelFactory(org.jboss.netty.channel.socket.ClientSocketChannelFactorychannelFactory) +Build BookKeeper client using existing channelFactory. + + + +BookKeeperClientBuilder +dlConfig(DistributedLogConfigurationdlConfig) +dlConfig used to configure bookkeeper client. + + + +BookKeeperClientBuilder +featureProvider(com.google.common.base.Optionalorg.apache.bookkeeper.feature.FeatureProviderfeatureProvider) + + +BookKeeperClientBuilder +ledgersPath(http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringledgersPath) +Set the ledgers path that bookkeeper client is going to access. + + + +BookKeeperClientBuilder +name(http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">Stringname) +Set client name. + + + +static BookKeeperClientBuilder +newBuilder() +Create a bookkeeper client builder to build bookkeeper clients. + + + +BookKeeperClientBuilder +requestTimer(org.jboss.netty.util.HashedWheelTimerrequestTimer) +Build BookKeeper client using existing request timer. + + + +BookKeeperClientBuilder +statsLogger(org.apache.bookkeeper.stats.StatsLoggerstatsLogger) +Build BookKeeper Client using given stats logger statsLogger. + + + +BookKeeperClientBuilder +zkc(ZooKeeperClientzkc) +Set the zkc used to build bookkeeper client. + + + +BookKeeperClientBuilder +zkServers(http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringzkServers) +Set the zookeeper servers that bookkeeper client would connect to. + + + + + + + +Methods inherited from classjava.lang.http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">Object +http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone--; title="class or interface in java.lang">clone, http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-; title="class or interface in java.lang">equals, http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize--; title="class or interface in
[22/51] [partial] incubator-distributedlog git commit: [release 0.4.0-incubating] Add Java API docs
http://git-wip-us.apache.org/repos/asf/incubator-distributedlog/blob/1e6843e5/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/DistributedLogClientImpl.html -- diff --git a/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/DistributedLogClientImpl.html b/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/DistributedLogClientImpl.html new file mode 100644 index 000..b409522 --- /dev/null +++ b/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/DistributedLogClientImpl.html @@ -0,0 +1,736 @@ +http://www.w3.org/TR/html4/loose.dtd;> + + + + + +DistributedLogClientImpl (Apache DistributedLog for Java, version 0.4.0-incubating) + + + + + + +var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10}; +var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; +var altColor = "altColor"; +var rowColor = "rowColor"; +var tableTab = "tableTab"; +var activeTableTab = "activeTableTab"; + + +JavaScript is disabled on your browser. + + + + + +Skip navigation links + + + + +Overview +Package +Class +Use +Tree +Deprecated +Index +Help + + + + +PrevClass +NextClass + + +Frames +NoFrames + + +AllClasses + + + + + + + +Summary: +Nested| +Field| +Constr| +Method + + +Detail: +Field| +Constr| +Method + + + + + + + + +org.apache.distributedlog.client +Class DistributedLogClientImpl + + + +http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">java.lang.Object + + +org.apache.distributedlog.client.DistributedLogClientImpl + + + + + + + +All Implemented Interfaces: +MonitorServiceClient, HostProvider, ProxyListener, RoutingService.RoutingListener, DistributedLogClient + + + +public class DistributedLogClientImpl +extends http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">Object +implements DistributedLogClient, MonitorServiceClient, RoutingService.RoutingListener, ProxyListener, HostProvider +Implementation of distributedlog client. + + + + + + + + + + + +Constructor Summary + +Constructors + +Constructor and Description + + +DistributedLogClientImpl(http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">Stringname, +com.twitter.finagle.thrift.ClientIdclientId, +RoutingServiceroutingService, + com.twitter.finagle.builder.ClientBuilderclientBuilder, +ClientConfigclientConfig, +com.google.common.base.OptionalClusterClientclusterClient, + com.twitter.finagle.stats.StatsReceiverstatsReceiver, + com.twitter.finagle.stats.StatsReceiverstreamStatsReceiver, +RegionResolverregionResolver, +booleanenableRegionStats) + + + + + + + + + +Method Summary + +All MethodsInstance MethodsConcrete Methods + +Modifier and Type +Method and Description + + +com.twitter.util.Futurehttp://download.oracle.com/javase/6/docs/api/java/lang/Void.html?is-external=true; title="class or interface in java.lang">Void +check(http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">Stringstream) +Check a given stream. + + + +void +close() +Close the client. + + + +com.twitter.util.Futurehttp://download.oracle.com/javase/6/docs/api/java/lang/Void.html?is-external=true; title="class or interface in java.lang">Void +create(http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">Stringstream) +Create a stream with name stream. + + + +com.twitter.util.Futurehttp://download.oracle.com/javase/6/docs/api/java/lang/Void.html?is-external=true; title="class or interface in java.lang">Void +delete(http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">Stringstream) +Delete a given stream stream. + + + +http://download.oracle.com/javase/6/docs/api/java/util/Set.html?is-external=true; title="class or interface in
[51/51] [partial] incubator-distributedlog git commit: [release 0.4.0-incubating] Add Java API docs
[release 0.4.0-incubating] Add Java API docs Project: http://git-wip-us.apache.org/repos/asf/incubator-distributedlog/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-distributedlog/commit/1e6843e5 Tree: http://git-wip-us.apache.org/repos/asf/incubator-distributedlog/tree/1e6843e5 Diff: http://git-wip-us.apache.org/repos/asf/incubator-distributedlog/diff/1e6843e5 Branch: refs/heads/asf-site Commit: 1e6843e5ba7de89ab23032c2f9d02a3e59244578 Parents: 7e29970 Author: Sijie GuoAuthored: Sun Jan 8 19:33:59 2017 -0800 Committer: Sijie Guo Committed: Sun Jan 8 19:33:59 2017 -0800 -- .../api/java/allclasses-frame.html | 229 + .../api/java/allclasses-noframe.html| 229 + .../subscription/package-frame.html |15 + .../subscription/package-summary.html | 135 + .../subscription/package-tree.html | 129 + .../subscription/package-use.html | 126 + .../api/java/constant-values.html | 2322 .../api/java/deprecated-list.html | 199 + .../0.4.0-incubating/api/java/help-doc.html | 231 + .../0.4.0-incubating/api/java/index-all.html| 5743 + .../docs/0.4.0-incubating/api/java/index.html |75 + .../distributedlog/AppendOnlyStreamReader.html | 323 + .../distributedlog/AppendOnlyStreamWriter.html | 351 + .../apache/distributedlog/AsyncLogReader.html | 333 + .../apache/distributedlog/AsyncLogWriter.html | 358 + .../distributedlog/AsyncNotification.html | 246 + .../BKDistributedLogNamespace.html | 668 ++ .../apache/distributedlog/BookKeeperClient.html | 313 + .../distributedlog/BookKeeperClientBuilder.html | 480 + .../java/org/apache/distributedlog/DLSN.html| 683 ++ .../DistributedLogConfiguration.html| 10283 + .../distributedlog/DistributedLogConstants.html | 744 ++ .../distributedlog/DistributedLogManager.html | 1014 ++ .../apache/distributedlog/Entry.Builder.html| 470 + .../org/apache/distributedlog/Entry.Reader.html | 328 + .../org/apache/distributedlog/Entry.Writer.html | 373 + .../java/org/apache/distributedlog/Entry.html | 350 + .../LocalDLMEmulator.Builder.html | 373 + .../apache/distributedlog/LocalDLMEmulator.html | 571 + .../org/apache/distributedlog/LogReader.html| 447 + .../apache/distributedlog/LogRecord.Reader.html | 360 + .../apache/distributedlog/LogRecord.Writer.html | 301 + .../org/apache/distributedlog/LogRecord.html| 708 ++ .../distributedlog/LogRecordSet.Reader.html | 238 + .../distributedlog/LogRecordSet.Writer.html | 256 + .../org/apache/distributedlog/LogRecordSet.html | 420 + .../distributedlog/LogRecordSetBuffer.html | 322 + .../distributedlog/LogRecordWithDLSN.html | 396 + ...gmentMetadata.LogSegmentMetadataBuilder.html | 569 + ...gmentMetadata.LogSegmentMetadataVersion.html | 444 + .../LogSegmentMetadata.Mutator.html | 350 + .../LogSegmentMetadata.TruncationStatus.html| 359 + .../distributedlog/LogSegmentMetadata.html | 902 ++ .../org/apache/distributedlog/LogWriter.html| 353 + .../apache/distributedlog/MetadataAccessor.html | 336 + .../org/apache/distributedlog/ReadUtils.html| 402 + .../ZooKeeperClient.Credentials.html| 267 + .../ZooKeeperClient.DigestCredentials.html | 303 + ...eperClient.ZooKeeperConnectionException.html | 288 + ...erClient.ZooKeeperSessionExpireNotifier.html | 227 + .../apache/distributedlog/ZooKeeperClient.html | 430 + .../distributedlog/ZooKeeperClientBuilder.html | 485 + .../DistributedLogAnnotations.Compression.html | 167 + .../DistributedLogAnnotations.FlakyTest.html| 167 + .../annotations/DistributedLogAnnotations.html | 267 + .../DistributedLogAnnotations.Compression.html | 126 + .../DistributedLogAnnotations.FlakyTest.html| 126 + .../class-use/DistributedLogAnnotations.html| 126 + .../annotations/package-frame.html |26 + .../annotations/package-summary.html| 178 + .../annotations/package-tree.html | 144 + .../distributedlog/annotations/package-use.html | 126 + .../callback/LogSegmentListener.html| 248 + .../callback/LogSegmentNamesListener.html | 249 + .../callback/NamespaceListener.html | 235 + .../callback/ReadAheadCallback.html | 224 + .../callback/class-use/LogSegmentListener.html | 176 + .../class-use/LogSegmentNamesListener.html | 179 + .../callback/class-use/NamespaceListener.html | 271 + .../callback/class-use/ReadAheadCallback.html | 126 + .../distributedlog/callback/package-frame.html |24 + .../callback/package-summary.html | 172 +
[14/51] [partial] incubator-distributedlog git commit: [release 0.4.0-incubating] Add Java API docs
http://git-wip-us.apache.org/repos/asf/incubator-distributedlog/blob/1e6843e5/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/routing/RegionsRoutingService.Builder.html -- diff --git a/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/routing/RegionsRoutingService.Builder.html b/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/routing/RegionsRoutingService.Builder.html new file mode 100644 index 000..5298e55 --- /dev/null +++ b/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/routing/RegionsRoutingService.Builder.html @@ -0,0 +1,310 @@ +http://www.w3.org/TR/html4/loose.dtd;> + + + + + +RegionsRoutingService.Builder (Apache DistributedLog for Java, version 0.4.0-incubating) + + + + + + +var methods = {"i0":10,"i1":10,"i2":10,"i3":10}; +var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; +var altColor = "altColor"; +var rowColor = "rowColor"; +var tableTab = "tableTab"; +var activeTableTab = "activeTableTab"; + + +JavaScript is disabled on your browser. + + + + + +Skip navigation links + + + + +Overview +Package +Class +Use +Tree +Deprecated +Index +Help + + + + +PrevClass +NextClass + + +Frames +NoFrames + + +AllClasses + + + + + + + +Summary: +Nested| +Field| +Constr| +Method + + +Detail: +Field| +Constr| +Method + + + + + + + + +org.apache.distributedlog.client.routing +Class RegionsRoutingService.Builder + + + +http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">java.lang.Object + + +org.apache.distributedlog.client.routing.RegionsRoutingService.Builder + + + + + + + +All Implemented Interfaces: +RoutingService.Builder + + +Enclosing class: +RegionsRoutingService + + + +public static class RegionsRoutingService.Builder +extends http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">Object +implements RoutingService.Builder +Builder to build a multiple-regions routing service. + + + + + + + + + + + +Method Summary + +All MethodsInstance MethodsConcrete Methods + +Modifier and Type +Method and Description + + +RegionsRoutingService +build() +Build the routing service. + + + +RegionsRoutingService.Builder +resolver(RegionResolverregionResolver) + + +RegionsRoutingService.Builder +routingServiceBuilders(RoutingService.Builder...builders) + + +RoutingService.Builder +statsReceiver(com.twitter.finagle.stats.StatsReceiverstatsReceiver) +Build routing service with stats receiver. + + + + + + + +Methods inherited from classjava.lang.http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">Object +http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone--; title="class or interface in java.lang">clone, http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-; title="class or interface in java.lang">equals, http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize--; title="class or interface in java.lang">finalize, http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass--; title="class or interface in java.lang">getClass, http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode--; title="class or interface in java.lang">hashCode, http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify--; title="class or interface in java.lang">notify, http://download.oracle.com /javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll, http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString--; title="class or interface in java.lang">toString, http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait--; title="class or interface in java.lang">wait, http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait-long-; title="class or interface in java.lang">wait, http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait-long-int-; title="class or interface in java.lang">wait + + + + + + + + + + + + + + +Method Detail + + + + +
[33/51] [partial] incubator-distributedlog git commit: [release 0.4.0-incubating] Add Java API docs
http://git-wip-us.apache.org/repos/asf/incubator-distributedlog/blob/1e6843e5/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/annotations/DistributedLogAnnotations.html -- diff --git a/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/annotations/DistributedLogAnnotations.html b/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/annotations/DistributedLogAnnotations.html new file mode 100644 index 000..ac96a78 --- /dev/null +++ b/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/annotations/DistributedLogAnnotations.html @@ -0,0 +1,267 @@ +http://www.w3.org/TR/html4/loose.dtd;> + + + + + +DistributedLogAnnotations (Apache DistributedLog for Java, version 0.4.0-incubating) + + + + + + + + +JavaScript is disabled on your browser. + + + + + +Skip navigation links + + + + +Overview +Package +Class +Use +Tree +Deprecated +Index +Help + + + + +PrevClass +NextClass + + +Frames +NoFrames + + +AllClasses + + + + + + + +Summary: +Nested| +Field| +Constr| +Method + + +Detail: +Field| +Constr| +Method + + + + + + + + +org.apache.distributedlog.annotations +Class DistributedLogAnnotations + + + +http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">java.lang.Object + + +org.apache.distributedlog.annotations.DistributedLogAnnotations + + + + + + + + +public class DistributedLogAnnotations +extends http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">Object +Common annotation types. + + + + + + + + + + + +Nested Class Summary + +Nested Classes + +Modifier and Type +Class and Description + + +static interface +DistributedLogAnnotations.Compression +Annotation to specify the occurrence of a compression operation. + + + +static interface +DistributedLogAnnotations.FlakyTest +Annotation to identify flaky tests in DistributedLog. + + + + + + + + + + +Constructor Summary + +Constructors + +Constructor and Description + + +DistributedLogAnnotations() + + + + + + + + + +Method Summary + + + + +Methods inherited from classjava.lang.http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">Object +http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone--; title="class or interface in java.lang">clone, http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-; title="class or interface in java.lang">equals, http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize--; title="class or interface in java.lang">finalize, http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass--; title="class or interface in java.lang">getClass, http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode--; title="class or interface in java.lang">hashCode, http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify--; title="class or interface in java.lang">notify, http://download.oracle.com /javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll, http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString--; title="class or interface in java.lang">toString, http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait--; title="class or interface in java.lang">wait, http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait-long-; title="class or interface in java.lang">wait, http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait-long-int-; title="class or interface in java.lang">wait + + + + + + + + + + + + + + +Constructor Detail + + + + + +DistributedLogAnnotations +publicDistributedLogAnnotations() + + + + + + + + + + + + + +Skip navigation links + + + + +Overview +Package +Class +Use +Tree +Deprecated +Index +Help + + + + +PrevClass +NextClass + + +Frames +NoFrames + + +AllClasses + + + + + + + +Summary: +Nested|
[17/51] [partial] incubator-distributedlog git commit: [release 0.4.0-incubating] Add Java API docs
http://git-wip-us.apache.org/repos/asf/incubator-distributedlog/blob/1e6843e5/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/proxy/class-use/ProxyClient.Builder.html -- diff --git a/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/proxy/class-use/ProxyClient.Builder.html b/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/proxy/class-use/ProxyClient.Builder.html new file mode 100644 index 000..f4e8f89 --- /dev/null +++ b/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/proxy/class-use/ProxyClient.Builder.html @@ -0,0 +1,202 @@ +http://www.w3.org/TR/html4/loose.dtd;> + + + + + +Uses of Interface org.apache.distributedlog.client.proxy.ProxyClient.Builder (Apache DistributedLog for Java, version 0.4.0-incubating) + + + + + + + + +JavaScript is disabled on your browser. + + + + + +Skip navigation links + + + + +Overview +Package +Class +Use +Tree +Deprecated +Index +Help + + + + +Prev +Next + + +Frames +NoFrames + + +AllClasses + + + + + + + + + + +Uses of Interfaceorg.apache.distributedlog.client.proxy.ProxyClient.Builder + + + + + +Packages that use ProxyClient.Builder + +Package +Description + + + +org.apache.distributedlog.client.proxy + +Clients that interact with individual proxies. + + + + + + + + + + +Uses of ProxyClient.Builder in org.apache.distributedlog.client.proxy + +Classes in org.apache.distributedlog.client.proxy that implement ProxyClient.Builder + +Modifier and Type +Class and Description + + + +static class +ProxyClient.DefaultBuilder +Default Builder for ProxyClient. + + + + + +Methods in org.apache.distributedlog.client.proxy that return ProxyClient.Builder + +Modifier and Type +Method and Description + + + +static ProxyClient.Builder +ProxyClient.newBuilder(http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringclientName, + com.twitter.finagle.thrift.ClientIdclientId, + com.twitter.finagle.builder.ClientBuilderclientBuilder, + ClientConfigclientConfig, + ClientStatsclientStats) + + + + +Constructors in org.apache.distributedlog.client.proxy with parameters of type ProxyClient.Builder + +Constructor and Description + + + +ProxyClientManager(ClientConfigclientConfig, + ProxyClient.BuilderclientBuilder, + org.jboss.netty.util.HashedWheelTimertimer, + HostProviderhostProvider, + ClientStatsclientStats) + + + + + + + + + + + + +Skip navigation links + + + + +Overview +Package +Class +Use +Tree +Deprecated +Index +Help + + + + +Prev +Next + + +Frames +NoFrames + + +AllClasses + + + + + + + + + +Copyright 2016-2017 http://www.apache.org/;>The Apache Software Foundation. All Rights Reserved. + + http://git-wip-us.apache.org/repos/asf/incubator-distributedlog/blob/1e6843e5/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/proxy/class-use/ProxyClient.DefaultBuilder.html -- diff --git a/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/proxy/class-use/ProxyClient.DefaultBuilder.html b/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/proxy/class-use/ProxyClient.DefaultBuilder.html new file mode 100644 index 000..f7ce9a1 --- /dev/null +++ b/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/proxy/class-use/ProxyClient.DefaultBuilder.html @@ -0,0 +1,126 @@ +http://www.w3.org/TR/html4/loose.dtd;> + + + + + +Uses of Class org.apache.distributedlog.client.proxy.ProxyClient.DefaultBuilder (Apache DistributedLog for Java, version 0.4.0-incubating) + + + + + + + + +JavaScript is disabled on your browser. + + + + + +Skip navigation links + + + + +Overview +Package
[31/51] [partial] incubator-distributedlog git commit: [release 0.4.0-incubating] Add Java API docs
http://git-wip-us.apache.org/repos/asf/incubator-distributedlog/blob/1e6843e5/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/class-use/AppendOnlyStreamWriter.html -- diff --git a/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/class-use/AppendOnlyStreamWriter.html b/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/class-use/AppendOnlyStreamWriter.html new file mode 100644 index 000..c6420e1 --- /dev/null +++ b/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/class-use/AppendOnlyStreamWriter.html @@ -0,0 +1,170 @@ +http://www.w3.org/TR/html4/loose.dtd;> + + + + + +Uses of Class org.apache.distributedlog.AppendOnlyStreamWriter (Apache DistributedLog for Java, version 0.4.0-incubating) + + + + + + + + +JavaScript is disabled on your browser. + + + + + +Skip navigation links + + + + +Overview +Package +Class +Use +Tree +Deprecated +Index +Help + + + + +Prev +Next + + +Frames +NoFrames + + +AllClasses + + + + + + + + + + +Uses of Classorg.apache.distributedlog.AppendOnlyStreamWriter + + + + + +Packages that use AppendOnlyStreamWriter + +Package +Description + + + +org.apache.distributedlog + +Protocol & Core of DistributedLog + + + + + + + + + + +Uses of AppendOnlyStreamWriter in org.apache.distributedlog + +Methods in org.apache.distributedlog that return AppendOnlyStreamWriter + +Modifier and Type +Method and Description + + + +AppendOnlyStreamWriter +DistributedLogManager.getAppendOnlyStreamWriter() +Begin appending to the end of the log stream which is being treated as a sequence of bytes + + + + + + + + + + + + + +Skip navigation links + + + + +Overview +Package +Class +Use +Tree +Deprecated +Index +Help + + + + +Prev +Next + + +Frames +NoFrames + + +AllClasses + + + + + + + + + +Copyright 2016-2017 http://www.apache.org/;>The Apache Software Foundation. All Rights Reserved. + + http://git-wip-us.apache.org/repos/asf/incubator-distributedlog/blob/1e6843e5/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/class-use/AsyncLogReader.html -- diff --git a/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/class-use/AsyncLogReader.html b/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/class-use/AsyncLogReader.html new file mode 100644 index 000..d629422 --- /dev/null +++ b/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/class-use/AsyncLogReader.html @@ -0,0 +1,210 @@ +http://www.w3.org/TR/html4/loose.dtd;> + + + + + +Uses of Interface org.apache.distributedlog.AsyncLogReader (Apache DistributedLog for Java, version 0.4.0-incubating) + + + + + + + + +JavaScript is disabled on your browser. + + + + + +Skip navigation links + + + + +Overview +Package +Class +Use +Tree +Deprecated +Index +Help + + + + +Prev +Next + + +Frames +NoFrames + + +AllClasses + + + + + + + + + + +Uses of Interfaceorg.apache.distributedlog.AsyncLogReader + + + + + +Packages that use AsyncLogReader + +Package +Description + + + +org.apache.distributedlog + +Protocol & Core of DistributedLog + + + + + + + + + + +Uses of AsyncLogReader in org.apache.distributedlog + +Methods in org.apache.distributedlog that return AsyncLogReader + +Modifier and Type +Method and Description + + + +AsyncLogReader +DistributedLogManager.getAsyncLogReader(DLSNfromDLSN) + + +AsyncLogReader +DistributedLogManager.getAsyncLogReader(longfromTxnId) + + + + +Methods in org.apache.distributedlog that return types with arguments of type AsyncLogReader + +Modifier and Type +Method and Description + + + +com.twitter.util.FutureAsyncLogReader
[16/51] [partial] incubator-distributedlog git commit: [release 0.4.0-incubating] Add Java API docs
http://git-wip-us.apache.org/repos/asf/incubator-distributedlog/blob/1e6843e5/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/resolver/DefaultRegionResolver.html -- diff --git a/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/resolver/DefaultRegionResolver.html b/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/resolver/DefaultRegionResolver.html new file mode 100644 index 000..db3181e --- /dev/null +++ b/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/resolver/DefaultRegionResolver.html @@ -0,0 +1,326 @@ +http://www.w3.org/TR/html4/loose.dtd;> + + + + + +DefaultRegionResolver (Apache DistributedLog for Java, version 0.4.0-incubating) + + + + + + +var methods = {"i0":10,"i1":10}; +var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; +var altColor = "altColor"; +var rowColor = "rowColor"; +var tableTab = "tableTab"; +var activeTableTab = "activeTableTab"; + + +JavaScript is disabled on your browser. + + + + + +Skip navigation links + + + + +Overview +Package +Class +Use +Tree +Deprecated +Index +Help + + + + +PrevClass +NextClass + + +Frames +NoFrames + + +AllClasses + + + + + + + +Summary: +Nested| +Field| +Constr| +Method + + +Detail: +Field| +Constr| +Method + + + + + + + + +org.apache.distributedlog.client.resolver +Class DefaultRegionResolver + + + +http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">java.lang.Object + + +org.apache.distributedlog.client.resolver.DefaultRegionResolver + + + + + + + +All Implemented Interfaces: +RegionResolver + + + +public class DefaultRegionResolver +extends http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">Object +implements RegionResolver +Default implementation of RegionResolver. + + + + + + + + + + + +Constructor Summary + +Constructors + +Constructor and Description + + +DefaultRegionResolver() + + +DefaultRegionResolver(http://download.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true; title="class or interface in java.util">Maphttp://download.oracle.com/javase/6/docs/api/java/net/SocketAddress.html?is-external=true; title="class or interface in java.net">SocketAddress,http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringregionOverrides) + + + + + + + + + +Method Summary + +All MethodsInstance MethodsConcrete Methods + +Modifier and Type +Method and Description + + +void +removeCachedHost(http://download.oracle.com/javase/6/docs/api/java/net/SocketAddress.html?is-external=true; title="class or interface in java.net">SocketAddressaddress) +Remove cached host. + + + +http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String +resolveRegion(http://download.oracle.com/javase/6/docs/api/java/net/SocketAddress.html?is-external=true; title="class or interface in java.net">SocketAddressaddress) +Resolve address to region. + + + + + + + +Methods inherited from classjava.lang.http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">Object +http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone--; title="class or interface in java.lang">clone, http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-; title="class or interface in java.lang">equals, http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize--; title="class or interface in java.lang">finalize, http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass--; title="class or interface in java.lang">getClass, http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode--; title="class or interface in java.lang">hashCode, http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify--; title="class or interface in java.lang">notify, http://download.oracle.com /javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll,
[09/51] [partial] incubator-distributedlog git commit: [release 0.4.0-incubating] Add Java API docs
http://git-wip-us.apache.org/repos/asf/incubator-distributedlog/blob/1e6843e5/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/routing/class-use/SingleHostRoutingService.html -- diff --git a/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/routing/class-use/SingleHostRoutingService.html b/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/routing/class-use/SingleHostRoutingService.html new file mode 100644 index 000..f1f6c11 --- /dev/null +++ b/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/routing/class-use/SingleHostRoutingService.html @@ -0,0 +1,168 @@ +http://www.w3.org/TR/html4/loose.dtd;> + + + + + +Uses of Class org.apache.distributedlog.client.routing.SingleHostRoutingService (Apache DistributedLog for Java, version 0.4.0-incubating) + + + + + + + + +JavaScript is disabled on your browser. + + + + + +Skip navigation links + + + + +Overview +Package +Class +Use +Tree +Deprecated +Index +Help + + + + +Prev +Next + + +Frames +NoFrames + + +AllClasses + + + + + + + + + + +Uses of Classorg.apache.distributedlog.client.routing.SingleHostRoutingService + + + + + +Packages that use SingleHostRoutingService + +Package +Description + + + +org.apache.distributedlog.client.routing + +Routing Mechanisms to route the traffic to the owner of streams. + + + + + + + + + + +Uses of SingleHostRoutingService in org.apache.distributedlog.client.routing + +Methods in org.apache.distributedlog.client.routing that return SingleHostRoutingService + +Modifier and Type +Method and Description + + + +static SingleHostRoutingService +SingleHostRoutingService.of(http://download.oracle.com/javase/6/docs/api/java/net/SocketAddress.html?is-external=true; title="class or interface in java.net">SocketAddressaddress) + + + + + + + + + + + + +Skip navigation links + + + + +Overview +Package +Class +Use +Tree +Deprecated +Index +Help + + + + +Prev +Next + + +Frames +NoFrames + + +AllClasses + + + + + + + + + +Copyright 2016-2017 http://www.apache.org/;>The Apache Software Foundation. All Rights Reserved. + + http://git-wip-us.apache.org/repos/asf/incubator-distributedlog/blob/1e6843e5/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/routing/class-use/TestName.html -- diff --git a/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/routing/class-use/TestName.html b/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/routing/class-use/TestName.html new file mode 100644 index 000..3e96a08 --- /dev/null +++ b/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/routing/class-use/TestName.html @@ -0,0 +1,126 @@ +http://www.w3.org/TR/html4/loose.dtd;> + + + + + +Uses of Class org.apache.distributedlog.client.routing.TestName (Apache DistributedLog for Java, version 0.4.0-incubating) + + + + + + + + +JavaScript is disabled on your browser. + + + + + +Skip navigation links + + + + +Overview +Package +Class +Use +Tree +Deprecated +Index +Help + + + + +Prev +Next + + +Frames +NoFrames + + +AllClasses + + + + + + + + + + +Uses of Classorg.apache.distributedlog.client.routing.TestName + +No usage of org.apache.distributedlog.client.routing.TestName + + + + +Skip navigation links + + + + +Overview +Package +Class +Use +Tree +Deprecated +Index +Help + + + + +Prev +Next + + +Frames +NoFrames + + +AllClasses + + + + + +JavaScript is disabled on your browser. + + + + + +Skip navigation links + + + + +Overview +Package +Class +Use +Tree +Deprecated +Index +Help + + + + +Prev +Next + + +Frames +NoFrames + + +AllClasses + + + + + + + + + + +Deprecated API +Contents + +Deprecated Methods + + + + + + + + +Deprecated Methods + +Method and Description + + + +org.apache.distributedlog.DistributedLogConfiguration.getBKClientNumberWorkerThreads() + + +org.apache.distributedlog.DistributedLogConfiguration.getBKClientReadTimeout() + + +org.apache.distributedlog.DistributedLogConfiguration.getBKClientWriteTimeout() + + +org.apache.distributedlog.DistributedLogConfiguration.getEnablePerStreamStat() +please use DistributedLogNamespaceBuilder.perLogStatsLogger(StatsLogger) + + + +org.apache.distributedlog.DistributedLogConfiguration.getNumReadAheadWorkerThreads() + + +org.apache.distributedlog.DistributedLogConfiguration.getSanityCheckTxnID() + + +org.apache.distributedlog.DistributedLogConfiguration.getZKSessionTimeoutSeconds() +use DistributedLogConfiguration.getZKSessionTimeoutMilliseconds() + + + +org.apache.distributedlog.client.routing.RegionsRoutingService.of(RegionResolver, RoutingService...) + + +org.apache.distributedlog.client.routing.ConsistentHashRoutingService.of(ServerSetWatcher, int) + + +org.apache.distributedlog.DistributedLogConfiguration.setBKClientNumberWorkerThreads(int) + + +org.apache.distributedlog.DistributedLogConfiguration.setBKClientReadTimeout(int) + + +org.apache.distributedlog.DistributedLogConfiguration.setBKClientWriteTimeout(int) + + +org.apache.distributedlog.DistributedLogConfiguration.setEnablePerStreamStat(boolean) +please use DistributedLogNamespaceBuilder.perLogStatsLogger(StatsLogger) + + + +org.apache.distributedlog.DistributedLogConfiguration.setNumReadAheadWorkerThreads(int) + + +org.apache.distributedlog.DistributedLogConfiguration.setSanityCheckTxnID(boolean) + + +org.apache.distributedlog.LogWriter.writeBulk(ListLogRecord) + + + + + + + + + + +Skip navigation links + + + + +Overview +Package +Class +Use +Tree +Deprecated +Index +Help + + + + +Prev +Next + + +Frames +NoFrames + + +AllClasses + + + + + + + + + +Copyright 2016-2017 http://www.apache.org/;>The Apache Software Foundation. All Rights Reserved. + + http://git-wip-us.apache.org/repos/asf/incubator-distributedlog/blob/1e6843e5/content/docs/0.4.0-incubating/api/java/help-doc.html -- diff --git a/content/docs/0.4.0-incubating/api/java/help-doc.html b/content/docs/0.4.0-incubating/api/java/help-doc.html new file mode 100644 index 000..38e368a --- /dev/null +++ b/content/docs/0.4.0-incubating/api/java/help-doc.html @@ -0,0 +1,231 @@ +http://www.w3.org/TR/html4/loose.dtd;> + + + + + +API Help (Apache DistributedLog for Java, version 0.4.0-incubating) + + + + + + + + +JavaScript is disabled on your browser. + + + + + +Skip navigation links + + + + +Overview +Package +Class +Use +Tree +Deprecated +Index +Help + + + + +Prev +Next + + +Frames +NoFrames + + +AllClasses + + + + + + + + + + +How This API Document Is Organized +This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar,
[42/51] [partial] incubator-distributedlog git commit: [release 0.4.0-incubating] Add Java API docs
http://git-wip-us.apache.org/repos/asf/incubator-distributedlog/blob/1e6843e5/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/DistributedLogConstants.html -- diff --git a/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/DistributedLogConstants.html b/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/DistributedLogConstants.html new file mode 100644 index 000..96632c6 --- /dev/null +++ b/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/DistributedLogConstants.html @@ -0,0 +1,744 @@ +http://www.w3.org/TR/html4/loose.dtd;> + + + + + +DistributedLogConstants (Apache DistributedLog for Java, version 0.4.0-incubating) + + + + + + + + +JavaScript is disabled on your browser. + + + + + +Skip navigation links + + + + +Overview +Package +Class +Use +Tree +Deprecated +Index +Help + + + + +PrevClass +NextClass + + +Frames +NoFrames + + +AllClasses + + + + + + + +Summary: +Nested| +Field| +Constr| +Method + + +Detail: +Field| +Constr| +Method + + + + + + + + +org.apache.distributedlog +Class DistributedLogConstants + + + +http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">java.lang.Object + + +org.apache.distributedlog.DistributedLogConstants + + + + + + + + +public class DistributedLogConstants +extends http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">Object +Constants used in DistributedLog. + + + + + + + + + + + +Field Summary + +Fields + +Modifier and Type +Field and Description + + +static http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String +ALLOCATION_POOL_NODE + + +static http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String +BACKEND_BK + + +static http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String +COMPLETED_LOGSEGMENT_PREFIX + + +static http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String +DISALLOW_PLACEMENT_IN_REGION_FEATURE_NAME + + +static int +DL_INTERRUPTED_EXCEPTION_RESULT_CODE + + +static byte[] +EMPTY_BYTES + + +static long +EMPTY_LOGSEGMENT_TX_ID + + +static http://download.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">Listorg.apache.zookeeper.data.ACL +EVERYONE_READ_CREATOR_ALL + + +static long +FIRST_LOGSEGMENT_SEQNO + + +static int +FUTURE_TIMEOUT_IMMEDIATE + + +static int +FUTURE_TIMEOUT_INFINITE + + +static http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String +INPROGRESS_LOGSEGMENT_PREFIX + + +static long +INVALID_TXID + + +static long +LATENCY_WARN_THRESHOLD_IN_MILLIS + + +static int +LOCAL_REGION_ID + + +static long +LOCK_IMMEDIATE + + +static long +LOCK_OP_TIMEOUT_DEFAULT + + +static long +LOCK_REACQUIRE_TIMEOUT_DEFAULT + + +static long +LOCK_TIMEOUT_INFINITE + + +static long +LOGSEGMENT_DEFAULT_STATUS + + +static int +LOGSEGMENT_NAME_VERSION + + +static long +MAX_TXID + + +static http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String +SCHEME_PREFIX + + +static long +SMALL_LOGSEGMENT_THRESHOLD + + +static long +UNASSIGNED_LOGSEGMENT_SEQNO + + +static long +UNASSIGNED_SEQUENCE_ID + + +static http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String +UNKNOWN_CLIENT_ID + + +static long +UNRESOLVED_LEDGER_ID + + +static int +ZK_CONNECTION_EXCEPTION_RESULT_CODE + + + + + + + + + +Constructor Summary + +Constructors + +Constructor and Description + + +DistributedLogConstants() + + + + + + + + + +Method Summary + + + + +Methods inherited from classjava.lang.http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">Object +http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone--; title="class or interface in java.lang">clone, http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-; title="class
[12/51] [partial] incubator-distributedlog git commit: [release 0.4.0-incubating] Add Java API docs
http://git-wip-us.apache.org/repos/asf/incubator-distributedlog/blob/1e6843e5/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/routing/ServerSetWatcher.html -- diff --git a/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/routing/ServerSetWatcher.html b/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/routing/ServerSetWatcher.html new file mode 100644 index 000..b44e2b1 --- /dev/null +++ b/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/routing/ServerSetWatcher.html @@ -0,0 +1,269 @@ +http://www.w3.org/TR/html4/loose.dtd;> + + + + + +ServerSetWatcher (Apache DistributedLog for Java, version 0.4.0-incubating) + + + + + + +var methods = {"i0":6}; +var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]}; +var altColor = "altColor"; +var rowColor = "rowColor"; +var tableTab = "tableTab"; +var activeTableTab = "activeTableTab"; + + +JavaScript is disabled on your browser. + + + + + +Skip navigation links + + + + +Overview +Package +Class +Use +Tree +Deprecated +Index +Help + + + + +PrevClass +NextClass + + +Frames +NoFrames + + +AllClasses + + + + + + + +Summary: +Nested| +Field| +Constr| +Method + + +Detail: +Field| +Constr| +Method + + + + + + + + +org.apache.distributedlog.client.routing +Interface ServerSetWatcher + + + + + + +All Known Implementing Classes: +TwitterServerSetWatcher + + + +public interface ServerSetWatcher +Watch on server set changes. + + + + + + + + + + + +Nested Class Summary + +Nested Classes + +Modifier and Type +Interface and Description + + +static class +ServerSetWatcher.MonitorException +Exception thrown when failed to monitor serverset. + + + +static interface +ServerSetWatcher.ServerSetMonitor +An interface to an object that is interested in receiving notification whenever the host set changes. + + + + + + + + + + +Method Summary + +All MethodsInstance MethodsAbstract Methods + +Modifier and Type +Method and Description + + +void +watch(ServerSetWatcher.ServerSetMonitormonitor) +Registers a monitor to receive change notices for this server set as long as this jvm process is alive. + + + + + + + + + + + + + + + + +Method Detail + + + + + +watch +voidwatch(ServerSetWatcher.ServerSetMonitormonitor) +throws ServerSetWatcher.MonitorException +Registers a monitor to receive change notices for this server set as long as this jvm process is alive. + + Blocks until the initial server set can be gathered and delivered to the monitor. + The monitor will be notified if the membership set or parameters of existing members have + changed. + +Parameters: +monitor - the server set monitor to call back when the host set changes +Throws: +ServerSetWatcher.MonitorException - if there is a problem monitoring the host set + + + + + + + + + + + + + + +Skip navigation links + + + + +Overview +Package +Class +Use +Tree +Deprecated +Index +Help + + + + +PrevClass +NextClass + + +Frames +NoFrames + + +AllClasses + + + + + + + +Summary: +Nested| +Field| +Constr| +Method + + +Detail: +Field| +Constr| +Method + + + + + + +Copyright 2016-2017 http://www.apache.org/;>The Apache Software Foundation. All Rights Reserved. + + http://git-wip-us.apache.org/repos/asf/incubator-distributedlog/blob/1e6843e5/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/routing/SingleHostRoutingService.Builder.html -- diff --git a/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/routing/SingleHostRoutingService.Builder.html b/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/routing/SingleHostRoutingService.Builder.html new file mode 100644 index 000..8244255 --- /dev/null +++ b/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/client/routing/SingleHostRoutingService.Builder.html @@ -0,0 +1,297 @@ +http://www.w3.org/TR/html4/loose.dtd;> + + + + + +SingleHostRoutingService.Builder (Apache DistributedLog for Java, version 0.4.0-incubating) + + + + + + + + +JavaScript is disabled on your browser. + + + + + +Skip navigation links + + + + +Overview +Package +Class +Use +Tree +Deprecated +Index +Help + + + + +PrevClass +NextClass + + +Frames +NoFrames + + +AllClasses + + + + + + + +Summary: +Nested| +Field| +Constr| +Method + + +Detail: +Field| +Constr| +Method + + + + + + + + +org.apache.distributedlog.exceptions +Class EndOfLogSegmentException + + + +http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">java.lang.Object + + +http://download.oracle.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true; title="class or interface in java.lang">java.lang.Throwable + + +http://download.oracle.com/javase/6/docs/api/java/lang/Exception.html?is-external=true; title="class or interface in java.lang">java.lang.Exception + + +http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true; title="class or interface in java.io">java.io.IOException + + +org.apache.distributedlog.exceptions.DLException + + +org.apache.distributedlog.exceptions.EndOfLogSegmentException + + + + + + + + + + + + + + + +All Implemented Interfaces: +http://download.oracle.com/javase/6/docs/api/java/io/Serializable.html?is-external=true; title="class or interface in java.io">Serializable + + + +public class EndOfLogSegmentException +extends DLException +Exception thrown when reach end of the log segment. + +See Also: +Serialized Form + + + + + + + + + + + + +Field Summary + + + + +Fields inherited from classorg.apache.distributedlog.exceptions.DLException +code + + + + + + + + +Constructor Summary + +Constructors + +Constructor and Description + + +EndOfLogSegmentException(http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringlogSegmentName) + + + + + + + + + +Method Summary + + + + +Methods inherited from classorg.apache.distributedlog.exceptions.DLException +getCode, of + + + + + +Methods inherited from classjava.lang.http://download.oracle.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true; title="class or interface in java.lang">Throwable +http://download.oracle.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true#addSuppressed-java.lang.Throwable-; title="class or interface in java.lang">addSuppressed, http://download.oracle.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true#fillInStackTrace--; title="class or interface in java.lang">fillInStackTrace, http://download.oracle.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true#getCause--; title="class or interface in java.lang">getCause, http://download.oracle.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true#getLocalizedMessage--; title="class or interface in java.lang">getLocalizedMessage, http://download.oracle.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true#getMessage--; title="class or interface in java.lang">getMessage, http://download.oracle.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true#getStackTrace- -" title="class or interface in java.lang">getStackTrace, http://download.oracle.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true#getSuppressed--; title="class or interface in java.lang">getSuppressed, http://download.oracle.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true#initCause-java.lang.Throwable-; title="class or interface in java.lang">initCause, http://download.oracle.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true#printStackTrace--; title="class or interface in java.lang">printStackTrace,
[26/51] [partial] incubator-distributedlog git commit: [release 0.4.0-incubating] Add Java API docs
http://git-wip-us.apache.org/repos/asf/incubator-distributedlog/blob/1e6843e5/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/class-use/LogSegmentMetadata.LogSegmentMetadataBuilder.html -- diff --git a/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/class-use/LogSegmentMetadata.LogSegmentMetadataBuilder.html b/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/class-use/LogSegmentMetadata.LogSegmentMetadataBuilder.html new file mode 100644 index 000..d3a0c9c --- /dev/null +++ b/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/class-use/LogSegmentMetadata.LogSegmentMetadataBuilder.html @@ -0,0 +1,203 @@ +http://www.w3.org/TR/html4/loose.dtd;> + + + + + +Uses of Class org.apache.distributedlog.LogSegmentMetadata.LogSegmentMetadataBuilder (Apache DistributedLog for Java, version 0.4.0-incubating) + + + + + + + + +JavaScript is disabled on your browser. + + + + + +Skip navigation links + + + + +Overview +Package +Class +Use +Tree +Deprecated +Index +Help + + + + +Prev +Next + + +Frames +NoFrames + + +AllClasses + + + + + + + + + + +Uses of Classorg.apache.distributedlog.LogSegmentMetadata.LogSegmentMetadataBuilder + + + + + +Packages that use LogSegmentMetadata.LogSegmentMetadataBuilder + +Package +Description + + + +org.apache.distributedlog + +Protocol & Core of DistributedLog + + + + + + + + + + +Uses of LogSegmentMetadata.LogSegmentMetadataBuilder in org.apache.distributedlog + +Subclasses of LogSegmentMetadata.LogSegmentMetadataBuilder in org.apache.distributedlog + +Modifier and Type +Class and Description + + + +static class +LogSegmentMetadata.Mutator +Mutator to mutate the metadata of a log segment. + + + + + +Methods in org.apache.distributedlog that return LogSegmentMetadata.LogSegmentMetadataBuilder + +Modifier and Type +Method and Description + + + +LogSegmentMetadata.LogSegmentMetadataBuilder +LogSegmentMetadata.LogSegmentMetadataBuilder.setCompletionTime(longcompletionTime) + + +LogSegmentMetadata.LogSegmentMetadataBuilder +LogSegmentMetadata.LogSegmentMetadataBuilder.setInprogress(booleaninprogress) + + +LogSegmentMetadata.LogSegmentMetadataBuilder +LogSegmentMetadata.LogSegmentMetadataBuilder.setLastEntryId(longlastEntryId) + + +LogSegmentMetadata.LogSegmentMetadataBuilder +LogSegmentMetadata.LogSegmentMetadataBuilder.setLastTxId(longlastTxId) + + +LogSegmentMetadata.LogSegmentMetadataBuilder +LogSegmentMetadata.LogSegmentMetadataBuilder.setRecordCount(intrecordCount) + + +LogSegmentMetadata.LogSegmentMetadataBuilder +LogSegmentMetadata.LogSegmentMetadataBuilder.setRecordCount(LogRecordrecord) + + + + + + + + + + + + +Skip navigation links + + + + +Overview +Package +Class +Use +Tree +Deprecated +Index +Help + + + + +Prev +Next + + +Frames +NoFrames + + +AllClasses + + + + + + + + + +Copyright 2016-2017 http://www.apache.org/;>The Apache Software Foundation. All Rights Reserved. + + http://git-wip-us.apache.org/repos/asf/incubator-distributedlog/blob/1e6843e5/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/class-use/LogSegmentMetadata.LogSegmentMetadataVersion.html -- diff --git a/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/class-use/LogSegmentMetadata.LogSegmentMetadataVersion.html b/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/class-use/LogSegmentMetadata.LogSegmentMetadataVersion.html new file mode 100644 index 000..63898a4 --- /dev/null +++ b/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/class-use/LogSegmentMetadata.LogSegmentMetadataVersion.html @@ -0,0 +1,235 @@ +http://www.w3.org/TR/html4/loose.dtd;> + + + + + +Uses of Class org.apache.distributedlog.LogSegmentMetadata.LogSegmentMetadataVersion (Apache DistributedLog for Java, version 0.4.0-incubating) + + + + + + -http://maven.apache.org/POM/4.0.0; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd;> +http://maven.apache.org/POM/4.0.0; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd;> 4.0.0 org.apache.distributedlog http://git-wip-us.apache.org/repos/asf/incubator-distributedlog/blob/3fe2d750/distributedlog-build-tools/pom.xml -- diff --git a/distributedlog-build-tools/pom.xml b/distributedlog-build-tools/pom.xml index 3c259a2..9517ef2 100644 --- a/distributedlog-build-tools/pom.xml +++ b/distributedlog-build-tools/pom.xml @@ -15,8 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. --> -http://maven.apache.org/POM/4.0.0; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd;> +http://maven.apache.org/POM/4.0.0; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd;> 4.0.0 org.apache.distributedlog http://git-wip-us.apache.org/repos/asf/incubator-distributedlog/blob/3fe2d750/distributedlog-client/pom.xml -- diff --git a/distributedlog-client/pom.xml b/distributedlog-client/pom.xml index d8cc4e5..5141a12 100644 --- a/distributedlog-client/pom.xml +++ b/distributedlog-client/pom.xml @@ -15,8 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. --> -http://maven.apache.org/POM/4.0.0; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd;> +http://maven.apache.org/POM/4.0.0; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd;> 4.0.0 org.apache.distributedlog http://git-wip-us.apache.org/repos/asf/incubator-distributedlog/blob/3fe2d750/distributedlog-core/pom.xml -- diff --git a/distributedlog-core/pom.xml b/distributedlog-core/pom.xml index b716720..64edaab 100644 --- a/distributedlog-core/pom.xml +++ b/distributedlog-core/pom.xml @@ -15,8 +15,7 @@ See the License for the specific language governing permissions and
[GitHub] incubator-distributedlog pull request #97: DL-170: All dependency versions s...
Github user asfgit closed the pull request at: https://github.com/apache/incubator-distributedlog/pull/97 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
[GitHub] incubator-distributedlog pull request #107: DL-180: added script to point to...
Github user asfgit closed the pull request at: https://github.com/apache/incubator-distributedlog/pull/107 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
[GitHub] incubator-distributedlog issue #105: DL-152: removed symlink distributedlog-...
Github user sijie commented on the issue: https://github.com/apache/incubator-distributedlog/pull/105 merged this pull request. thank you @adamtracymartin --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
[GitHub] incubator-distributedlog pull request #105: DL-152: removed symlink distribu...
Github user asfgit closed the pull request at: https://github.com/apache/incubator-distributedlog/pull/105 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
incubator-distributedlog git commit: DL-152: removed symlink distributedlog-service/conf and copied files from distributedlog-core/conf to distributed-service/conf
Repository: incubator-distributedlog Updated Branches: refs/heads/master 67b8b6541 -> e9c429ed5 DL-152: removed symlink distributedlog-service/conf and copied files from distributedlog-core/conf to distributed-service/conf â¦tributedlog-core/conf to distributedlog-service/conf Author: adamtracymartinReviewers: Sijie Guo Closes #105 from adamtracymartin/DL-152 Project: http://git-wip-us.apache.org/repos/asf/incubator-distributedlog/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-distributedlog/commit/e9c429ed Tree: http://git-wip-us.apache.org/repos/asf/incubator-distributedlog/tree/e9c429ed Diff: http://git-wip-us.apache.org/repos/asf/incubator-distributedlog/diff/e9c429ed Branch: refs/heads/master Commit: e9c429ed5e32ab8ebea280217401519ba51cc803 Parents: 67b8b65 Author: adamtracymartin Authored: Sun Jan 8 14:06:38 2017 -0800 Committer: Sijie Guo Committed: Sun Jan 8 14:06:38 2017 -0800 -- distributedlog-service/conf | 1 - .../conf/bookie.conf.template | 185 +++ distributedlog-service/conf/distributedlog.conf | 127 + distributedlog-service/conf/dlogenv.sh | 77 distributedlog-service/conf/log4j.properties| 62 +++ distributedlog-service/conf/write_proxy.conf| 145 +++ .../conf/zookeeper.conf.dynamic.template| 1 + .../conf/zookeeper.conf.template| 82 8 files changed, 679 insertions(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/incubator-distributedlog/blob/e9c429ed/distributedlog-service/conf -- diff --git a/distributedlog-service/conf b/distributedlog-service/conf deleted file mode 12 index 451c305..000 --- a/distributedlog-service/conf +++ /dev/null @@ -1 +0,0 @@ -../distributedlog-core/conf \ No newline at end of file diff --git a/distributedlog-service/conf/bookie.conf.template b/distributedlog-service/conf/bookie.conf.template new file mode 100644 index 000..3dacb94 --- /dev/null +++ b/distributedlog-service/conf/bookie.conf.template @@ -0,0 +1,185 @@ +#/** +# * Copyright 2007 The Apache Software Foundation +# * +# * Licensed to the Apache Software Foundation (ASF) under one +# * or more contributor license agreements. See the NOTICE file +# * distributed with this work for additional information +# * regarding copyright ownership. The ASF licenses this file +# * to you under the Apache License, Version 2.0 (the +# * "License"); you may not use this file except in compliance +# * with the License. You may obtain a copy of the License at +# * +# * http://www.apache.org/licenses/LICENSE-2.0 +# * +# * Unless required by applicable law or agreed to in writing, software +# * distributed under the License is distributed on an "AS IS" BASIS, +# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# * See the License for the specific language governing permissions and +# * limitations under the License. +# */ + +## Bookie settings + +# Port that bookie server listen on +bookiePort=3181 + +# TODO: change the journal directory +# Directory Bookkeeper outputs its write ahead log +journalDirectory=/tmp/data/bk/journal + +# TODO: change the ledgers directory +# Directory Bookkeeper outputs ledger snapshots +ledgerDirectories=/tmp/data/bk/ledgers + +# TODO: change the index directory +# Directory in which index files will be stored. +indexDirectories=/tmp/data/bk/ledgers + +# Ledger Manager Class +# What kind of ledger manager is used to manage how ledgers are stored, managed +# and garbage collected. Try to read 'BookKeeper Internals' for detail info. +ledgerManagerType=hierarchical + +# Root zookeeper path to store ledger metadata +# This parameter is used by zookeeper-based ledger manager as a root znode to +# store all ledgers. +zkLedgersRootPath=/messaging/bookkeeper/ledgers + +# Max file size of entry logger, in bytes +# A new entry log file will be created when the old one reaches the file size limitation +logSizeLimit=1073741823 + +# Max file size of journal file, in mega bytes +# A new journal file will be created when the old one reaches the file size limitation +# +journalMaxSizeMB=2048 + +# Max number of old journal file to kept +# Keep a number of old journal files would help data recovery in specia case +# +journalMaxBackups=5 + +# How long the interval to trigger next garbage collection, in milliseconds +# Since garbage collection is running in background, too frequent gc +# will heart performance. It is better to give a higher number of gc +# interval if there is enough disk capacity. +# gc per 1 hour (aligning with most DL rolling interval) +gcInitialWaitTime=60
[GitHub] incubator-distributedlog pull request #100: DL-28: changed // comments to /*...
Github user asfgit closed the pull request at: https://github.com/apache/incubator-distributedlog/pull/100 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
incubator-distributedlog git commit: DL-28: changed // comments to /* */
Repository: incubator-distributedlog Updated Branches: refs/heads/master 042032a3a -> 67b8b6541 DL-28: changed // comments to /* */ Author: adamtracymartinReviewers: Sijie Guo Closes #100 from adamtracymartin/DL-28 Project: http://git-wip-us.apache.org/repos/asf/incubator-distributedlog/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-distributedlog/commit/67b8b654 Tree: http://git-wip-us.apache.org/repos/asf/incubator-distributedlog/tree/67b8b654 Diff: http://git-wip-us.apache.org/repos/asf/incubator-distributedlog/diff/67b8b654 Branch: refs/heads/master Commit: 67b8b654167532f5ce22e21378d5bdad16f35c55 Parents: 042032a Author: adamtracymartin Authored: Sun Jan 8 14:03:13 2017 -0800 Committer: Sijie Guo Committed: Sun Jan 8 14:03:13 2017 -0800 -- distributedlog-protocol/src/main/thrift/service.thrift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- http://git-wip-us.apache.org/repos/asf/incubator-distributedlog/blob/67b8b654/distributedlog-protocol/src/main/thrift/service.thrift -- diff --git a/distributedlog-protocol/src/main/thrift/service.thrift b/distributedlog-protocol/src/main/thrift/service.thrift index fa318e1..45e1449 100644 --- a/distributedlog-protocol/src/main/thrift/service.thrift +++ b/distributedlog-protocol/src/main/thrift/service.thrift @@ -96,9 +96,9 @@ enum StatusCode { TOO_MANY_STREAMS = 524, /* Log Segment Not Found */ LOG_SEGMENT_NOT_FOUND = 525, -// End of Log Segment +/* End of Log Segment */ END_OF_LOG_SEGMENT = 526, -// Log Segment Is Truncated +/* Log Segment Is Truncated */ LOG_SEGMENT_IS_TRUNCATED = 527, /* 6xx: unexpected */
[GitHub] incubator-distributedlog pull request #96: DL-83: Add javadoc to website
Github user asfgit closed the pull request at: https://github.com/apache/incubator-distributedlog/pull/96 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
incubator-distributedlog git commit: DL-83: Add javadoc to website
Repository: incubator-distributedlog Updated Branches: refs/heads/master 1bb44e776 -> 042032a3a DL-83: Add javadoc to website - update the javadoc plugin to aggregate api by 'core library' and 'proxy service'. (turn some java class to package private and delete unused files. so they won't appear in java doc) - improve the website build script to include javadoc - update some readme files to include user mail list and slack channel Author: Sijie GuoAuthor: Sijie Guo Reviewers: Leigh Stewart Closes #96 from sijie/sijie/merge_website_script Project: http://git-wip-us.apache.org/repos/asf/incubator-distributedlog/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-distributedlog/commit/042032a3 Tree: http://git-wip-us.apache.org/repos/asf/incubator-distributedlog/tree/042032a3 Diff: http://git-wip-us.apache.org/repos/asf/incubator-distributedlog/diff/042032a3 Branch: refs/heads/master Commit: 042032a3a79ed922bcb1c61c79b11cceacef8632 Parents: 1bb44e7 Author: Sijie Guo Authored: Sun Jan 8 14:01:35 2017 -0800 Committer: Sijie Guo Committed: Sun Jan 8 14:01:35 2017 -0800 -- README.md | 6 +- .../subscription/package-info.java | 21 +++ .../apache/distributedlog/BKAsyncLogWriter.java | 2 +- .../org/apache/distributedlog/BKLogHandler.java | 2 +- .../distributedlog/DistributedLogConstants.java | 3 + .../org/apache/distributedlog/EntryBuffer.java | 2 +- .../apache/distributedlog/EnvelopedEntry.java | 2 +- .../distributedlog/LedgerReadPosition.java | 171 --- .../org/apache/distributedlog/LogReader.java| 8 +- .../distributedlog/ReadAheadEntryReader.java| 2 +- .../org/apache/distributedlog/WriteLimiter.java | 2 +- .../org/apache/distributedlog/RecordStream.java | 2 +- .../service/stream/HeartbeatOp.java | 5 +- docs/_config-local.yml | 2 +- docs/_includes/header.html | 7 + docs/user_guide/api/main.rst| 4 + pom.xml | 13 +- scripts/dev/build-website.sh| 97 +++ website/Gemfile | 2 +- website/Gemfile.lock| 2 +- website/_config-local.yml | 2 +- website/_config-production.yml | 2 +- website/_config.yml | 4 + website/_includes/header.html | 8 +- website/build.sh| 79 - website/community/community.md | 8 + website/faq.md | 2 +- website/index.md| 16 +- 28 files changed, 265 insertions(+), 211 deletions(-) -- http://git-wip-us.apache.org/repos/asf/incubator-distributedlog/blob/042032a3/README.md -- diff --git a/README.md b/README.md index 3c68ba9..6f8f7df 100644 --- a/README.md +++ b/README.md @@ -85,7 +85,11 @@ For filing bugs, suggesting improvements, or requesting new features, help us ou ### Need Help? -[Subscribe](mailto:dev-subscr...@distributedlog.incubator.apache.org) or [mail](mailto:dev@distributedlog.incubator.apache.org) the [dev@distributedlog.incubator.apache.org](mailto:dev@distributedlog.incubator.apache.org) list - Ask questions, find answers, join developement discussions and also help other users. +[Subscribe](mailto:user-subscr...@distributedlog.incubator.apache.org) or [mail](mailto:u...@distributedlog.incubator.apache.org) the [u...@distributedlog.incubator.apache.org](mailto:u...@distributedlog.incubator.apache.org) list - Ask questions, find answers, and also help other users. + +[Subscribe](mailto:dev-subscr...@distributedlog.incubator.apache.org) or [mail](mailto:dev@distributedlog.incubator.apache.org) the [dev@distributedlog.incubator.apache.org](mailto:dev@distributedlog.incubator.apache.org) list - Join developement discussions, propose new ideas and connect with contributors. + +[Join us on Slack](https://getdl-slack.herokuapp.com/) - This is the most immediate way to connect with DistributedLog committers and contributors. ## Contributing http://git-wip-us.apache.org/repos/asf/incubator-distributedlog/blob/042032a3/distributedlog-core/src/main/java/com/twitter/distributedlog/subscription/package-info.java -- diff --git a/distributedlog-core/src/main/java/com/twitter/distributedlog/subscription/package-info.java b/distributedlog-core/src/main/java/com/twitter/distributedlog/subscription/package-info.java new file mode