Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B5232D6F4 for ; Tue, 11 Sep 2012 02:01:08 +0000 (UTC) Received: (qmail 163 invoked by uid 500); 11 Sep 2012 02:01:07 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 129 invoked by uid 500); 11 Sep 2012 02:01:07 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 99935 invoked by uid 99); 11 Sep 2012 02:01:07 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Sep 2012 02:01:07 +0000 Date: Tue, 11 Sep 2012 13:01:07 +1100 (NCT) From: "Aleksey Yeschenko (JIRA)" To: commits@cassandra.apache.org Message-ID: <36971049.61332.1347328867778.JavaMail.jiratomcat@arcas> In-Reply-To: <709899561.7680.1344956258239.JavaMail.jiratomcat@arcas> Subject: [jira] [Updated] (CASSANDRA-4541) Replace Throttle with Guava's RateLimiter MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-4541?page=3Dcom.atla= ssian.jira.plugin.system.issuetabpanels:all-tabpanel ] Aleksey Yeschenko updated CASSANDRA-4541: ----------------------------------------- Attachment: CASSANDRA-4541.patch =20 > Replace Throttle with Guava's RateLimiter > ----------------------------------------- > > Key: CASSANDRA-4541 > URL: https://issues.apache.org/jira/browse/CASSANDRA-4541 > Project: Cassandra > Issue Type: Improvement > Components: Core > Reporter: Micha=C3=ABl Figui=C3=A8re > Assignee: Aleksey Yeschenko > Priority: Minor > Attachments: CASSANDRA-4541.patch > > > Guava 13 introduced {{RateLimiter}} [1] which should be a good replacemen= t for {{o.a.c.utils.Throttle}} that is used in Compaction and Streaming as = a throughput limiter. > [1] [http://code.google.com/p/guava-libraries/source/browse/guava/src/com= /google/common/util/concurrent/RateLimiter.java] -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs For more information on JIRA, see: http://www.atlassian.com/software/jira