Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 9CEBC200B8F for ; Fri, 16 Sep 2016 00:39:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 99D17160ADB; Thu, 15 Sep 2016 22:39:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id CDCB7160AC6 for ; Fri, 16 Sep 2016 00:39:21 +0200 (CEST) Received: (qmail 10857 invoked by uid 500); 15 Sep 2016 22:39:20 -0000 Mailing-List: contact dev-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list dev@hbase.apache.org Received: (qmail 10835 invoked by uid 99); 15 Sep 2016 22:39:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Sep 2016 22:39:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 8F38E2C014D for ; Thu, 15 Sep 2016 22:39:20 +0000 (UTC) Date: Thu, 15 Sep 2016 22:39:20 +0000 (UTC) From: "Ted Yu (JIRA)" To: dev@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HBASE-16640) TimeoutBlockingQueue#remove() should return whether the entry is removed MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 15 Sep 2016 22:39:22 -0000 Ted Yu created HBASE-16640: ------------------------------ Summary: TimeoutBlockingQueue#remove() should return whether the entry is removed Key: HBASE-16640 URL: https://issues.apache.org/jira/browse/HBASE-16640 Project: HBase Issue Type: Improvement Reporter: Ted Yu Assignee: Ted Yu Priority: Minor Currently return type of TimeoutBlockingQueue#remove() is void. The caller has no way of knowing whether the entry is really removed. This issue changes the return type to boolean. True is returned when entry is removed, false is returned otherwise. The change was proposed first in HBASE-16639. -- This message was sent by Atlassian JIRA (v6.3.4#6332)