Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-17221

Abstract out an interface for RpcServer.Call

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0
    • None
    • None
    • Incompatible change, Reviewed
    • Hide
      Provide an interface RpcCall on the server side.
      RpcServer.Call now is marked as @InterfaceAudience.Private, and implements the interface RpcCall,
      Show
      Provide an interface RpcCall on the server side. RpcServer.Call now is marked as @InterfaceAudience.Private, and implements the interface RpcCall,

    Description

      RpcServer.Call is a concrete class, but it is marked as:

      @InterfaceAudience.LimitedPrivate({HBaseInterfaceAudience.COPROC, HBaseInterfaceAudience.PHOENIX})
      

      Let's abstract out an interface out of it for potential consumers that want to pass it around.

      Attachments

        1. HBASE-17221-v4.patch
          34 kB
          Jerry He
        2. HBASE-17221-v3.patch
          31 kB
          Jerry He
        3. HBASE-17221-v2.patch
          31 kB
          Jerry He
        4. HBASE-17221.patch
          9 kB
          Jerry He

        Activity

          People

            jinghe Jerry He
            jinghe Jerry He
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: