You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by st...@apache.org on 2011/05/24 06:33:00 UTC

svn commit: r1126863 - /hbase/trunk/src/main/java/org/apache/hadoop/hbase/io/WritableDelayed.java

Author: stack
Date: Tue May 24 04:32:59 2011
New Revision: 1126863

URL: http://svn.apache.org/viewvc?rev=1126863&view=rev
Log:
HBASE-3899 HBase RPC to support free-ing up server handler threads even if response is not ready -- fix double application of WritableDelayed

Modified:
    hbase/trunk/src/main/java/org/apache/hadoop/hbase/io/WritableDelayed.java

Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/io/WritableDelayed.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/io/WritableDelayed.java?rev=1126863&r1=1126862&r2=1126863&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/io/WritableDelayed.java (original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/io/WritableDelayed.java Tue May 24 04:32:59 2011
@@ -31,36 +31,3 @@ public interface WritableDelayed {
    */
   public boolean isDelayed();
 }
-/*
- * Copyright 2010 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.
- */
-
-package org.apache.hadoop.hbase.io;
-
-/**
- * An optional interface to indicate the the values are not immediately
- * readable.
- */
-public interface WritableDelayed {
-  /**
-   * Provide a hint to the caller to indicate that
-   * data is not ready yet.
-   */
-  public boolean isDelayed();
-}